Tip: you can modify some code before running
<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>Flying bubbles</title></head><body> <SCRIPT language=JavaScript>Function MM_reloadPage (init) {if (init = true) with (navigator) {if (appName = "Netscape") & (parseInt (appVersion) = 4 )) {document. MM_pgW = innerWidth; document. MM_pgH = innerHeight; onresize = MM_reloadPage ;}} else if (innerWidth! = Document. MM_pgW | innerHeight! = Document. MM_pgH) location. reload ();} MM_reloadPage (true); function MM_findObj (n, d) {var p, I, x; if (! D) d = document; if (p = n. indexOf ("? ")> 0 & parent. frames. length) {d?parent.frames=n.substring(p=1}}.doc ument; n = n. substring (0, p);} if (! (X = d [n]) & d. all) x = d. all [n]; for (I = 0 ;! X & I<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && document.getElementById) x=document.getElementById(n); return x;}function MM_showHideLayers() { var i,p,v,obj,args=MM_showHideLayers.arguments; for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2]; if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; } obj.visibility=v; }}function MM_checkPlugin(plgIn, theURL, altURL, autoGo) { var ok=false; document.MM_returnValue = false; with (navigator) if (appName.indexOf('Microsoft')==-1 || (plugins && plugins.length)) { ok=(plugins && plugins[plgIn]); } else if (appVersion.indexOf('3.1')==-1) { if (plgIn.indexOf("Flash")!=-1 && window.MM_flash!=null) ok=window.MM_flash; else if (plgIn.indexOf("Director")!=-1 && window.MM_dir!=null) ok=window.MM_dir; else ok=autoGo; } if (!ok) theURL=altURL; if (theURL) window.location=theURL;}</sCRIPT><SCRIPT language=JavaScript>Var url = "#" var no = 3; var speed = 20; var snow = new Array (); snow [0] = "images/images" snow [1] = "images/pao_6699cc.gif" snow [2] = "images/pao_99ccff.gif" snow [3] = "images/pao_3366ff.gif" var ns4up = (document. layers )? 1: 0; var ie4up = (document. all )? 1: 0; var ns6up = (document. getElementById &&! Document. all )? 1: 0; var dx, xp, yp; var am, stx, sty; var I, doc_width = 100, doc_height = 1800; if (ns4up | ns6up) {doc_width = 100; doc_height = self. innerHeight;} else if (ie4up) {doc_width = 100; doc_height = document. body. clientHeight;} dx = new Array (); xp = new Array (); yp = new Array (); am = new Array (); stx = new Array (); sty = new Array (); j = 0; for (I = 0; I <no; ++ I) {dx [I] = 0; xp [I] = Math. random () * 50; yp [I] = Math. random () * doc_height; am [I] = Math. random () * 20; stx [I] = 0.02 + Math. random ()/10; sty [I] = 0.7 + Math. random (); tag = j + 1; if (ns4up) {document. write ("<layer name="dot"+ i +"" left="15" top="15" visibility="show" z-index=""+ i + "">"+"</layer></layer>");} Else if (ie4up | ns6up) {document. write ("<div id="dot"+ i +"" + i +"VISIBILITY: visible; TOP: 15px; LEFT: 15px; width:1;">"+"</div></div>");} If (j = (snow. length-1) {j = 0;} else {j + = 1 ;}} function snowNS () {for (I = 0; I <no; ++ I) {yp [I]-= sty [I]; if (yp [I] <-50) {xp [I] = Math. random () * (doc_width-am [I]-30); yp [I] = doc_height; stx [I] = 0.02 + Math. random ()/10; sty [I] = 0.7 + Math. random (); doc_width = 100; doc_height = self. innerHeight;} dx [I] + = stx [I]; document. layers ["dot" + I]. top = yp [I]; document. layers ["dot" + I] . Left = xp [I] + am [I] * Math. sin (dx [I]);} setTimeout ("snowNS ()", speed);} function snowIE_NS6 () {for (I = 0; I <no; ++ I) {yp [I]-= sty [I]; if (yp [I] <-50) {xp [I] = Math. random () * (doc_width-am [I]-30); yp [I] = doc_height; stx [I] = 0.02 + Math. random ()/10; sty [I] = 0.7 + Math. random (); doc_width = ns6up? 100:100; doc_height = ns6up? Window. innerHeight-5: document. body. clientHeight;} dx [I] + = stx [I]; if (ie4up) {document. all ["dot" + I]. style. pixelTop = yp [I]; document. all ["dot" + I]. style. pixelLeft = xp [I] + am [I] * Math. sin (dx [I]);} else if (ns6up) {document. getElementById ("dot" + I ). style. top = yp [I]; document. getElementById ("dot" + I ). style. left = xp [I] + am [I] * Math. sin (dx [I]) ;}} setTimeout ("snowIE_NS6 ()", speed) ;}if (ns4up) {snowNS () ;}else if (ie4up | ns6up) {snowIE_NS6 ();}</sCRIPT></body></html>
Tip: you can modify some code before running