PDA

View Full Version : العاب نارية


قمر أربعة عشر
09-07-2004, 06:56 PM
للحصول على هذا الامر
انسخ التالي :

<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>
<div id="starsDiv" style="position:absolute;top:0px;left:0px">
<div style="position:relative;width:2px;height:2px;background: #ffffff;font-size:2px"></div>
<div style="position:relative;width:1px;height:1px;background: #fff000;font-size:1px"></div>
<div style="position:relative;width:1px;height:1px;background: #ffa000;font-size:1px"></div>
<div style="position:relative;width:1px;height:1px;background: #ff00ff;font-size:1px"></div>
<div style="position:relative;width:1px;height:1px;background: #00ff00;font-size:1px"></div>
<div style="position:relative;width:1px;height:1px;background: #0000ff;font-size:1px"></div>
<div style="position:relative;width:1px;height:1px;background: #FF0000;font-size:1px"></div>
<div style="position:relative;width:1px;height:1px;background: #ffffff;font-size:1px"></div>
<div style="position:relative;width:1px;height:1px;background: #fff000;font-size:1px"></div>
<div style="position:relative;width:1px;height:1px;background: #ffa000;font-size:1px"></div>
<div style="position:relative;width:1px;height:1px;background: #ff00ff;font-size:1px"></div>
<div style="position:relative;width:2px;height:2px;background: #ff00ff;font-size:2px"></div>
<div style="position:relative;width:1px;height:1px;background: #0000ff;font-size:1px"></div>
<div style="position:relative;width:1px;height:1px;background: #FF0000;font-size:1px"></div>
</div>

<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Kurt Grigg (kurt.grigg@virgin.net) -->
<!-- Web Site: http://freespace.virgin.net/kurt.grigg -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
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 (????????????????????????????????????????????????.all) {
yBase = window.????????????????????????????????????????????????.body.offsetHeight / 3;
xBase = window.????????????????????????????????????????????????.body.offsetWidth / 8;
}
else if (????????????????????????????????????????????????.layers) {
yBase = window.innerHeight / 3;
xBase = window.innerWidth / 8;
}
if (????????????????????????????????????????????????.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 (????????????????????????????????????????????????.layers) {
step = 5;
for ( j = 0 ; j < 14 ; j++ ) { //number of NS layers!
var templayer = "a"+j;
for (ai = 0; ai < Clrs.length; ai++) {
var c = Math.round(Math.random()*[ai]);
}
if (currStep < 90)
????????????????????????????????????????????????.layers[templayer].bgColor=initialStarColor;
if (currStep > 90)
????????????????????????????????????????????????.layers[templayer].bgColor=Clrs[c];
????????????????????????????????????????????????.layers[templayer].top = Mtop + yBase*Math.sin((currStep+j*5)/3)*Math.sin(550+currStep/100)
????????????????????????????????????????????????.layers[templayer].left = Mleft + yBase*Math.cos((currStep+j*5)/3)*Math.sin(550+currStep/100)
}
}
currStep+= step;
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 (????????????????????????????????????????????????.all) {
Dtop = window.????????????????????????????????????????????????.body.clientHeight - 250;
Dleft = xBase * 3.5;
Mtop = Math.round(Math.random()*Dtop);
Mleft = Math.round(Math.random()*Dleft);
????????????????????????????????????????????????.all.starsDiv.style.top = Mtop+????????????????????????????????????????????????.body.scrollTop;
????????????????????????????????????????????????.all.starsDiv.style.left = Mleft+????????????????????????????????????????????????.body.scrollLeft;
}
else if (????????????????????????????????????????????????.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) ;
????????????????????????????????????????????????.layers[templayer].top = Mtop;
????????????????????????????????????????????????.layers[templayer].left = Mleft;
}
if ((Mtop < 20) || (Mleft < 20)) {
Mtop += 90;
Mleft += 90;
}
}
}
Fireworks();
// End -->
</script>
<p align="center"><a href="http://www.khayma.com/manayr/"><font
color="#FF00FF" size="4"><strong>Manayr.Net</strong></font></a></p>

فتاة الجليد
09-07-2004, 08:49 PM
لو شرحتي بتفصيل أكثر من البداية إلى النهاية ياقمر علشان نفهم وش تقصدين بالدرس

(سمية)
10-07-2004, 12:46 AM
http://www.getsmile.com/sportsandentertainment/books.gif

موضوع رائع....لكن لو بلغة مفهومة كان بيصير أروع::JH::

هنـــد
10-07-2004, 02:07 PM
يا ريت توضحين أكثر يا قمورة :)

قمر أربعة عشر
11-07-2004, 03:39 PM
انا قصدي انو اذا حد بدو يضيف على موقعه العاب نارية (كشكل من الترحيب أو الإفتتاح الجديد) يضيف هالكود على الهتمل ويكون شكله حلوووووو زيكم اذا في استفسار انا جاهزة

فتاة الجليد
14-07-2004, 06:35 AM
هلا قمورة
ياليت يا قمورة تعتبرين اللي تكتبين له مبتدىء وتكتبين الخطوات وحدة وحدة من بداية فتح الصفحة واذا تطلب الأمر لو من بداية فتح جهاز الكمبيوتر لأن الناس متفاوتة في الفهم خاصة في الأمور هذي
بس تدرين يا قمورة شكلك عجازة في الكتابة :[MM
با نتظار تفاصيلك

قمر أربعة عشر
26-07-2004, 04:14 PM
تامرين أمر
اسفة لاني نسيت
أول شي تفتحوا الهتمل تبع الصفحة وبعدين تنسخوا هالكود الموجود فوق ..
في الهتمل
وبعدين شوفوا الصفحة
و
ترالالالالالا
شفتم الفراقيع النارية؟
على العموم أنا بورجيكم عينة من الموضوع
good luck ):K

lanloon
26-07-2004, 04:23 PM
http://smileys.smileycentral.com/cat/346.gif (http://www.smileycentral.com/?partner=ZSzeb001) http://smileys.smileycentral.com/cat/4/4_12_3.gif (http://www.smileycentral.com/?partner=ZSzeb001)