File tree Expand file tree Collapse file tree 1 file changed +0
-32
lines changed
Expand file tree Collapse file tree 1 file changed +0
-32
lines changed Original file line number Diff line number Diff line change @@ -125,14 +125,6 @@ <h3>
125125 </ div >
126126
127127
128- < div class ="image-grid " style ='display:none '>
129- < figure >
130- < img src ="/images/tmp/image1.jpg ">
131- < figcaption > Caption text 1</ figcaption >
132- </ figure >
133- </ div >
134-
135-
136128 </ body >
137129
138130
281273
282274 loop ( 0 ) ;
283275
284- easteregg ( ) ;
285276
286277 } //start
287278
@@ -292,29 +283,6 @@ <h3>
292283
293284
294285
295- function easteregg ( ) {
296-
297- var img = new Image ( 50 , 50 ) ;
298- img . src = 'https://javascript-2020.github.io/storage/images/snowflake1.png' ;
299- img . style . cssText = 'position:absolute;bottom:50px;right:50px;z-index:99' ;
300- img . tabIndex = 0 ;
301- img . onclick = show ;
302-
303- document . body . append ( img ) ;
304-
305-
306- function show ( e ) {
307-
308- e . stopPropagation ( ) ;
309- window . open ( 'https://javascript-2020.github.io/images/image-1.jpg' ) ;
310-
311- } //click
312-
313- } //easteregg
314-
315-
316-
317-
318286 function resize ( ) {
319287
320288 width = window . innerWidth ;
You can’t perform that action at this time.
0 commit comments