المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : كود code خروف العيد



said
10-30-2013, بتوقيت غرينيتش 10:11 PM
http://www.dzbatna.com/images/icons/smile.gif ظƒظˆط¯ ط®ط±ظˆظپ ط§ظ„ط¹ظٹط¯ (http://www.dzbatna.com/t1396966/)


كود code خروف العيد

يوضع في الهيدر header

رمز Code:
<!-- 5roof eid Script by mhmoudko.com --> <SCRIPT language=JavaScript> Image0=new Image(); Image0.src=&quot;http://i97.servimg.com/u/f97/11/37/34/39/msh7ot10.gif&quot;; Amount=6; Ypos=new Array(); Xpos=new Array(); Speed=new Array(); rate=new Array(); grow=new Array(); Step=new Array(); Cstep=new Array(); nsSize=new Array(); ns=(document.layers)?1:0; WinHeight=(document.layers)?window.innerHeight:win dow.document.body.clientHeight; WinWidth=(document.layers)?window.innerWidth:windo w.document.body.clientWidth; for (i=0; i < Amount; i++){ Ypos[i] = Math.round(Math.random()*WinHeight); Xpos[i] = Math.round(Math.random()*WinWidth); Speed[i]= Math.random()*4+4; Cstep[i]=0; Step[i]=Math.random()*0.1+0.05; grow[i]=10; nsSize[i]=Math.random()*15+5; } if (ns){ for (i = 0; i < Amount; i++){ document.write(&quot;<LAYER NAME='sn&quot;+i+&quot;' LEFT=0 TOP=0><img src=&quot;+Image0.src+&quot; name='N' width=&quot;+nsSize[i]+&quot; height=&quot;+nsSize[i]+&quot;></LAYER>&quot;); } } else{ document.write('<div style=&quot;position:absolute;top:0px;left:0px&quot;><div style=&quot;position:relative&quot;>'); for (i = 0; i < Amount; i++){ document.write('<img id=&quot;si&quot; src=&quot;'+Image0.src+'&quot; style=&quot;position:absolute;top:0px;left:0px;filter:a lpha(opacity=60)&quot;>'); } document.write('</div></div>'); } function bubbles(){ var WinHeight=(document.layers)?window.innerHeight:win dow.document.body.clientHeight; var WinWidth=(document.layers)?window.innerWidth:windo w.document.body.clientWidth; var hscrll=(document.layers)?window.pageYOffset:docume nt.body.scrollTop; var wscrll=(document.layers)?window.pageXOffset:docume nt.body.scrollLeft; for (i=0; i < Amount; i++){ sy = Speed[i]*Math.sin(270*Math.PI/180); sx = Speed[i]*Math.cos(Cstep[i]); Ypos[i]+=sy; Xpos[i]+=sx; rate[i]=0.4; if (Ypos[i] < -50){ Ypos[i]=WinHeight+50; Xpos[i]=Math.round(Math.random()*WinWidth); Speed[i]=Math.random()*4+6; grow[i]=2; nsSize[i]=Math.random()*15+5; } if (ns){ document.layers['sn'+i].left=Xpos[i]+wscrll; document.layers['sn'+i].top=Ypos[i]+hscrll; } else{ si[i].style.pixelLeft=Xpos[i]+wscrll; si[i].style.pixelTop=Ypos[i]+hscrll; si[i].style.width=grow[i]; si[i].style.height=grow[i]; } grow[i]+=rate[i]; Cstep[i]+=Step[i]; if (grow[i] > 24) grow[i]=80; } setTimeout('bubbles()',100); } bubbles(); //--> </SCRIPT> <!-- 5roof end -->
المصدر : www.mhmoudko.com (http://www.mhmoudko.com)










ألعاب الأندرويد مجانا و حصريا (http://www.apotox.info/forum)



https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-ash4/482113_236967293114455_1193518507_n.png (http://www.dzbatna.com)
©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى (http://www.dzbatna.com)©

استعمل مربع البحث في الاسفل لمزيد من المواضيع


سريع للبحث عن مواضيع في المنتدى