原代码插入到<body>下面:<script language=javascript><!--n = 40;y = new array();x = new array();s = new array();a = new array();b = new array();m = new array();v = (document.layers)?1:0; ih=(document.layers)?window.innerheight:window.document.body.clientheight;iw=(document.layers)?window.innerwidth:window.document.body.clientwidth;for (i=0; i < n; i++){y[i]=math.round(math.random()*ih);x[i]=math.round(math.random()*iw);s[i]=math.round(math.random()*5+2);a[i]=0;b[i]=math.random()*0.1+0.1;m[i]=math.round(math.random()*1+1);}if (v){for (i = 0; i < n; i++){document.write(<layer name='sn+i+' left=0 top=0 bgcolor='#fffff0' clip='0,0,+m[i]+,+m[i]+'></layer>)}}else{document.write('<div style=position:absolute;top:0px;left:0px>');document.write('<div style=position:relative>');for (i = 0; i < n; i++){document.write('<div id=si style=position:absolute;top:0;left:0;width:'+m[i]+';height:'+m[i]+';background:#fffff0;font-size:'+m[i]+'></div>')}document.write('</div></div>');}function snow(){var h=(document.layers)?window.innerheight:window.document.body.clientheight;var w=(document.layers)?window.innerwidth:window.document.body.clientwidth;var t=(document.layers)?window.pageyoffset:document.body.scrolltop;var l=(document.layers)?window.pagexoffset:document.body.scrollleft;for (i=0; i < n; i++){sy=s[i]*math.sin(90*math.pi/180);sx=s[i]*math.cos(a[i]);y[i]+=sy;x[i]+=sx;if (y[i] > h){y[i]=-10;x[i]=math.round(math.random()*w);m[i]=math.round(math.random()*1+1);s[i]=math.round(math.random()*5+2);}if (v){document.layers['sn'+i].left=x[i];document.layers['sn'+i].top=y[i]+t}else{si[i].style.pixelleft=x[i];si[i].style.pixeltop=y[i]+t}a[i]+=b[i];}settimeout('snow()',10);}//--></script>把<body>中的内容改为:<body bgcolor=#ffffff onload=snow()>
淄博SEO站群优化有什么用?详解优化站群的具体流程微信电商小程序未来发展趋势关于制作网站的科普知识:做一个网站需要多少钱?美丽的网站:有吸引力的网站设计的6个技巧网站推广提升的方式企业网站制作时要如何提升用户的产品感受在做网站建设之前如何做好网站定位?如何做好百度排名推广优化