?? 0040.htm
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><!-- saved from url=(0032)http://www.ie-zone.com/index.php --><HTML><!-- #BeginTemplate "/Templates/JsExample.dwt" --><HEAD><!-- #BeginEditable "doctitle" --> <TITLE>花炮效果 Ⅱ</TITLE><!-- #EndEditable --><META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK href="../fav.ico" rel="shortcut icon"><STYLE type=text/css>BODY { MARGIN: 25px 25px 25px}#all TD { FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: "Verdana", "Arial","新宋體", "宋體"}INPUT { FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: "Verdana", "Arial","新宋體", "宋體"}SELECT { FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: "Verdana", "Arial","新宋體", "宋體"}P { FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: "Verdana", "Arial","新宋體", "宋體"}TEXTAREA { FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: "Verdana", "Arial","新宋體", "宋體"}#all A:active { COLOR: #7d070c}#all A:visited { COLOR: #7d070c}#all A:hover { COLOR: #336699}#all A:link { COLOR: #7d070c}</STYLE><SCRIPT language=JavaScript><!--function MM_goToURL() { //v3.0 var i, args=MM_goToURL.arguments; document.MM_returnValue = false; for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");}function JM_cc(ob){ob.select();js=ob.createTextRange();js.execCommand("Copy");}//--></SCRIPT><META content="MSHTML 5.50.4134.600" name=GENERATOR></HEAD><BODY id=all text=#000000 bgColor=#336699><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0> <TR bgColor=#ffffff> <TD><IMG src="../images/sq_1.gif" width=11 height="14"></TD> <TD width="100%"></TD> <TD><IMG src="../images/sq_2.gif" width=11 height="14"></TD> </TR></TABLE><!-- #BeginEditable "Example%20and%20Sources" --> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0> <TR bgColor=#ffffff> <TD><IMG src="../images/space.gif" width=11 height="1"></TD> <TD width="100%"> <table width="100%" border="0" cellpadding="8"> <tr> <td align="center"><!-- #BeginLibraryItem "/Library/js_title.lbi" --><script language="JavaScript">document.write("<font color=#7d070c style=\"font-size: 14px\">"+document.title+"</font>");</script><!-- #EndLibraryItem --></td> </tr> <tr> <td bgcolor="#f7f7f7"> <div id="sDiv0"></div> <div id="sDiv6"></div> <layer name="a0" left=10 top=10 visibility=show bgcolor="#ffffff" clip="0,0,1,1"></layer> <layer name="a1" left=10 top=10 visibility=show bgcolor="#fff000" clip="0,0,1,1"></layer> <layer name="a2" left=10 top=10 visibility=show bgcolor="#ffa000" clip="0,0,1,1"></layer> <layer name="a3" left=10 top=10 visibility=show bgcolor="#ff00ff" clip="0,0,1,1"></layer> <layer name="a4" left=10 top=10 visibility=show bgcolor="#00ff00" clip="0,0,1,1"></layer> <layer name="a5" left=10 top=10 visibility=show bgcolor="#ff00ff" clip="0,0,1,1"></layer> <layer name="a6" left=10 top=10 visibility=show bgcolor="#ff0000" clip="0,0,1,1"></layer> <layer name="a7" left=10 top=10 visibility=show bgcolor="#ffffff" clip="0,0,1,1"></layer> <layer name="a8" left=10 top=10 visibility=show bgcolor="#fff000" clip="0,0,1,1"></layer> <layer name="a9" left=10 top=10 visibility=show bgcolor="#ffa000" clip="0,0,1,1"></layer> <layer name="a10" left=10 top=10 visibility=show bgcolor="#ff00ff" clip="0,0,1,1"></layer> <layer name="a11" left=10 top=10 visibility=show bgcolor="#00ff00" clip="0,0,2,2"></layer> <layer name="a12" left=10 top=10 visibility=show bgcolor="#0000ff" clip="0,0,2,2"></layer> <layer name="a13" left=10 top=10 visibility=show bgcolor="#ff0000" clip="0,0,2,2"></layer> <script language="JavaScript">/*Document firework script (By Kurt Gregg, kurt.grigg@virgin.net)Modified granted to Dynamic Drive to feature script in archiveFor full source and 100's more DHTML scripts, visit http://dynamicdrive.com*/if (document.all)with(document){write('<div id="starsDiv" style="position:absolute;top:0px;left:0px">')write('<div style="position:relative;width:2px;height:2px;background:#ffffff;font-size:2px"></div>')write('<div style="position:relative;width:1px;height:1px;background:#fff000;font-size:1px"></div>')write('<div style="position:relative;width:1px;height:1px;background:#ffa000;font-size:1px"></div>')write('<div style="position:relative;width:1px;height:1px;background:#ff00ff;font-size:1px"></div>')write('<div style="position:relative;width:1px;height:1px;background:#00ff00;font-size:1px"></div>')write('<div style="position:relative;width:1px;height:1px;background:#0000ff;font-size:1px"></div>')write('<div style="position:relative;width:1px;height:1px;background:#FF0000;font-size:1px"></div>')write('<div style="position:relative;width:1px;height:1px;background:#ffffff;font-size:1px"></div>')write('<div style="position:relative;width:1px;height:1px;background:#fff000;font-size:1px"></div>')write('<div style="position:relative;width:1px;height:1px;background:#ffa000;font-size:1px"></div>')write('<div style="position:relative;width:1px;height:1px;background:#ff00ff;font-size:1px"></div>')write('<div style="position:relative;width:2px;height:2px;background:#ff00ff;font-size:2px"></div>')write('<div style="position:relative;width:1px;height:1px;background:#0000ff;font-size:1px"></div>')write('<div style="position:relative;width:1px;height:1px;background:#FF0000;font-size:1px"></div>')write('</div>')}var Clrs=new Array(9)Clrs[0]='ff0000';Clrs[1]='00ff00';Clrs[2]='000aff';Clrs[3]='ff00ff';Clrs[4]='ffa500';Clrs[5]='ffff00';Clrs[6]='00ff00';Clrs[7]='ffffff';Clrs[8]='fffff0';var sClrs=new Array(5)sClrs[0]='ffa500';sClrs[1]='55ff66';sClrs[2]='AC9DFC';sClrs[3]='fff000';sClrs[4]='fffff0';var yBase;var xBase;var step;var currStep = 0;var Xpos = 1;var Ypos = 1;var initialStarColor='ffa000';var Mtop=250;var Mleft=250;function Fireworks() {if (document.all){yBase = window.document.body.offsetHeight/3;xBase = window.document.body.offsetWidth/8;}else if (document.layers){yBase = window.innerHeight/3;xBase = window.innerWidth/8;}if (document.all){step=5;for ( i = 0 ; i < starsDiv.all.length ; i++ ){for (ai=0; ai < Clrs.length; ai++){var c=Math.round(Math.random()*[ai]);}if (currStep < 90)starsDiv.all[i].style.background=initialStarColor;if (currStep > 90)starsDiv.all[i].style.background=Clrs[c];starsDiv.all[i].style.top = Mtop + yBase*Math.sin((currStep+i*5)/3)*Math.sin(550+currStep/100)starsDiv.all[i].style.left = Mleft + yBase*Math.cos((currStep+i*5)/3)*Math.sin(550+currStep/100)}}else if (document.layers){step = 5;for ( j = 0 ; j < 14 ; j++ ) //number of NS layers!{var templayer="a"+jfor (ai=0; ai < Clrs.length; ai++){var c=Math.round(Math.random()*[ai]);}if (currStep < 90)document.layers[templayer].bgColor=initialStarColor;if (currStep > 90)document.layers[templayer].bgColor=Clrs[c];document.layers[templayer].top = Mtop + yBase*Math.sin((currStep+j*5)/3)*Math.sin(550+currStep/100)document.layers[templayer].left = Mleft + yBase*Math.cos((currStep+j*5)/3)*Math.sin(550+currStep/100)}}currStep+= step;//window.status=currStep;T=setTimeout("Fireworks()",5);if (currStep==220){currStep=-10;for (n=0; n < sClrs.length; n++){var k=Math.round(Math.random()*n);}initialStarColor=sClrs[k];if (document.all){Dtop=window.document.body.clientHeight-250;Dleft=xBase*3.5;Mtop=Math.round(Math.random()*Dtop);Mleft=Math.round(Math.random()*Dleft);document.all.starsDiv.style.top=Mtop+document.body.scrollTop;document.all.starsDiv.style.left=Mleft+document.body.scrollLeft;}else if (document.layers){Dleft=window.innerWidth-100;Dtop=window.innerHeight-100;Mtop=Math.round(Math.random()*Dtop+window.pageYOffset);Mleft=Math.round(Math.random()*Dleft+window.pageXOffset);document.layers[templayer].top=Mtop;document.layers[templayer].left=Mleft;}if ((Mtop < 20) || (Mleft < 20)){Mtop+=90;Mleft+=90;} }}if (document.all||document.layers)Fireworks();</script> 提示:好漂亮的煙花?。∪绻尘吧呛谏透昧?。</td> </tr> <tr> <td>1.將下面的代碼復制到 <body> 內 <input type="button" name="Button" value="復制到我的剪貼板" onClick=JM_cc(js_1)> <br> <textarea name="js_1" wrap="VIRTUAL" cols="80" rows="10"><layer name="a0" left=10 top=10 visibility=show bgcolor="#ffffff" clip="0,0,1,1"></layer><layer name="a1" left=10 top=10 visibility=show bgcolor="#fff000" clip="0,0,1,1"></layer><layer name="a2" left=10 top=10 visibility=show bgcolor="#ffa000" clip="0,0,1,1"></layer><layer name="a3" left=10 top=10 visibility=show bgcolor="#ff00ff" clip="0,0,1,1"></layer><layer name="a4" left=10 top=10 visibility=show bgcolor="#00ff00" clip="0,0,1,1"></layer><layer name="a5" left=10 top=10 visibility=show bgcolor="#ff00ff" clip="0,0,1,1"></layer><layer name="a6" left=10 top=10 visibility=show bgcolor="#ff0000" clip="0,0,1,1"></layer><layer name="a7" left=10 top=10 visibility=show bgcolor="#ffffff" clip="0,0,1,1"></layer><layer name="a8" left=10 top=10 visibility=show bgcolor="#fff000" clip="0,0,1,1"></layer><layer name="a9" left=10 top=10 visibility=show bgcolor="#ffa000" clip="0,0,1,1"></layer><layer name="a10" left=10 top=10 visibility=show bgcolor="#ff00ff" clip="0,0,1,1"></layer><layer name="a11" left=10 top=10 visibility=show bgcolor="#00ff00" clip="0,0,2,2"></layer><layer name="a12" left=10 top=10 visibility=show bgcolor="#0000ff" clip="0,0,2,2"></layer><layer name="a13" left=10 top=10 visibility=show bgcolor="#ff0000" clip="0,0,2,2"></layer><script language="JavaScript">/*Document firework script (By Kurt Gregg, kurt.grigg@virgin.net)Modified granted to Dynamic Drive to feature script in archiveFor full source and 100's more DHTML scripts, visit http://dynamicdrive.com*/if (document.all)with(document){write('<div id="starsDiv" style="position:absolute;top:0px;left:0px">')write('<div style="position:relative;width:2px;height:2px;background:#ffffff;font-size:2px"></div>')write('<div style="position:relative;width:1px;height:1px;background:#fff000;font-size:1px"></div>')write('<div style="position:relative;width:1px;height:1px;background:#ffa000;font-size:1px"></div>')write('<div style="position:relative;width:1px;height:1px;background:#ff00ff;font-size:1px"></div>')write('<div style="position:relative;width:1px;height:1px;background:#00ff00;font-size:1px"></div>')write('<div style="position:relative;width:1px;height:1px;background:#0000ff;font-size:1px"></div>')write('<div style="position:relative;width:1px;height:1px;background:#FF0000;font-size:1px"></div>')write('<div style="position:relative;width:1px;height:1px;background:#ffffff;font-size:1px"></div>')write('<div style="position:relative;width:1px;height:1px;background:#fff000;font-size:1px"></div>')write('<div style="position:relative;width:1px;height:1px;background:#ffa000;font-size:1px"></div>')write('<div style="position:relative;width:1px;height:1px;background:#ff00ff;font-size:1px"></div>')write('<div style="position:relative;width:2px;height:2px;background:#ff00ff;font-size:2px"></div>')write('<div style="position:relative;width:1px;height:1px;background:#0000ff;font-size:1px"></div>')write('<div style="position:relative;width:1px;height:1px;background:#FF0000;font-size:1px"></div>')write('</div>')}var Clrs=new Array(9)Clrs[0]='ff0000';Clrs[1]='00ff00';Clrs[2]='000aff';Clrs[3]='ff00ff';Clrs[4]='ffa500';Clrs[5]='ffff00';Clrs[6]='00ff00';Clrs[7]='ffffff';Clrs[8]='fffff0';var sClrs=new Array(5)sClrs[0]='ffa500';sClrs[1]='55ff66';sClrs[2]='AC9DFC';sClrs[3]='fff000';sClrs[4]='fffff0';var yBase;var xBase;var step;var currStep = 0;var Xpos = 1;var Ypos = 1;var initialStarColor='ffa000';var Mtop=250;var Mleft=250;function Fireworks() {if (document.all){yBase = window.document.body.offsetHeight/3;xBase = window.document.body.offsetWidth/8;}else if (document.layers){yBase = window.innerHeight/3;xBase = window.innerWidth/8;}if (document.all){step=5;for ( i = 0 ; i < starsDiv.all.length ; i++ ){for (ai=0; ai < Clrs.length; ai++){var c=Math.round(Math.random()*[ai]);}if (currStep < 90)starsDiv.all[i].style.background=initialStarColor;if (currStep > 90)starsDiv.all[i].style.background=Clrs[c];starsDiv.all[i].style.top = Mtop + yBase*Math.sin((currStep+i*5)/3)*Math.sin(550+currStep/100)starsDiv.all[i].style.left = Mleft + yBase*Math.cos((currStep+i*5)/3)*Math.sin(550+currStep/100)}}else if (document.layers){step = 5;for ( j = 0 ; j < 14 ; j++ ) //number of NS layers!{var templayer="a"+jfor (ai=0; ai < Clrs.length; ai++){var c=Math.round(Math.random()*[ai]);}if (currStep < 90)document.layers[templayer].bgColor=initialStarColor;if (currStep > 90)document.layers[templayer].bgColor=Clrs[c];document.layers[templayer].top = Mtop + yBase*Math.sin((currStep+j*5)/3)*Math.sin(550+currStep/100)document.layers[templayer].left = Mleft + yBase*Math.cos((currStep+j*5)/3)*Math.sin(550+currStep/100)}}currStep+= step;//window.status=currStep;T=setTimeout("Fireworks()",5);if (currStep==220){currStep=-10;for (n=0; n < sClrs.length; n++){var k=Math.round(Math.random()*n);}initialStarColor=sClrs[k];if (document.all){Dtop=window.document.body.clientHeight-250;Dleft=xBase*3.5;Mtop=Math.round(Math.random()*Dtop);Mleft=Math.round(Math.random()*Dleft);document.all.starsDiv.style.top=Mtop+document.body.scrollTop;document.all.starsDiv.style.left=Mleft+document.body.scrollLeft;}else if (document.layers){Dleft=window.innerWidth-100;Dtop=window.innerHeight-100;Mtop=Math.round(Math.random()*Dtop+window.pageYOffset);Mleft=Math.round(Math.random()*Dleft+window.pageXOffset);document.layers[templayer].top=Mtop;document.layers[templayer].left=Mleft;}if ((Mtop < 20) || (Mleft < 20)){Mtop+=90;Mleft+=90;} }}if (document.all||document.layers)Fireworks();</script></textarea> <br> <br> </td> </tr> </table> </TD> <TD><IMG src="../images/space.gif" width=11 height="1"></TD> </TR></TABLE><!-- #EndEditable --><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0> <TR bgColor=#ffffff> <TD><IMG src="../images/sq_3.gif" width=11 height="14"></TD> <TD width="100%"></TD> <TD><IMG src="../images/sq_4.gif" width=11 height="14"></TD> </TR></TABLE></BODY><!-- #EndTemplate --></HTML>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -