×
اطلاعات بیشتر باشه، مرسی برای ارائه بهترین تجربه کاربری به شما، ما از کوکی ها استفاده میکنیم

gegli

نفرین شده

× font face=tahoma color=white html head /head body !-- step one: insert the onload event handler into your body tag -- body bgcolor=#000000 onload=fly() !-- step two: paste this code into the body of your html document -- language=java !-- begin smallstars = 30; largestars = 10; smallypos = new array(); smallxpos = new array(); largeypos = new array(); largexpos = new array(); smallspeed= new array(); largespeed= new array(); ns=(document.layers)?1:0; if (ns) { for (i = 0; i smallstars; i++) { document.write(layer name=sn+i+ left=0 top=0 bgcolor=#fffff0 clip=0,0,1,1/layer); } for (i = 0; i largestars; i++) { document.write(layer name=ln+i+ left=0 top=0 bgcolor=#ffffff clip=0,0,2,2/layer); } } else { document.write(div style=position:absolute;top:0px;left:0px); document.write(div style=position:relative); for (i = 0; i smallstars; i++) { document.write(div id=si style=position:absolute;top:0;left:0;width:1px;height:1px;background:#fffff0;font-size:1px/div); } document.write(/div); document.write(/div); document.write(div style=position:absolute;top:0px;left:0px); document.write(div style=position:relative); for (i = 0; i largestars; i++) { document.write(div id=li style=position:absolute;top:0;left:0;width:2px;height:2px;background:#ffffff;font-size:2px/div); } document.write(/div); document.write(/div); } winheight = (document.layers)?window.innerheight:window.document body .clientheight; winwidth = (document.layers)?window.innerwidth:window.document body .clientwidth; for (i = 0; i smallstars; i++) { smallypos[i] = math.round(math.random() * winheight); smallxpos[i] = math.round(math.random() * winwidth); smallspeed[i]= math.random() * 5 + 1; } for (i = 0; i largestars; i++) { largeypos[i] = math.round(math.random() * winheight); largexpos[i] = math.round(math.random() * winwidth); largespeed[i] = math.random() * 10 + 5; } fly() { var winheight = (document.layers)?window.innerheight:window.document body .clientheight; var winwidth = (document.layers)?window.innerwidth:window.document body .clientwidth; var hscrll = (document.layers)?window.pageyoffset:document body .scrolltop; var wscrll = (document.layers)?window.pagexoffset:document body .scrollleft; for (i = 0; i largestars; i++) { largexpos[i] -= largespeed[i]; if (largexpos[i] -10) { largexpos[i] = winwidth; largeypos[i] = math.round(math.random() * winheight); largespeed[i] = math.random() * 10 + 5; } if (ns) { document.layers[ln+i].left = largexpos[i]; document.layers[ln+i].top = largeypos[i] + hscrll; } else { li[i].style.pixelleft = largexpos[i]; li[i].style.pixeltop = largeypos[i] + hscrll; } } for (i = 0; i smallstars; i++) { smallxpos[i] -= smallspeed[i]; if (smallxpos[i] -10) { smallxpos[i] = winwidth; smallypos[i] = math.round(math.random()*winheight); smallspeed[i] = math.random() * 5 + 1; } if (ns) { document.layers[sn+i].left = smallxpos[i]; document.layers[sn+i].top = smallypos[i]+hscrll; } else { si[i].style.pixelleft = smallxpos[i]; si[i].style.pixeltop = smallypos[i]+hscrll; } } settimeout(fly(), 10); } // end -- / !-- size: 3.79 kb -- /body /html
×

آدرس وبلاگ من

nefrineeshg.goohardasht.com

آدرس صفحه گوهردشت من

goohardasht.com/mohamadbest

?????? ???? ?????? ???? ????? ????? ??? ????

وبلاگ من

www.nefrineeshg.blogfa.com

شنبه 23 مهر 1390 - 7:29:18 PM

ورود مرا به خاطر بسپار
عضویت در گوهردشت
رمز عبورم را فراموش کردم