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

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



admin
10-31-2013, بتوقيت غرينيتش 02:20 AM
http://www.dzbatna.com/images/icons/icon26.gif ظƒظˆط¯ ط£ظ„ط¹ط§ط¨ ظ†ط§ط±ظٹط© ط¨ط§ظ„طµظپط*ظ‡ (http://www.dzbatna.com/t1534365/)



السلام عليكم
كما قلة لكم اي شي تطلبونه عن الكود code اني موجود
هذا الكود code جميل جدا
يوضع الكود code في الهيدر header
رمز Code:
<layer name=&quot;a0&quot; left=10 top=10 visibility=show bgcolor=&quot;#ffffff&quot; clip=&quot;0,0,1,1&quot;></layer> <layer name=&quot;a1&quot; left=10 top=10 visibility=show bgcolor=&quot;#fff000&quot; clip=&quot;0,0,1,1&quot;></layer> <layer name=&quot;a2&quot; left=10 top=10 visibility=show bgcolor=&quot;#ffa000&quot; clip=&quot;0,0,1,1&quot;></layer> <layer name=&quot;a3&quot; left=10 top=10 visibility=show bgcolor=&quot;#ff00ff&quot; clip=&quot;0,0,1,1&quot;></layer> <layer name=&quot;a4&quot; left=10 top=10 visibility=show bgcolor=&quot;#00ff00&quot; clip=&quot;0,0,1,1&quot;></layer> <layer name=&quot;a5&quot; left=10 top=10 visibility=show bgcolor=&quot;#ff00ff&quot; clip=&quot;0,0,1,1&quot;></layer> <layer name=&quot;a6&quot; left=10 top=10 visibility=show bgcolor=&quot;#ff0000&quot; clip=&quot;0,0,1,1&quot;></layer> <layer name=&quot;a7&quot; left=10 top=10 visibility=show bgcolor=&quot;#ffffff&quot; clip=&quot;0,0,1,1&quot;></layer> <layer name=&quot;a8&quot; left=10 top=10 visibility=show bgcolor=&quot;#fff000&quot; clip=&quot;0,0,1,1&quot;></layer> <layer name=&quot;a9&quot; left=10 top=10 visibility=show bgcolor=&quot;#ffa000&quot; clip=&quot;0,0,1,1&quot;></layer> <layer name=&quot;a10&quot; left=10 top=10 visibility=show bgcolor=&quot;#ff00ff&quot; clip=&quot;0,0,1,1&quot;></layer> <layer name=&quot;a11&quot; left=10 top=10 visibility=show bgcolor=&quot;#00ff00&quot; clip=&quot;0,0,2,2&quot;></layer> <layer name=&quot;a12&quot; left=10 top=10 visibility=show bgcolor=&quot;#0000ff&quot; clip=&quot;0,0,2,2&quot;></layer> <layer name=&quot;a13&quot; left=10 top=10 visibility=show bgcolor=&quot;#ff0000&quot; clip=&quot;0,0,2,2&quot;></layer> <script language=&quot;JavaScript&quot;> /* Document firework script (By Kurt Gregg, kurt.grigghttp://www.dzbatna.com/images/mail.gifvirgin.net) Modified granted to Dynamic Drive to feature script in archive For full source and 100's more DHTML scripts, visit http://dynamicdrive.com Visit our site at http://java.bdr130.net/ for more code * This notice must stay intact for use */ if (document.all) with(document){ write('<div id=&quot;starsDiv&quot; style=&quot;position:absolute;top:0px;left:0px&quot;>') write('<div style=&quot;position:relative;width:2px;height:2px;back ground:#ffffff;font-size:2px&quot;></div>') write('<div style=&quot;position:relative;width:1px;height:1px;back ground:#fff000;font-size:1px&quot;></div>') write('<div style=&quot;position:relative;width:1px;height:1px;back ground:#ffa000;font-size:1px&quot;></div>') write('<div style=&quot;position:relative;width:1px;height:1px;back ground:#ff00ff;font-size:1px&quot;></div>') write('<div style=&quot;position:relative;width:1px;height:1px;back ground:#00ff00;font-size:1px&quot;></div>') write('<div style=&quot;position:relative;width:1px;height:1px;back ground:#0000ff;font-size:1px&quot;></div>') write('<div style=&quot;position:relative;width:1px;height:1px;back ground:#FF0000;font-size:1px&quot;></div>') write('<div style=&quot;position:relative;width:1px;height:1px;back ground:#ffffff;font-size:1px&quot;></div>') write('<div style=&quot;position:relative;width:1px;height:1px;back ground:#fff000;font-size:1px&quot;></div>') write('<div style=&quot;position:relative;width:1px;height:1px;back ground:#ffa000;font-size:1px&quot;></div>') write('<div style=&quot;position:relative;width:1px;height:1px;back ground:#ff00ff;font-size:1px&quot;></div>') write('<div style=&quot;position:relative;width:2px;height:2px;back ground:#ff00ff;font-size:2px&quot;></div>') write('<div style=&quot;position:relative;width:1px;height:1px;back ground:#0000ff;font-size:1px&quot;></div>') write('<div style=&quot;position:relative;width:1px;height:1px;back ground:#FF0000;font-size:1px&quot;></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=&quot;a&quot;+j for (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(&quot;Fireworks()&quot;,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.bo dy.scrollLeft; } else if (document.layers) { Dleft=window.innerWidth-100; Dtop=window.innerHeight-100; Mtop=Math.round(Math.random()*Dtop+window.pageYOff set); Mleft=Math.round(Math.random()*Dleft+window.pageXO ffset); 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>
اخوكم يوسف










ألعاب الأندرويد مجانا و حصريا (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)©

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


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