اكواد جافا
نص بلون قوس قزح
<html> <head><script LANGUAGE="JavaScript"> function createHexArray(n) { this.length = n; for (var i = 1; i <= n; i++) this[i] = i - 1; this[11] = "A"; this[12] = "B"; this[13] = "C"; this[14] = "D"; this[15] = "E"; this[16] = "F"; return this; } hx = new createHexArray(16); function convertToHex(x) { if (x < 17) x = 16; var high = x / 16; var s = high+""; s = s.substring(0, 2); high = parseInt(s, 10); var left = hx[high + 1]; var low = x - high * 16; if (low < 1) low = 1; s = low + ""; s = s.substring(0, 2); low = parseInt(s, 10); var right = hx[low + 1]; var string = left + "" + right; return string; } function makeRainbow(text) { text = text.substring(0, text.length); color_d1 = 255; mul = color_d1 / text.length; for(var i = 0; i < text.length; i++) { color_d1 = 255*Math.sin(i / (text.length / 3)); color_h1 = convertToHex(color_d1); color_d2 = mul * i; color_h2 = convertToHex(color_d2); k = text.length; j = k - i; if (j < 0) j = 0; color_d3 = mul * j; color_h3 = convertToHex(color_d3); document.write("<FONT COLOR=\"#" + color_h3 + color_h1 + color_h2 + "\">" + text.substring(i, i + 1) + "</FONT>"); } } // End --> </script> <title>نص بلون قوس قزح</title> </head> <body> <strong><font size="5"><script> <!-- makeRainbow("مرحباً بكم في دليل وين"); // --> </script> </font></strong> </body> </html>
ساعة إلكترونية
<html> <head> <title>ساعة إلكترونية</title> <meta name="GENERATOR" content="Microsoft FrontPage 3.0"> <script Language="JavaScript"> isamap = new Object(); isamap[0] = "_df" isamap[1] = "_ov" isamap[2] = "_ot" isamap[3] = "_dn" </script> <script LANGUAGE="JavaScript"> function tick() { var hours, minutes, seconds, ap; var intHours, intMinutes, intSeconds; var today; today = new Date(); intHours = today.getHours(); intMinutes = today.getMinutes(); intSeconds = today.getSeconds(); ap="AM"; if ((intHours>=11) && (intHours<13)) {ap="PM";} if ((intHours>=13) && (intHours<17)) {ap="PM";} if ((intHours>=17) && (intHours<18)) {ap="PM";} if ((intHours<3) || (intHours>=18)) {ap="PM";} if (intHours == 0) { hours = "12:"; } else if (intHours < 12) { hours = intHours+":"; } else if (intHours == 12) { hours = "12:"; } else { intHours = intHours - 12 hours = intHours + ":"; } if (intMinutes < 10) { minutes = "0"+intMinutes+":"; } else { minutes = intMinutes+":"; } if (intSeconds < 10) { seconds = "0"+intSeconds+" "; } else { seconds = intSeconds+" "; } its=""; timeString = its+hours+minutes+seconds+ap; Clock.innerHTML = timeString; window.setTimeout("tick();", 100); } window.onload = tick; // --> </script> </head> <body bgcolor="#0000FF"> <div align="CENTER" id="Clock" style="COLOR: ffffff; FONT-FAMILY: Tahoma; FONT-SIZE: x-small; font-weight: normal; text-align: center;" dir="LTR"></div> <p> </p> </body> </html>
حكم مختلفة
<script LANGUAGE="JavaScript"> <!-- Begin var a = Math.random() + "" var rand1 = a.charAt(5) quotes = new Array quotes[1] = "احفظ الله يحفظك" quotes[2] = "لا تجعل طاعتك شمعة تذوب اما حرارة الشهوة" quotes[3] = "لا تكن كالذي يحرث الارض ولا يضع البذور وينتظر يوم الحصاد" quotes[4] = "إن الله و ملائكته يصلون على النبي يا أيها اللذين آمنوا صلوا عليه وسلموا تسليما" quotes[5] = "تتكلم كثيراً وتفعل قليلا هلا فعلت بفمك وتكلمت بافعالك " quotes[6] = "اجعل حياتك دمعة وابتسامه ، دمعة تذرفها من خشية الله وابتسامه تواجه بها الحياة" quotes[7] = "كن في الدنيا كانك غريب او عابر سبيل" quotes[8] = "حياة الانسان حلم لن يفيق منه الا في ظلمة القبر" quotes[9] = "ما اقصر عمر الكون ومعا ذلك يستعظم الانسان عمره" // دليل وين var quote = quotes[rand1] document.write(quote); // End --> </script>
العودة للخلف
<a herf="javascript:history.back(1)" href="javascript:history.back(1)">العودة للخلف</a>
اطبع الصفحة
<SCRIPT language=JavaScript> <!-- Begin if (window.print) { document.write('<form> ' + '<input type=submit value="اطبع الصفحة" name=Print ' + 'onClick="javascript:window.print()"></form>'); } // End // --></SCRIPT>
نص متلاشي
<HEAD> <SCRIPT LANGUAGE="JavaScript1.2"> <!-- Begin ie4 = ((navigator.appVersion.indexOf("MSIE")>0) && (parseInt(navigator.appVersion) >= 4)); var count = 0, count2 = 0, add1 = 3, add2 = 10, timerID; function show() { if (ie4) { count += add1; count2 += add2; delay = 30; if(count2 > 100) count2 = 100; if(count > 100) { count = 100; add1 = -10; add2 = -3; delay = 350; } if(count < 0) count = 0; if(count2 < 0) { count2 = 0; add1 = 3; add2 = 10; delay = 200; } fader.style.filter = "Alpha(Opacity="+count2+",FinishOpacity="+count+",style=2)"; timerID = setTimeout("show()", delay); } } window.onload = show; // End --> </script> </HEAD> <BODY> <center> <div id="fader" style="width:480; Filter:Alpha(Opacity=0,FinishOpacity=0,style=2)"> <h1> <font family="Tahoma" color="maroon" size="+2"> شكراً لزيارتكم <p> دليل وين </font> </h1> </div> </center>
أختر نوع الخلفية
<FORM name="back"> <SELECT name="g" onChange="change()"> <OPTION VALUE="black">أسود <OPTION VALUE="aqua">ازرق فاتح <OPTION VALUE="green">اخضر <OPTION VALUE="orange">برتقالي <OPTION VALUE="yellow">اصفر <OPTION VALUE="purple">بنفسجي <OPTION VALUE="gray">رصاصي <OPTION VALUE="pink">وردي <OPTION VALUE="lavender">بنفسجي فاتح <OPTION VALUE="khaki">بني فاتح <OPTION VALUE="skyblue">ازرق سماوي <OPTION VALUE="white" SELECTED>ابيض </SELECT> </FORM> <script language="Javascript"> <!-- http://www.ajnadeen.cjb.net function change() { document.bgColor = document.back.g.options[document.back.g.selectedIndex].value } //--> </script>
كود تكبير الكتابات تدريجياً
<!-- Step:1. Use this as your body tag --> <body onLoad="Message()"> <!-- Step:2. Paste the script between <head></head> --> <script language="JavaScript"> <!-- Welcome Message kurt.grigg@virgin.net /* THINGS YOU CAN ALTER */ message="دليل وين "; colours=new Array('fff000','00ff00')//Pick your colours, any amount. siZe=26;//Explorer only! can be outrageous size. /* THINGS YOU SHOULDN'T ALTER */ message=message.split(' '); timer=null; clrPos=0; msgPos=0; jog=1; currentStep=10; step=8; ns=(document.layers)?1:0; viz=(document.layers)?'hide':'hidden'; if (ns) document.write("<div id='T' style='position:absolute'></div><br>"); else{ document.write("<div style='position:absolute'>"); document.write("<div align='center' style='position:relative'>"); document.write("<div id='T' style='position:absolute;width:0;height:0;font-family:Arial;font-size:0'>kurt</div>"); document.write("</div></div><br>"); } function Message(){ var pageHeight=(document.layers)?window.innerHeight:window.document.body.offsetHeight; var pageWidth=(document.layers)?window.innerWidth:window.document.body.offsetWidth; if (ns){ ypos=pageHeight/2; var Write='<div align="center" style="width:0px;height:0px;font-family:Arial,Verdana;font-size:'+currentStep/4+'px;color:'+colours[clrPos]+'">'+message[msgPos]+'</div>'; document.T.top=ypos + -currentStep/8 +window.pageYOffset; document.T.document.write(Write) document.T.document.close(); } else{ ypos=pageHeight/2; xpos=pageWidth/2; T.style.width=currentStep; T.style.pixelTop=ypos+ -currentStep/16 +document.body.scrollTop; T.style.pixelLeft=(xpos-20)+ -currentStep/2; T.style.fontSize=currentStep/8; T.innerHTML=message[msgPos]; T.style.color=colours[clrPos]; } if (ns)step+=5; else step+=15; currentStep+=step if (ns){ if (currentStep > pageWidth) {currentStep=10;step=8;msgPos+=jog;clrPos+=jog} if (clrPos >= colours.length) clrPos=0; } else { if (currentStep > pageWidth*siZe) {currentStep=10;step=8;msgPos+=jog;clrPos+=jog} if (clrPos >= colours.length) clrPos=0; } if (msgPos >= message.length) { clearTimeout(timer); if (ns) document.T.visibility=viz; else T.style.visibility=viz; } timer=setTimeout("Message()",10) } //--> </script>
تأثير كتابي جميل
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1256"> <meta name="GENERATOR" content="Microsoft FrontPage 4.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <title>كلمات ترحيبيه</title> </head> <body> <p align="center"><!--webbot bot="HTMLMarkup" startspan --> <!-- THREE STEPS TO INSTALL GLOW TEXT: 1. Copy the coding into the HEAD of your HTML document 2. Add the onLoad event handler into the BODY tag 3. Put the last coding into the BODY of your HTML document --> <!-- STEP ONE: Paste this code into the HEAD of your HTML document --> <HEAD> <style> .F1 {filter: glow(Color=#FF8000,Strength=10); width=200px; height=200px;} .F2 {filter: glow(Color=#00FF00,Strength=9); width=150px; height=200px;} .F3 {filter: glow(Color=#0080FF,Strength=12); width=250px; height=200px;} </style> <SCRIPT LANGUAGE="JavaScript"> <!-- Original: CodeLifter.com (support@codelifter.com) --> <!-- Web Site: http://www.codelifter.com --> <!-- This script and many more are available free online at --> <!-- The JavaScript Source!! http://javascript.internet.com --> <!-- Begin var rate = 1000 // do not edit below this line var i = 0; var F = 'F1'; function doThing() { if (document.getElementById&&document.all) { ok = true; i++; if (i==1) F = 'F1'; if (i==2) F = 'F2'; if (i==3) F = 'F3'; YammaYamma.className = F; if (i > 2) i = 0; timer = setTimeout('doThing()', rate); } } // End --> </script> </HEAD> <!-- STEP TWO: Insert the onLoad event handler into your BODY tag --> <BODY onLoad="doThing()"> <!-- STEP THREE: Copy this code into the BODY of your HTML document --> <center> <table width="250" cellspacing="0" cellpadding="10"> <tr> <td> <center> <font face="Courier" size="5" color="#FFFFFF"> <p id="YammaYamma"> <b>مرحبا بكم دليل وين</b> </p> </font> </center> </td> </tr> </table> </center> <p><center> <font face="arial, helvetica" size"-2">جميع الحقوق محفوظه<br> ل <a href="http://www.geocities.com/mirage353/">ميراج</a></font> </center><p> <!-- Script Size: 1.88 KB --><!--webbot bot="HTMLMarkup" endspan --><b><font size="4">كلمات ترحيبيه</font></b> </p> <p align="center"> </p> </body> </html>
كتابة مظللة
<body> <div align="center"><center> <table border="0" width="319" style="FILTER: GLOW(color='red', strength=#+6)"> <tbody> <tr> <td width="313"><h1 align="center"><font size="5"> ضع نصك هنا مع امكانية تغيير اللون</font></h1> </td> </tr> </tbody></table> </center></div> </body>
ساعة جميلة
<script language="JavaScript"> <!-- Standard Scroll Clock by kurt.grigg@virgin.net fCol='000000';//face colour. sCol='ff0000';//seconds colour. mCol='000000';//minutes colour. hCol='000000';//hours colour. H='....'; H=H.split(''); M='.....'; M=M.split(''); S='......'; S=S.split(''); Ypos=0; Xpos=0; Ybase=8; Xbase=8; dots=12; ns=(document.layers)?1:0; if (ns){ dgts='1 2 3 4 5 6 7 8 9 10 11 12'; dgts=dgts.split(' ') for (i=0; i < dots; i++){ document.write('<layer name=nsDigits'+i+' top=0 left=0 height=30 width=30><center><font face=Arial,Verdana size=1 color='+fCol+'>'+dgts[i]+'</font></center></layer>'); } for (i=0; i < M.length; i++){ document.write('<layer name=ny'+i+' top=0 left=0 bgcolor='+mCol+' clip="0,0,2,2"></layer>'); } for (i=0; i < H.length; i++){ document.write('<layer name=nz'+i+' top=0 left=0 bgcolor='+hCol+' clip="0,0,2,2"></layer>'); } for (i=0; i < S.length; i++){ document.write('<layer name=nx'+i+' top=0 left=0 bgcolor='+sCol+' clip="0,0,2,2"></layer>'); } } else{ document.write('<div style="position:absolute;top:0px;left:0px"><div style="position:relative">'); for (i=1; i < dots+1; i++){ document.write('<div id="ieDigits" style="position:absolute;top:0px;left:0px;width:30px;height:30px;font-family:Arial,Verdana;font-size:10px;color:'+fCol+';text-align:center;padding-top:10px">'+i+'</div>'); } document.write('</div></div>') document.write('<div style="position:absolute;top:0px;left:0px"><div style="position:relative">'); for (i=0; i < M.length; i++){ document.write('<div id=y style="position:absolute;width:2px;height:2px;font-size:2px;background:'+mCol+'"></div>'); } document.write('</div></div>') document.write('</div></div>') document.write('<div style="position:absolute;top:0px;left:0px"><div style="position:relative">'); for (i=0; i < H.length; i++){ document.write('<div id=z style="position:absolute;width:2px;height:2px;font-size:2px;background:'+hCol+'"></div>'); } document.write('</div></div>') document.write('<div style="position:absolute;top:0px;left:0px"><div style="position:relative">'); for (i=0; i < S.length; i++){ document.write('<div id=x style="position:absolute;width:2px;height:2px;font-size:2px;background:'+sCol+'"></div>'); } document.write('</div></div>') } function clock(){ time = new Date (); secs = time.getSeconds(); sec = -1.57 + Math.PI * secs/30; mins = time.getMinutes(); min = -1.57 + Math.PI * mins/30; hr = time.getHours(); hrs = -1.57 + Math.PI * hr/6 + Math.PI*parseInt(time.getMinutes())/360; if (ns){ Ypos=window.pageYOffset+window.innerHeight-60; Xpos=window.pageXOffset+window.innerWidth-80; } else{ Ypos=document.body.scrollTop+window.document.body.clientHeight-60; Xpos=document.body.scrollLeft+window.document.body.clientWidth-60; } if (ns){ for (i=0; i < dots; ++i){ document.layers["nsDigits"+i].top=Ypos-5+40*Math.sin(-0.49+dots+i/1.9); document.layers["nsDigits"+i].left=Xpos-15+40*Math.cos(-0.49+dots+i/1.9); } for (i=0; i < S.length; i++){ document.layers["nx"+i].top=Ypos+i*Ybase*Math.sin(sec); document.layers["nx"+i].left=Xpos+i*Xbase*Math.cos(sec); } for (i=0; i < M.length; i++){ document.layers["ny"+i].top=Ypos+i*Ybase*Math.sin(min); document.layers["ny"+i].left=Xpos+i*Xbase*Math.cos(min); } for (i=0; i < H.length; i++){ document.layers["nz"+i].top=Ypos+i*Ybase*Math.sin(hrs); document.layers["nz"+i].left=Xpos+i*Xbase*Math.cos(hrs); } } else{ for (i=0; i < dots; ++i){ ieDigits[i].style.pixelTop=Ypos-15+40*Math.sin(-0.49+dots+i/1.9); ieDigits[i].style.pixelLeft=Xpos-14+40*Math.cos(-0.49+dots+i/1.9); } for (i=0; i < S.length; i++){ x[i].style.pixelTop =Ypos+i*Ybase*Math.sin(sec); x[i].style.pixelLeft=Xpos+i*Xbase*Math.cos(sec); } for (i=0; i < M.length; i++){ y[i].style.pixelTop =Ypos+i*Ybase*Math.sin(min); y[i].style.pixelLeft=Xpos+i*Xbase*Math.cos(min); } for (i=0; i < H.length; i++){ z[i].style.pixelTop =Ypos+i*Ybase*Math.sin(hrs); z[i].style.pixelLeft=Xpos+i*Xbase*Math.cos(hrs); } } setTimeout('clock()',50); } if (document.layers || document.all) window.onload=clock; //--> </script>
ساعة عربية
<div id=Clock align=center style="font-family: tahoma; font-size: 12; color:#999966 "> </div> <script> function tick() { var hours, minutes, seconds, ap; var intHours, intMinutes, intSeconds; var today; today = new Date(); intHours = today.getHours(); intMinutes = today.getMinutes(); intSeconds = today.getSeconds(); if (intHours == 0) { hours = "12:"; ap = "بعد متصف الليل"; } else if (intHours < 12) { hours = intHours+":"; ap = "صباحا"; } else if (intHours == 12) { hours = "12:"; ap = "ظهرا"; } else { intHours = intHours - 12 hours = intHours + ":"; ap = "مساءا"; } if (intMinutes < 10) { minutes = "0"+intMinutes+":"; } else { minutes = intMinutes+":"; } if (intSeconds < 10) { seconds = "0"+intSeconds+" "; } else { seconds = intSeconds+" "; } timeString = hours+minutes+seconds+ap; Clock.innerHTML = timeString; window.setTimeout("tick();", 100); } window.onload = tick; </script>
كود ألوان جميلة تتبع الفارة
<script language="JavaScript"> <!-- Trio Script by kurt.grigg@virgin.net //Choose colours and size of effect !! var a_Colour='ff0000'; var b_Colour='ffffff'; var c_Colour='0000ff'; var Size=50; //Alter nothing below !! var YDummy=new Array(),XDummy=new Array(),xpos=0,ypos=0,ThisStep=0;step=0.2; if (document.layers){ window.captureEvents(Event.MOUSEMOVE); function nsMouse(evnt){ xpos = window.pageYOffset+evnt.pageX+6; ypos = window.pageYOffset+evnt.pageY+16; } window.onMouseMove = nsMouse; } else if (document.all) { function ieMouse(){ xpos = document.body.scrollLeft+event.x+6; ypos = document.body.scrollTop+event.y+16; } document.onmousemove = ieMouse; } function swirl(){ for (i = 0; i < 3; i++) { YDummy[i]=ypos+Size*Math.cos(ThisStep+i*2)*Math.sin((ThisStep+i*25)/2); XDummy[i]=xpos+Size*Math.sin(ThisStep+i*2)*Math.sin((ThisStep+i*25)/2)*Math.sin(ThisStep/4); } ThisStep+=step; setTimeout('swirl()',10); } var amount=10; if (document.layers){ for (i = 0; i < amount; i++) { document.write('<layer name=nsa'+i+' top=0 left=0 width='+i/2+' height='+i/2+' bgcolor='+a_Colour+'></layer>'); document.write('<layer name=nsb'+i+' top=0 left=0 width='+i/2+' height='+i/2+' bgcolor='+b_Colour+'></layer>'); document.write('<layer name=nsc'+i+' top=0 left=0 width='+i/2+' height='+i/2+' bgcolor='+c_Colour+'></layer>'); } } else if (document.all){ document.write('<div id="ODiv" style="position:absolute;top:0px;left:0px">' +'<div id="IDiv" style="position:relative">'); for (i = 0; i < amount; i++) { document.write('<div id=x style="position:absolute;top:0px;left:0px;width:'+i/2+';height:'+i/2+';background:'+a_Colour+';font-size:'+i/2+'"></div>'); document.write('<div id=y style="position:absolute;top:0px;left:0px;width:'+i/2+';height:'+i/2+';background:'+b_Colour+';font-size:'+i/2+'"></div>'); document.write('<div id=z style="position:absolute;top:0px;left:0px;width:'+i/2+';height:'+i/2+';background:'+c_Colour+';font-size:'+i/2+'"></div>'); } document.write('</div></div>'); } function prepos(){ var ntscp=document.layers; var msie=document.all; if (document.layers){ for (i = 0; i < amount; i++) { if (i < amount-1) { ntscp['nsa'+i].top=ntscp['nsa'+(i+1)].top;ntscp['nsa'+i].left=ntscp['nsa'+(i+1)].left; ntscp['nsb'+i].top=ntscp['nsb'+(i+1)].top;ntscp['nsb'+i].left=ntscp['nsb'+(i+1)].left; ntscp['nsc'+i].top=ntscp['nsc'+(i+1)].top;ntscp['nsc'+i].left=ntscp['nsc'+(i+1)].left; } else { ntscp['nsa'+i].top=YDummy[0];ntscp['nsa'+i].left=XDummy[0]; ntscp['nsb'+i].top=YDummy[1];ntscp['nsb'+i].left=XDummy[1]; ntscp['nsc'+i].top=YDummy[2];ntscp['nsc'+i].left=XDummy[2]; } } } else if (document.all){ for (i = 0; i < amount; i++) { if (i < amount-1) { msie.x[i].style.top=msie.x[i+1].style.top;msie.x[i].style.left=msie.x[i+1].style.left; msie.y[i].style.top=msie.y[i+1].style.top;msie.y[i].style.left=msie.y[i+1].style.left; msie.z[i].style.top=msie.z[i+1].style.top;msie.z[i].style.left=msie.z[i+1].style.left; } else { msie.x[i].style.top=YDummy[0];msie.x[i].style.left=XDummy[0]; msie.y[i].style.top=YDummy[1];msie.y[i].style.left=XDummy[1]; msie.z[i].style.top=YDummy[2];msie.z[i].style.left=XDummy[2]; } } } setTimeout("prepos()",10); } function Start(){ swirl(),prepos() } window.onload=Start; // --> </script>
كود قائمة متساقطة
<body onLoad="buildMenu(), scrollItems();"> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin function buildMenu() { speed=5; topdistance=20; items=6; y=-50; ob=1; if (navigator.appName == "Netscape") { v=".top=",dS="document.",sD=""; } else { v=".pixelTop=",dS="",sD=".style"; } } function scrollItems() { if (ob<items+1) { objectX="object"+ob; y+=10; eval(dS + objectX + sD + v + y); if (y<topdistance) setTimeout("scrollItems()",speed); else y=-50, topdistance+=40, ob+=1, setTimeout("scrollItems()",speed); } } // End --> </SCRIPT> <div id="object1" style="position:absolute; visibility:show; left:10px; top:-50px; z-index:2"> <table border=1 width=120 bgcolor=ffffff><td> <p align="center"><center> <a href=http://al3uon.com/m/ween/>دليل وين</a> </center></p> </td></table> </div> <div id="object2" style="position:absolute; visibility:show; left:10px; top:-50px; z-index:2"> <table border=1 width=120 bgcolor=f0f0f0> <td><center> <a href=http://العنوان.html>الأرتباط الثاني</a> </center></td> </table> </div> <div id="object3" style="position:absolute; visibility:show; left:10px; top:-50px; z-index:2"> <table border=1 width=120 bgcolor=ffffff> <td><center> <a href=http://العنوان.html>الأرتباط الثالث</a> </center></td> </table> </div> <div id="object4" style="position:absolute; visibility:show; left:10px; top:-50px; z-index:2"> <table border=1 width=120 bgcolor=f0f0f0> <td><center> <a href=http://العنوان.html>الأرتباط الرابع</a> </center></td> </table> </div> <div id="object5" style="position:absolute; visibility:show; left:10px; top:-50px; z-index:2"> <table border=1 width=120 bgcolor=ffffff> <td><center> <a href=http://العنوان.html>الأرتباط الخامس</a> </center></td> </table> </div> <div id="object6" style="position:absolute; visibility:show; left:10px; top:-50px; z-index:2"> <table border=1 width=120 bgcolor=f0f0f0> <td><center> <a href=http://العنوان.html>الأرتباط السادس</a> </center></td> </table> </div> <div id="object7" style="position:absolute; visibility:show; left:10px; top:-50px; z-index:2"> <table border=1 width=120 bgcolor=ffffff> <td><center> <a href=http://العنوان.html>الأرتباط السابع</a> </center></td> </table> </div> <!-- -->
كود أزرار متلونة
<head> <STYLE> .bigChange {color:blue; font-weight:bolder; font-size:175%; letter-spacing:4px; text-transform: uppercase; background:yellow} .start {color:yellow; background:navy} </STYLE> <SCRIPT LANGUAGE=JAVASCRIPT> function highlightButton(s) { if ("INPUT"==event.srcElement.tagName) event.srcElement.className=s } </SCRIPT> <body> <FORM NAME=highlight onmouseover="highlightButton('start')" onmouseout="highlightButton('')"> <p align="center"> <input type="button" Value="عموري والبرامج" onClick="parent.location='http://amory.8m.com/progsite.htm'" style="font-family: Tahoma"><input type="button" Value="عموري والجافا" onClick="parent.location='http://amory.8m.com/java.htm'" style="font-family: Tahoma"><input type="button" Value="عموري والزعيم" onClick="parent.location='http://amory.8m.com/hilal2000.htm'" style="font-family: Tahoma"><input type="button" Value="عموري والنكتة" onClick="parent.location='http://amory.8m.com/nuktah1.htm'" style="font-family: Tahoma"><input type="button" Value="دليل وين" onClick="parent.location='http://al3uon.com/m/ween/'" style="font-family: Tahoma"> </FORM>
باحث عربي
<center><font size="2" face="Arial"><b><a href="http://www.arab.de/asearch.htm"> </a></b></font></center><br><br><br> <p><center><font size="2" face="Arial" color="#FF0000"><b>ابحث في محرك البحث العربي عن اي موقع</b></font><p> </center><center><form action="/cgi-bin/email/ArabAlman/sgsearch.eml" method="POST"> <input type="hidden" name="ResponsePage" value="http://members.aol.com/ArabAlman/sgsdanke.htm"> <font size="2" face="Arial"><b>URL:</b></font><input type="text" size="60" name="URL" value="http://zzz.z6z.com"><br><br> <input type="submit" value="ابحث"> <input type="reset" value="امسح"></form></center>
أرسل موقعك لأكثر من 50 محرك بحث
<form action="http://www.dreamsubmit.net/cgi-bin/crawl.cgi" method="GET"> <table width="188" border="0" cellspacing="0"> <tr> <td height="29" bgcolor="#FF3399"> <div align="center"><font face="Arial, Helvetica, sans-serif" size="2" color="#FFFFFF"><font size="3"><b><font size="2">أرسل موقعك لأكثر من 50 محرك بحث</font></b></font><font size="2"><br> </font></font> </div> </td> </tr> <tr> <td height="45" bgcolor="#EBEBEB"> <div align="center"><font face="Arial, Helvetica, sans-serif" size="2" color="#000000">http://</font> <font face="Arial, Helvetica, sans-serif" size="3" color="#000000"> <input name="usr_url" size="8"> </font><font face="Arial, Helvetica, sans-serif" size="2"> <input type="submit" value="أرسل" name="submit"> </font><font face="Arial, Helvetica, sans-serif" size="3" color="#000000"> </font> <font face="Arial, Helvetica, sans-serif" size="2"> </font></div> </td> </tr> </table> </form>
كود كلام مشع بوصلة تشعبية
<p align="left"><script language="JavaScript"> <!-- Begin function initArray() { for (var i =0; i < initArray.arguments.length; i++) { this[i] = initArray.arguments[i]; } this.length = initArray.arguments.length; } var colors = new initArray( "green", "purple", "blue", "red", "black", "white", "blue", "yellow", "green", "fuschia", "blue", "purple", "green", "purple"); delay = .5; // seconds link = 0; vlink = 2; function linkDance() { link = ( link+3)%colors.length; vlink = (vlink+1)%colors.length; document.linkColor = colors[link]; document. vlinkColor = colors[vlink]; setTimeout("linkDance()",delay*1000); } linkDance(); // End --> </script></p> <p align="center"><a href="http://zzz.z6z.com"><font size="6" face="Monotype Koufi">دليل وين</font></a></p> <p align="center"><font size="6" face="Monotype Koufi"></font> </p>
كود لنكات تتحرك عمودياً
<table> <td width="100%" align="center"><font face="Tahoma"> <script language="JavaScript1.2"> //configure the below five variables to change the style of the scroller var scrollerwidth=150 var scrollerheight=90 var scrollerbgcolor='lightyellow' //set below to '' if you don't wish to use a background image var scrollerbackground='scrollerback.gif' //configure the below variable to change the contents of the scroller var messages=new Array() messages[0]="<font face='tahoma'><a href='http://zzz.z6z.com' >دليل وين</a></font>" messages[1]="<font face='tahoma'><a href='http://ضع عنوان الرابطة 1'>ضع جملة هنا1</a></font>" messages[2]="<font face='tahoma'><a href='http://ضع عنوان الرابطة 2'>ضع جملةهنا2</a></font>" messages[3]="<font face='tahoma'><a href='http://ضع عنوان الرابطة 3'>ضع جملة 3هنا</a></font>" messages[4]="<font face='tahoma'><a href='http://ضع عنوان الرابطة 4'>ضع جملة هنا4</a></font>" ///////Do not edit pass this line/////////////////////// if (messages.length>1) i=2 else i=0 function move1(whichlayer){ tlayer=eval(whichlayer) if (tlayer.top>0&&tlayer.top<=5){ tlayer.top=0 setTimeout("move1(tlayer)",3000) setTimeout("move2(document.main.document.second)",3000) return } if (tlayer.top>=tlayer.document.height*-1){ tlayer.top-=5 setTimeout("move1(tlayer)",100) } else{ tlayer.top=scrollerheight tlayer.document.write(messages[i]) tlayer.document.close() if (i==messages.length-1) i=0 else i++ } } function move2(whichlayer){ tlayer2=eval(whichlayer) if (tlayer2.top>0&&tlayer2.top<=5){ tlayer2.top=0 setTimeout("move2(tlayer2)",3000) setTimeout("move1(document.main.document.first)",3000) return } if (tlayer2.top>=tlayer2.document.height*-1){ tlayer2.top-=5 setTimeout("move2(tlayer2)",100) } else{ tlayer2.top=scrollerheight tlayer2.document.write(messages[i]) tlayer2.document.close() if (i==messages.length-1) i=0 else i++ } } function move3(whichdiv){ tdiv=eval(whichdiv) if (tdiv.style.pixelTop>0&&tdiv.style.pixelTop<=5){ tdiv.style.pixelTop=0 setTimeout("move3(tdiv)",3000) setTimeout("move4(second2)",3000) return } if (tdiv.style.pixelTop>=tdiv.offsetHeight*-1){ tdiv.style.pixelTop-=5 setTimeout("move3(tdiv)",100) } else{ tdiv.style.pixelTop=scrollerheight tdiv.innerHTML=messages[i] if (i==messages.length-1) i=0 else i++ } } function move4(whichdiv){ tdiv2=eval(whichdiv) if (tdiv2.style.pixelTop>0&&tdiv2.style.pixelTop<=5){ tdiv2.style.pixelTop=0 setTimeout("move4(tdiv2)",3000) setTimeout("move3(first2)",3000) return } if (tdiv2.style.pixelTop>=tdiv2.offsetHeight*-1){ tdiv2.style.pixelTop-=5 setTimeout("move4(second2)",100) } else{ tdiv2.style.pixelTop=scrollerheight tdiv2.innerHTML=messages[i] if (i==messages.length-1) i=0 else i++ } } function startscroll(){ if (document.all){ move3(first2) second2.style.top=scrollerheight second2.style.visibility='visible' } else if (document.layers){ document.main.visibility='show' move1(document.main.document.first) document.main.document.second.top=scrollerheight+5 document.main.document.second.visibility='show' } } window.onload=startscroll </script> <ilayer id="main" width=&{scrollerwidth}; height=&{scrollerheight}; bgColor=&{scrollerbgcolor}; background=&{scrollerbackground}; visibility=hide> <layer id="first" left=0 top=1 width=&{scrollerwidth};> <script language="JavaScript1.2"> if (document.layers) document.write(messages[0]) </script> </layer> <layer id="second" left=0 top=0 width=&{scrollerwidth}; visibility=hide> <script language="JavaScript1.2"> if (document.layers) document.write(messages[1]) </script> </layer> </ilayer> <script language="JavaScript1.2"> if (document.all){ document.writeln('<span id="main2" style="position:relative;width:'+scrollerwidth+';height:'+scrollerheight+';overflow:hiden;background-color:'+scrollerbgcolor+' ;background-image:url('+scrollerbackground+')">') document.writeln('<div style="position:absolute;width:'+scrollerwidth+';height:'+scrollerheight+';clip:rect(0 '+scrollerwidth+' '+scrollerheight+' 0);left:0;top:0">') document.writeln('<div id="first2" style="position:absolute;width:'+scrollerwidth+';left:0;top:1;">') document.write(messages[0]) document.writeln('</div>') document.writeln('<div id="second2" style="position:absolute;width:'+scrollerwidth+';left:0;top:0;visibility:hidden">') document.write(messages[1]) document.writeln('</div>') document.writeln('</div>') document.writeln('</span>') } </script></font></td>
كود مواقع متصاعدة مع الشرح
<head> <script language="JavaScript1.2"> var message= new Array() // Configure each message below like this: // message[indexnumber]="text of title|text of copy|URL of link" // You may add as many messages as you like. message[0]="دليل وين|دليل لأشهر وأجمل المواقع العربية|http://zzz.z6z.com" message[1]="قسم شفرات الجافا|وصف مبسط للرابطة|http://عنوان الرابطة" message[2]="قسم البرامج|وصف مبسط للرابطة |http://عنوان الرابطة" message[3]="زعيم آسيا|وصف مبسط للرابطة|http://عنوان الرابطة" message[4]="سجل الزوار|وصف مبسط للرابطة|http://عنوان الرابطة" // ارتفاع الصندوق var scrollerheight=20 // عرض منطقة جملة الرابطة var titlezonewidth=150 // عرض الصندوق var copyzonewidth=400 // horizonal position: distance to the top border of the window (pixels) var scrollertop=20 // vertical position: distance to the left border of the window (pixels) var scrollerleft=100 // سمك الاطار var scrollerborder=0 // لون خلفية منطقة جملة الرابطة var titlezonebg="330000" // لون خلفية منطقة وصف الرابطة var copyzonebg="330066" // لون خلفية الصندوق حين يدور var scrollbg="ff0000" // The target of your links // possible values are '_blank', '_self', '_top', '_parent' or the name of // the target window for instance 'main' var targetlink="_blank" // مواصفات الخط لمنطقة جملة الرابطة var font_titleface="tahoma" var font_titlecolor="FFFFFF" var font_titlesize=2 // مواصفات الخط لمنطقة وصف الرابطة var font_copyface="tahoma" var font_copycolor="FFFFFF" var font_copysize=2 // set 1 for bold title, set 0 for normal title var titlebold=0 // set 1 for bold copy, set 0 for normal copy var copybold=0 // set 'right', 'left' or 'center' to align the title var titlealign="center" // set 'right', 'left' or 'center' to align the copy var copyalign="center" // standstill between the messages (milliseconds) var standstill=3000 // Do not edit below this line var pre_titlebold var after_titlebold var pre_copybold var after_copybold var cliptop=0 var clipbottom=0 var clipleft=0 var clipright=titlezonewidth+copyzonewidth var i_message=0 var mes_joined var mes_split var contenttext var contentbg="" var step=1 var pause=20 if (titlebold==1) { pre_titlebold="<b>" after_titlebold="</b>" } else if (titlebold==0) { pre_titlebold="" after_titlebold="" } if (copybold==1) { pre_copybold="<b>" after_copybold="</b>" } else if (copybold==0) { pre_copybold="" after_copybold="" } function initiate() { mes_joined=message[i_message] mes_split=mes_joined.split("|") contenttext="<table cellpadding=4 cellspacing=0 border=0>" contenttext+="<tr valign='top'>" contenttext+="<td align="+titlealign+" width="+titlezonewidth+" height='"+scrollerheight+"' bgcolor='"+titlezonebg+"'>" contenttext+="<a href='"+mes_split[2]+"' target='"+targetlink+"'>" contenttext+="<font face='"+font_titleface+"' color='"+font_titlecolor+"' size='"+font_titlesize+"'>" contenttext+=pre_titlebold contenttext+=mes_split[0] contenttext+=after_titlebold contenttext+="</font></a></td>" contenttext+="<td align="+copyalign+" width="+copyzonewidth+" height='"+scrollerheight+"' bgcolor='"+copyzonebg+"'>" contenttext+="<font face='"+font_copyface+"' color='"+font_copycolor+"' size='"+font_copysize+"'>" contenttext+=pre_copybold contenttext+=mes_split[1] contenttext+=after_copybold contenttext+="</font></td></tr>" contenttext+="</table>" var bg_width=titlezonewidth+copyzonewidth+2*scrollerborder var bg_height=scrollerheight+2*scrollerborder contentbg="<table width="+bg_width+" height='"+bg_height+"' cellpadding=0 cellspacing=0 border='"+scrollerborder+"'><tr><td bgcolor='"+scrollbg+"'> </td></tr></table>" if (document.all) { scrollertext.innerHTML=contenttext scrollerbg.innerHTML=contentbg document.all.scrollertext.style.posTop=scrollertop+scrollerheight document.all.scrollertext.style.posLeft=scrollerleft document.all.scrollerbg.style.posTop=scrollertop-scrollerborder document.all.scrollerbg.style.posLeft=scrollerleft-scrollerborder document.all.scrollertext.style.clip="rect("+cliptop+" "+clipright+" "+clipbottom+" "+clipleft+")" scrollin() } if (document.layers) { document.scrollertext.document.write(contenttext) document.scrollertext.document.close() document.scrollerbg.document.write(contentbg) document.scrollerbg.document.close() document.scrollertext.top=scrollertop+scrollerheight document.scrollertext.left=scrollerleft document.scrollerbg.top=scrollertop-scrollerborder document.scrollerbg.left=scrollerleft-scrollerborder document.scrollertext.clip.left=clipleft document.scrollertext.clip.right=clipright document.scrollertext.clip.top=cliptop document.scrollertext.clip.bottom=clipbottom scrollin() } } function scrollin(){ if (document.all){ if (document.all.scrollertext.style.posTop>scrollertop) { clipbottom+=step document.all.scrollertext.style.clip="rect("+cliptop+" "+clipright+" "+clipbottom+" "+clipleft+")" document.all.scrollertext.style.posTop-=step var timer=setTimeout("scrollin()",pause) } else { clearTimeout(timer) var timer=setTimeout("scrollout()",standstill) } } if (document.layers){ if (document.scrollertext.top>scrollertop) { clipbottom+=step document.scrollertext.clip.left=clipleft document.scrollertext.clip.right=clipright document.scrollertext.clip.top=cliptop document.scrollertext.clip.bottom=clipbottom document.scrollertext.top-=step var timer=setTimeout("scrollin()",pause) } else { clearTimeout(timer) var timer=setTimeout("scrollout()",standstill) } } } function scrollout(){ if (document.all){ if (document.all.scrollertext.style.posTop>(scrollertop-scrollerheight)) { cliptop+=step document.all.scrollertext.style.clip="rect("+cliptop+" "+clipright+" "+clipbottom+" "+clipleft+")" document.all.scrollertext.style.posTop-=step var timer=setTimeout("scrollout()",pause) } else { clearTimeout(timer) changemessage() } } if (document.layers){ if (document.scrollertext.top>(scrollertop-scrollerheight)) { cliptop+=step document.scrollertext.clip.left=clipleft document.scrollertext.clip.right=clipright document.scrollertext.clip.top=cliptop document.scrollertext.clip.bottom=clipbottom document.scrollertext.top-=step var timer=setTimeout("scrollout()",pause) } else { clearTimeout(timer) changemessage() } } } function changemessage(){ i_message++ if (i_message>message.length-1) {i_message=0} mes_joined=message[i_message] mes_split=mes_joined.split("|") cliptop=0 clipbottom=0 contenttext="<table cellpadding=4 cellspacing=0 border=0>" contenttext+="<tr valign='top'>" contenttext+="<td align="+titlealign+" width="+titlezonewidth+" height='"+scrollerheight+"' bgcolor='"+titlezonebg+"'>" contenttext+="<a href='"+mes_split[2]+"' target='"+targetlink+"'>" contenttext+="<font face='"+font_titleface+"' color='"+font_titlecolor+"' size='"+font_titlesize+"'>" contenttext+=pre_titlebold contenttext+=mes_split[0] contenttext+=after_titlebold contenttext+="</font></a></td>" contenttext+="<td align="+copyalign+" width="+copyzonewidth+" height='"+scrollerheight+"' bgcolor='"+copyzonebg+"'>" contenttext+="<font face='"+font_copyface+"' color='"+font_copycolor+"' size='"+font_copysize+"'>" contenttext+=pre_copybold contenttext+=mes_split[1] contenttext+=after_copybold contenttext+="</font></td></tr>" contenttext+="</table>" if (document.all) { scrollertext.innerHTML=contenttext document.all.scrollertext.style.posTop=scrollertop+scrollerheight document.all.scrollertext.style.posLeft=scrollerleft document.all.scrollertext.style.clip="rect("+cliptop+" "+clipright+" "+clipbottom+" "+clipleft+")" scrollin() } if (document.layers) { document.scrollertext.document.write(contenttext) document.scrollertext.document.close() document.scrollertext.top=scrollertop+scrollerheight document.scrollertext.left=scrollerleft document.scrollertext.clip.left=clipleft document.scrollertext.clip.right=clipright document.scrollertext.clip.top=cliptop document.scrollertext.clip.bottom=clipbottom scrollin() } } </script> <style> A { color:AA0000; } A:Hover { color:FF0000; } </style> <body onLoad="initiate()"> <body> <div id="scrollerbg" style="position:absolute;top:-1000px"> </div> <div id="scrollertext" style="position:absolute;top:-1000px"> </div>
كود روابط طائرة
<head> <script> <!-- Beginning of JavaScript - // اكتب الجمل المناسبة // ATTENTION: Too many images may slow down the floating effect. var message=new Array() message[0]="دليل وين" message[1]="دليل وين" message[2]=" دليل وين" message[3]=" دليل وين" message[4]=" دليل وين" // اكتب روابط الجمل السابقة كل امام جملته حسب التسلسل // In case you do not want to link a message just add a '#' instead of an URL var message_link=new Array() message_link[0]="http://al3uon.com/m/ween/" message_link[1]=" http://al3uon.com/m/ween/" message_link[2]=" http://al3uon.com/m/ween/" message_link[3]="http://al3uon.com/m/ween/" message_link[4]="http://al3uon.com/m/ween/" // انواع خطوط الجمل حسب التسلسل var message_font=new Array() message_font[0]="Comic Sans MS" message_font[1]="tahoma" message_font[2]="Courier" message_font[3]="Monotype Koufi" message_font[4]="tahoma" // احجام خطوط الجمل حسب التسلسل var message_fontsize=new Array() message_fontsize[0]=14 message_fontsize[1]=10 message_fontsize[2]=10 message_fontsize[3]=12 message_fontsize[4]=10 // الوان خطوط الجمل حسب التسلسل var message_fontcolor=new Array() message_fontcolor[0]="yellow" message_fontcolor[1]="black" message_fontcolor[2]="FF0000" message_fontcolor[3]="ffffff" message_fontcolor[4]="000077" // خلفيات صناديق الجمل حسب التسلسل var message_bgcolor=new Array() message_bgcolor[0]="black" message_bgcolor[1]="yellow" message_bgcolor[2]="FFDDDD" message_bgcolor[3]="0000ff" message_bgcolor[4]="DDDDFF" // عرض خطوط الجمل حسب التسلسل var message_fontweight=new Array() message_fontweight[0]=5 message_fontweight[1]=5 message_fontweight[2]=5 message_fontweight[3]=5 message_fontweight[4]=5 // عرض الصناديق حسب التسلسل var message_width=new Array() message_width[0]=250 message_width[1]=250 message_width[2]=250 message_width[3]=250 message_width[4]=250 // حجم التناسق في ابعاد الصندوق var message_padding=new Array() message_padding[0]=4 message_padding[1]=4 message_padding[2]=4 message_padding[3]=4 message_padding[4]=4 // حجم اطارات الصناديق حسب التسلسل var message_border=new Array() message_border[0]=1 message_border[1]=1 message_border[2]=1 message_border[3]=1 message_border[4]=1 // average speed of the floating images. Higher means faster var floatingspeed=3 // do not edit the variables below var tempo=20 var numberofmessages=message.length-1 var stepx=new Array() var stepy=new Array() for (i=0;i<=numberofmessages;i++) { stepx[i]=randommaker(floatingspeed) stepy[i]=randommaker(floatingspeed) } var imgwidth=new Array() var imgheight=new Array() for (i=0;i<=numberofmessages;i++) { imgwidth[i]=10 imgheight[i]=10 } var x,y var marginbottom var marginleft=0 var margintop=0 var marginright var timer for (i=0;i<=numberofmessages;i++) { message_fontweight[0]=100*message_fontweight[0] message_fontweight[1]=100*message_fontweight[1] message_fontweight[2]=100*message_fontweight[2] message_fontweight[3]=100*message_fontweight[3] message_fontweight[4]=100*message_fontweight[4] } var spancontent=new Array() for (i=0;i<=numberofmessages;i++) { spancontent[i]="<table border="+message_border[i]+" cellpadding="+message_padding[i]+" width="+message_width[i]+" cellspacing=0><tr><td valign=top bgcolor="+message_bgcolor[i]+">" spancontent[i]+="<span style='position:relative; font-family:"+message_font[i]+";font-size:"+message_fontsize[i]+"pt;font-weight:"+message_fontweight[i]+"'>" spancontent[i]+="<a href='"+message_link[i]+"' style='text-decoration:none'>" spancontent[i]+="<font color="+message_fontcolor[i]+">" spancontent[i]+=message[i] spancontent[i]+="</a>" spancontent[i]+="</span>" spancontent[i]+="</td></tr></table>" } function setValues() { if (document.all) { marginbottom=document.body.clientHeight-5 marginright=document.body.clientWidth-5 for (i=0;i<=numberofmessages;i++) { var thisspan = eval("document.all.span"+i) thisspan.innerHTML=spancontent[i] var thisspan = eval("document.all.span"+(i)+".style") thisspan.posLeft=randommaker(marginright) thisspan.posTop=randommaker(marginbottom) } for (i=0;i<=numberofmessages;i++) { var thisspan = eval("document.all.span"+i) imgwidth[i]=thisspan.offsetWidth imgheight[i]=thisspan.offsetHeight } checkmovement() } } function randommaker(range) { rand=Math.floor(range*Math.random()) if (rand==0) {rand=Math.ceil(range/2)} return rand } function checkmovement() { if (document.all) { checkposition() movepictures() timer=setTimeout("checkmovement()",tempo) } } function movepictures() { if (document.all) { for (i=0;i<=numberofmessages;i++) { var thisspan=eval("document.all.span"+(i)+".style") thisspan.posLeft+=stepx[i] thisspan.posTop+=stepy[i] } } } function checkposition() { if (document.all) { for (i=0;i<=numberofmessages;i++) { var thisspan=eval("document.all.span"+i+".style") if (thisspan.posLeft>marginright-imgwidth[i]) { thisspan.posLeft-=Math.abs(stepx[i]+1) stepx[i]=randommaker(floatingspeed)*-1 } if (thisspan.posLeft<marginleft) { thisspan.posLeft+=Math.abs(stepx[i]) stepx[i]=randommaker(floatingspeed) } if (thisspan.posTop>marginbottom-imgheight[i]) { thisspan.posTop-=Math.abs(stepy[i]) stepy[i]=randommaker(floatingspeed)*-1 } if (thisspan.posTop<margintop) { thisspan.posTop+=Math.abs(stepy[i]) stepy[i]=randommaker(floatingspeed) } } } } // - End of JavaScript - --> </script> <body onLoad="setValues()" style="width:100%;overflow-x:hidden;overflow-y:hidden"> <body> <script> <!-- Beginning of JavaScript - for (i=0;i<=numberofmessages;i++) { document.write("<span id='span"+i+"' style='position:absolute;z-index:100'></span>") document.close() } // - End of JavaScript - --> </script>
كود جملة تتحرك حول الشاشة
<style type="text/css"> #supertext { position:absolute; left:0; top:0; visibility:hide; visibility:hidden; } </style> <script language="JavaScript1.2"> //Configure the below three variables //1) ضع جملتك هنا var thecontent='<h2><font color="#0000FF"> دليل وين يعدكم بالمزيد</font></h2>' //2) var hidetimer=''; //3)ضع سرعة تحرك الجملة من 1 الى 50 var BallSpeed = 10; ///NO NEED TO EDIT BELOW THIS LINE/////////// var contentWidth; var contentHeight; var maxBallSpeed = 50; var xMax; var yMax; var xPos = 0; var yPos = 0; var xDir = 'right'; var yDir = 'down'; var superballRunning = true; var tempBallSpeed; var currentBallSrc; var newXDir; var newYDir; function initializeBall() { if (document.all) { xMax = document.body.clientWidth yMax = document.body.clientHeight document.all("supertext").style.visibility = "visible"; contentWidth=supertext.offsetWidth contentHeight=supertext.offsetHeight } else if (document.layers) { xMax = window.innerWidth; yMax = window.innerHeight; contentWidth=document.supertext.document.width contentHeight=document.supertext.document.height document.layers["supertext"].visibility = "show"; } setTimeout('moveBall()',400); if (hidetimer!='') setTimeout("hidetext()",hidetimer) } function moveBall() { if (superballRunning == true) { calculatePosition(); if (document.all) { document.all("supertext").style.left = xPos + document.body.scrollLeft; document.all("supertext").style.top = yPos + document.body.scrollTop; } else if (document.layers) { document.layers["supertext"].left = xPos + pageXOffset; document.layers["supertext"].top = yPos + pageYOffset; } animatetext=setTimeout('moveBall()',20); } } function calculatePosition() { if (xDir == "right") { if (xPos > (xMax - contentWidth - BallSpeed)) { xDir = "left"; } } else if (xDir == "left") { if (xPos < (0 + BallSpeed)) { xDir = "right"; } } if (yDir == "down") { if (yPos > (yMax - contentHeight - BallSpeed)) { yDir = "up"; } } else if (yDir == "up") { if (yPos < (0 + BallSpeed)) { yDir = "down"; } } if (xDir == "right") { xPos = xPos + BallSpeed; } else if (xDir == "left") { xPos = xPos - BallSpeed; } else { xPos = xPos; } if (yDir == "down") { yPos = yPos + BallSpeed; } else if (yDir == "up") { yPos = yPos - BallSpeed; } else { yPos = yPos; } } function hidetext(){ if (document.all) supertext.style.visibility="hidden" else if (document.layers) document.supertext.visibility="hide" clearTimeout(animatetext) } if (document.all||document.layers){ document.write('<span id="supertext"><nobr>'+thecontent+'</nobr></span>') window.onload = initializeBall; window.onresize = new Function("window.location.reload()"); } </script><body onload="doWave(0)">
كود الصندوق المجزاء
<head> <script> <!-- Beginning of JavaScript - // The width of your textbox (pixels). var textwidth=300 // The height of your textbox (pixels). var textheight=150 // Your messages. You may add as many messages as you like. var message=new Array() message[0]="دليل وين " message[1]="لسنا لوحدنا ولكننا نسعى لتميز" message[2]="قم بتحديث الدليل دائماً" message[3]="لاتبخل علينا بمشورتك" message[4]="شكرا لك على زيارتك" message[5]="لاتكفينا منك زيارة واحده" // وضع الصندوق الأفقي النهائي .. هنا وضعه في المنتصف // If you set this to '-1' the textbox will centered in the middle of the browser-window var x_finalpos=-1 // وضع الصندوق العمودي النهائي .. هنا وضعه في المنتصف // If you set this to '-1' the textbox will centered in the middle of the browser-window var y_finalpos=50 // عدد الاعمدة المقطعة للصندوق .. كلما زاد العدد كلما ابطأت الصفحة var x_slices=35 // عدد الصفوف المقطعة للصندوق .. كلما زاد العدد كلما ابطأت الصفحة var y_slices=1 // سرعة تحرك الأجزاء var pause=10 // The width and heigth of the zone where the debris of the message are spread (pixels) var screenwidth=700 var screenheight=500 // Do not change the variables below var x_step=new Array() var y_step=new Array() var x_randompos=0 var y_randompos=0 var i_loop=0 var max_loop=30 var i_text=0 var width_slice=Math.floor(textwidth/x_slices) var height_slice=Math.floor(textheight/y_slices) var cliptop=0 var clipbottom=height_slice var clipleft=0 var clipright=width_slice var spancounter=0 function initiate() { if (x_finalpos==-1) { x_finalpos=Math.floor(document.body.clientWidth/2)-Math.floor(textwidth/2) } if (y_finalpos==-1) { y_finalpos=Math.floor(document.body.clientHeight/2)-Math.floor(textheight/2) } cliptop=0 clipbottom=height_slice clipleft=0 clipright=width_slice i_loop=0 spancounter=0 if (document.all) { for (i=0;i<=y_slices-1;i++) { for (ii=0;ii<=x_slices-1;ii++) { var thisspan=eval("document.all.span"+spancounter+".style") x_randompos=Math.ceil(screenwidth*Math.random()) y_randompos=Math.ceil(screenheight*Math.random()) thisspan.posLeft=x_randompos thisspan.posTop=y_randompos thisspan.clip ="rect("+cliptop+" "+clipright+" "+clipbottom+" "+clipleft+")" clipleft+=width_slice clipright+=width_slice spancounter++ } clipleft=0 clipright=width_slice cliptop+=height_slice clipbottom+=height_slice } } explode_IE() } function changetext() { spancounter=0 for (i=0;i<=y_slices-1;i++) { for (ii=0;ii<=x_slices-1;ii++) { var thisspan=eval("document.all.span"+spancounter+".style") thisspan.posLeft=-5000 spancounter++ } } spancounter=0 if (i_text>message.length-1) {i_text=0} for (i=0;i<=y_slices-1;i++) { for (ii=0;ii<=x_slices-1;ii++) { var thisinnerspan=eval("span"+spancounter) thisinnerspan.innerHTML=message[i_text] spancounter++ } } i_text++ initiate() } function explode_IE() { spancounter=0 if (i_loop<=max_loop-1) { for (i=0;i<=y_slices-1;i++) { for (ii=0;ii<=x_slices-1;ii++) { var thisspan=eval("document.all.span"+spancounter+".style") x_step[spancounter]=(x_finalpos-thisspan.posLeft)/(max_loop-i_loop) y_step[spancounter]=(y_finalpos-thisspan.posTop)/(max_loop-i_loop) thisspan.posLeft+=x_step[spancounter] thisspan.posTop+=y_step[spancounter] spancounter++ } } i_loop++ var timer=setTimeout("explode_IE()",pause) } else { spancounter=0 clearTimeout(timer) var timer=setTimeout("changetext()",2000) } } // - End of JavaScript - --> // هنا تغير مواصفات الصندوق من نوع وحجم ولون الخط والاطار وابعاد الصندوق </script> <style> .spanstyle { position:absolute; left:-5000px; font-size : 24; font-family : Monotype Koufi; font-style :; color : blue; text-align : center; background-color : ffffff; border-style : solid; padding : 2; width : 280; height : 90; } </style><body onLoad="changetext()"> <script> <!-- Beginning of JavaScript - if (document.all) { for (i=0;i<=y_slices-1;i++) { for (ii=0;ii<=x_slices-1;ii++) { document.write("<span id='span"+spancounter+"' class='spanstyle'></span>") spancounter++ } } spancounter=0 } // - End of JavaScript - --> </script>
كودمروحة ملونة
<head> <script> <!-- Beginning of JavaScript - // اكتب الجمل المناسبة على الا تزيد عن ست جمل var message = new Array() message[0]="دليــل ويــــن" message[1]="دليــل ويــــن" message[2]="دليــل ويــــن" message[3]="دليــل ويــــن" message[4]="دليــل ويــــن" message[5]="دليــل ويــــن" // ابعاد المروحة var scrollerheight=100 var scrollerwidth=400 // مواصفات الخط var font_family="Monotype Koufi" // Edit the font-size var font_size=40 // موضع المروحة في الشاشة .. الوضع الحالي في المنتصف كما في المثال var x_textposition=180 var y_textposition=10 function initiate() { if (document.all) { document.all.rotationstyle1.style.posLeft=x_textposition document.all.rotationstyle1.style.posTop=y_textposition document.all.rotationstyle2.style.posLeft=x_textposition document.all.rotationstyle2.style.posTop=y_textposition document.all.rotationstyle3.style.posLeft=x_textposition document.all.rotationstyle3.style.posTop=y_textposition document.all.rotationstyle4.style.posLeft=x_textposition document.all.rotationstyle4.style.posTop=y_textposition document.all.rotationstyle5.style.posLeft=x_textposition document.all.rotationstyle5.style.posTop=y_textposition document.all.rotationstyle6.style.posLeft=x_textposition document.all.rotationstyle6.style.posTop=y_textposition setmessages() } } function setmessages() { // في كل كود وغير الالوان حسب برامج الرسومLine0003 تستطيع تغيير الوان الجمل من هنا حيث لكل جملة كود خاص كما تشاهد اسفل ابحث عن rotationstyle1.innerHTML= '<OBJECT ID="rotationobj1" CLASSID="CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6" STYLE="position:relative;width:'+scrollerwidth+'px;height:'+2*scrollerheight+'px">'+ '<PARAM NAME="Line0001" VALUE="SetLineStyle(0)">'+ '<PARAM NAME="Line0002" VALUE="SetLineColor(0,0,0)">'+ '<PARAM NAME="Line0003" VALUE="SetFillColor(242,192,86)">'+ '<PARAM NAME="Line0004" VALUE="SetFont(\''+font_family+'\', '+font_size+', 400, 0, 0, 0)">'+ '<PARAM NAME="Line0005" VALUE="Text(\''+message[0]+'\',0, 2, 0)">'+ '</OBJECT>' rotationstyle2.innerHTML= '<OBJECT ID="rotationobj2" CLASSID="CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6" STYLE="position:relative;width:'+scrollerwidth+'px;height:'+2*scrollerheight+'px">'+ '<PARAM NAME="Line0001" VALUE="SetLineStyle(0)">'+ '<PARAM NAME="Line0002" VALUE="SetLineColor(0,0,0)">'+ '<PARAM NAME="Line0003" VALUE="SetFillColor(128,255,255)">'+ '<PARAM NAME="Line0004" VALUE="SetFont(\''+font_family+'\', '+font_size+', 400, 0, 0, 0)">'+ '<PARAM NAME="Line0005" VALUE="Text(\''+message[1]+'\',0, 2, 0)">'+ '</OBJECT>' rotationstyle3.innerHTML= '<OBJECT ID="rotationobj3" CLASSID="CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6" STYLE="position:relative;width:'+scrollerwidth+'px;height:'+2*scrollerheight+'px">'+ '<PARAM NAME="Line0001" VALUE="SetLineStyle(0)">'+ '<PARAM NAME="Line0002" VALUE="SetLineColor(0,0,0)">'+ '<PARAM NAME="Line0003" VALUE="SetFillColor(0,255,0)">'+ '<PARAM NAME="Line0004" VALUE="SetFont(\''+font_family+'\', '+font_size+', 400, 0, 0, 0)">'+ '<PARAM NAME="Line0005" VALUE="Text(\''+message[2]+'\',0, 2, 0)">'+ '</OBJECT>' rotationstyle4.innerHTML= '<OBJECT ID="rotationobj4" CLASSID="CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6" STYLE="position:relative;width:'+scrollerwidth+'px;height:'+2*scrollerheight+'px">'+ '<PARAM NAME="Line0001" VALUE="SetLineStyle(0)">'+ '<PARAM NAME="Line0002" VALUE="SetLineColor(0,0,0)">'+ '<PARAM NAME="Line0003" VALUE="SetFillColor(255,255,0)">'+ '<PARAM NAME="Line0004" VALUE="SetFont(\''+font_family+'\', '+font_size+', 400, 0, 0, 0)">'+ '<PARAM NAME="Line0005" VALUE="Text(\''+message[3]+'\',0, 2, 0)">'+ '</OBJECT>' rotationstyle5.innerHTML= '<OBJECT ID="rotationobj5" CLASSID="CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6" STYLE="position:relative;width:'+scrollerwidth+'px;height:'+2*scrollerheight+'px">'+ '<PARAM NAME="Line0001" VALUE="SetLineStyle(0)">'+ '<PARAM NAME="Line0002" VALUE="SetLineColor(0,0,0)">'+ '<PARAM NAME="Line0003" VALUE="SetFillColor(255,128,255)">'+ '<PARAM NAME="Line0004" VALUE="SetFont(\''+font_family+'\', '+font_size+', 400, 0, 0, 0)">'+ '<PARAM NAME="Line0005" VALUE="Text(\''+message[4]+'\',0, 2, 0)">'+ '</OBJECT>' rotationstyle6.innerHTML= '<OBJECT ID="rotationobj6" CLASSID="CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6" STYLE="position:relative;width:'+scrollerwidth+'px;height:'+2*scrollerheight+'px">'+ '<PARAM NAME="Line0001" VALUE="SetLineStyle(0)">'+ '<PARAM NAME="Line0002" VALUE="SetLineColor(0,0,0)">'+ '<PARAM NAME="Line0003" VALUE="SetFillColor(255,0,0)">'+ '<PARAM NAME="Line0004" VALUE="SetFont(\''+font_family+'\', '+font_size+', 400, 0, 0, 0)">'+ '<PARAM NAME="Line0005" VALUE="Text(\''+message[5]+'\',0, 2, 0)">'+ '</OBJECT>' rotationobj1.Rotate(0,0,0) rotationobj2.Rotate(0,60,0) rotationobj3.Rotate(0,120,0) rotationobj4.Rotate(0,180,0) rotationobj5.Rotate(0,240,0) rotationobj6.Rotate(0,300,0) startscroll() } function startscroll() { rotationobj1.Rotate(1,2,0) rotationobj2.Rotate(1,2,0) rotationobj3.Rotate(1,2,0) rotationobj4.Rotate(1,2,0) rotationobj5.Rotate(1,2,0) rotationobj6.Rotate(1,2,0) timer=setTimeout("startscroll()",20) } // - End of JavaScript - --> </script><body onLoad="initiate()" > <p align="center"> <font color="#0000FF"> <SPAN ID="rotationstyle1" STYLE="position:absolute"> <OBJECT ID="rotationobj1" CLASSID="CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6" width="14" height="14"> </OBJECT> </SPAN> <SPAN ID="rotationstyle2" STYLE="position:absolute"> <OBJECT ID="rotationobj2" CLASSID="CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6" width="14" height="14"> </OBJECT> </SPAN> <SPAN ID="rotationstyle3" STYLE="position:absolute"> <OBJECT ID="rotationobj3" CLASSID="CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6" width="14" height="14"> </OBJECT> </SPAN> <SPAN ID="rotationstyle4" STYLE="position:absolute"> <OBJECT ID="rotationobj4" CLASSID="CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6" width="14" height="14"> </OBJECT> </SPAN> <SPAN ID="rotationstyle5" STYLE="position:absolute"> <OBJECT ID="rotationobj5" CLASSID="CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6" width="14" height="14"> </OBJECT> </SPAN> <SPAN ID="rotationstyle6" STYLE="position: absolute; left: 12; top: 16"> <OBJECT ID="rotationobj6" CLASSID="CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6" width="14" height="14"> <param name="SourceURL" value> <param name="CoordinateSystem" value="0"> <param name="MouseEventsEnabled" value="0"> <param name="HighQuality" value="0"> <param name="PreserveAspectRatio" value="-1"> </OBJECT> </SPAN> </font>
كود ثلاثي الأبعاد
<head> <script language=javaScript> <!-- Beginning of JavaScript - var thissize=30 var textfont="Verdana" var textcolor= new Array() textcolor[0]="EEEEEE" textcolor[1]="DDDDDD" textcolor[2]="CCCCCC" textcolor[3]="AAAAAA" textcolor[4]="888888" textcolor[5]="666666" textcolor[6]="555555" textcolor[7]="444444" textcolor[8]="333333" textcolor[9]="222222" textcolor[10]="111111" textcolor[11]="000000" var message = new Array() message[0]="دليل وين" message[1]="wEEn" message[2]="دليل وين" message[3]="wEEn" message[4]="دليل وين" message[5]="wEEn" var i_blurstrength=20 var i_message=0 var i_textcolor=0 function blurtext() { if(document.all) { if (i_blurstrength >=-2) { if (i_textcolor >=textcolor.length-1) {i_textcolor=textcolor.length-1} blurthis.innerHTML="<span id='blurpit1' style='position:absolute;visibility:visible;width:600px; top:5px;left:5px;filter:blur(add=0,strength="+i_blurstrength+",direction=90);font-family:"+textfont+";font-size:"+thissize+"pt;color:"+textcolor[i_textcolor]+"'>"+message[i_message]+"</span>"; document.close() i_blurstrength=i_blurstrength-2 i_textcolor++ var timer=setTimeout("blurtext()",50) } else { if (i_textcolor >=textcolor.length-1) {i_textcolor=textcolor.length-1} blurthis.innerHTML="<span id='blurit1' style='position:absolute;visibility:visible;width:600px; top:5px;left:5px;filter:blendTrans(duration=4.2);font-family:"+textfont+";font-size:"+thissize+"pt;color:FF0000'>"+message[i_message]+"</span>"; i_message++ if (i_message>=message.length){i_message=0} i_blurstrength=20 i_textcolor=0 clearTimeout(timer) var timer=setTimeout("blurtext()",2000) } } } // - End of JavaScript - --> </script><body onLoad="blurtext()"> <div id="mainbod" style="position:absolute;visibility:visible;top:180px;left:10px;"> <div id="blurthis" style="position: absolute; visibility: visible; left: -4; top: -168; width: 738; height: 19"></div> </div>
اله حاسبة
<SCRIPT LANGUAGE=LiveScript><!-- Hide the script from browsers which do not support it. // Global Variables var acc = 0; // accumulator for calculations var oper = " "; // the previous operation var startnum = true; // is this a new number var decpoint = false; // is there a decimal point var errorstate = false; // an error has occured so lock keys until "AC" is pressed // Global "Constants" (...) MAXLEN = 14; // // IsNumeric - returns true if a string is a valid numeric literal // function IsNumeric(num) { var idx = 0; var ch = ""; var foundpoint = false; for (idx = 0; idx < num.length; idx++) { ch = num.substring(idx, idx +1 ); if ((ch < "0") || (ch > "9")) { if ((ch == ".") && (!foundpoint)) { foundpoint = true; continue; } else { if ((ch == "-") && (idx == 0)) { continue; } } return false; } } // for idx return true; } // // ContainsChar - check if a string contains a certain char // function ContainsChar(str, ch) { var idx; for (idx = 0; idx < str.length; idx++) { if (str.substring(idx, idx + 1) == ch) { return true; } } // for idx return false; } // // ContainsDecimalPoint - check if a number string contains a decimal point // function ContainsDecimalPoint(num) { return ContainsChar(num, "."); } // // DisplayChanged - the display was explicitly changed, so check if it is valid // function DisplayChanged(form, display) { if (!errorstate) { if (IsNumeric(display.value)) { display.defaultValue = display.value; startnum = false; decpoint = ContainsDecimalPoint(display.value); } else { alert("You must enter a numeric value here."); display.value = display.defaultValue; } } else { // errorstate alert('An error has occured. Press the "AC" button.'); } } // // NumPressed - a digit button was pressed, add it to the current display // function NumPressed(form, digit) { if (!errorstate) { if ((digit !=0) || (form.display.value != "0")) { if (startnum) { // need to put a new number on the display (e.g. after "=") form.display.value = eval(digit); } else { if (form.display.value.length < MAXLEN) { form.display.value = form.display.value + digit; } // enough room to put new digit } // add the digit startnum = false; form.display.defaultValue = form.display.value; } // not trying to add leading zeros } else { //errorstate alert('An error has occured. Please press the "AC" button'); } } // // ChangeSign - "+/-" button was pressed, change sign of current display // function ChangeSign(form) { if (!errorstate) { if (form.display.value != "0") { if (eval(form.display.value) < 0) { // negative no problem form.display.value = 0 - eval(form.display.value); } else { // positive, make sure it's not too long if (form.display.value.length < MAXLEN) form.display.value = 0 - eval(form.display.value); } // positive form.display.defaultValue = form.display.value; startnum = false; } // not 0, can be negated } else { // errorstate alert('An error has occured. Please press the "AC" button'); } } // // PointPressed - the decimal dot was pressed, add it to number and start putting disits after it // function PointPressed(form) { if (!errorstate) { if ((!decpoint) && (form.display.value.length < MAXLEN - 1)) { form.display.value = form.display.value + "."; form.display.defaultValue = form.display.value; decpoint = true; startnum = false; } // decimal point not already present } else { // errorstate alert('An error has occured. Please press the "AC" button'); } } // // ClearAll - "AC" button was pressed, restart the calculator // function ClearAll(display) { display.value = "0"; display.defaultValue = "0"; decpoint = false; acc = 0; oper = " "; startnum = true; errorstate = false; } // // ClearNum - "C" button was pressed, clear only current number on display // function ClearNum(display) { if (!errorstate) { display.value = "0"; display.defaultValue = "0"; decpoint = false; startnum = true; } else { // errorstate alert('An error has occured. Please press the "AC" button'); } } // // RemoveZeros - remove leading zeros after a decimal point from a number string // function RemoveZeros(num) { var idx; if (ContainsChar(num, ".")) { idx = num.length - 1; ch = num.substring(idx, idx + 1); while((idx > 0) && (ch == "0")) { idx--; ch = num.substring(idx, idx + 1); } num = num.substring(0, idx + 1); // get rid of a trailing decimal point, if it remained hanging after the torture ... if (num.substring(num.length - 1, num.length) == ".") { num = num.substring(0, num.length - 1) } } // num contains a decimal point return num; } // // CalcDisplay - calculate the new display using the accumulator and the previous operator // function CalcDisplay(display) { if (oper == "+") { display.value = acc + eval(display.value); } else if (oper == "-") { display.value = acc - eval(display.value); } else if (oper == "*") { display.value = acc * eval(display.value); } else if (oper == "/") { if (display.value == "0") { display.value = "ERROR !" errorstate = true; } else { display.value = acc / eval(display.value); } } if (!errorstate) { if ((eval(display.value) >= eval("1e" + MAXLEN)) || (eval(display.value) <= eval("-1e" + (MAXLEN - 1)))) { display.value = "ERROR !"; errorstate = true; } else { if (!ContainsChar(display.value, "e")) { // not exponential format if (display.value.length > MAXLEN) { // number is in permited range, so extra digits are after decimal point // truncate extra digits display.value = display.value.substring(0, MAXLEN); // get rid of a hanging decimal point if (display.value.substring(MAXLEN - 1, MAXLEN) == ".") { display.value = display.value.substring(0, MAXLEN - 1); } else { // get rid of trailing zeros display.value = RemoveZeros(display.value); } } // string too long } else { // exponential format // Numbers smaller than 0.00001 are represented in exponential notation by the browser. // A piece of code to translate them to fix notation should be put here. // This is getting *much* too boring for me, so I leave it as is. // If anyone has the will power to write it, I'll be glad to include it ... } // exponential format } // not too high or low } // no error yet (division by zero) display.defaultValue = display.value; } // // OperPressed - calculate the new display and move it to the accumulator // function OperPressed(form, newoper) { if (!errorstate) { CalcDisplay(form.display); oper = newoper; acc = eval(form.display.value); startnum = true; decpoint = false; } else { // errorstate alert('An error has occured. Please press the "AC" button'); } } // // CalcResult - the "=" button was pressed, put result on display // function CalcResult(form) { if (!errorstate) { CalcDisplay(form.display); oper = " "; acc = 0; startnum = true; decpoint = false; } else { // errorstate alert('An error has occured. Please press the "AC" button'); } } // End of hiding script from browsers which do not support it. --></SCRIPT> <P> </P> <P><FORM ACTION="" METHOD=POST> <P><TABLE BORDER=2> <TR> <TD> <P><INPUT TYPE=text NAME=display VALUE="0" SIZE=15 onchange="DisplayChanged(this.form, this.form.display)"></P> </TD> </TR> <TR> <TD> <P><TABLE BORDER=1> <TR> <TD> <P><INPUT TYPE=radio NAME=radio VALUE=value338414 CHECKED onclick="history.go(-1)"></P> </TD> <TD> <P> </P> </TD> <TD> <P><INPUT TYPE=button NAME=Button VALUE=" C " onclick="ClearNum(this.form.display)"></P> </TD> <TD> <P><INPUT TYPE=button NAME=Button VALUE="AC" onclick="ClearAll(this.form.display)"></P> </TD> </TR> <TR> <TD> <P><INPUT TYPE=button NAME=Button VALUE=" 1 " onclick="NumPressed(this.form, 1)"></P> </TD> <TD> <P><INPUT TYPE=button NAME=Button VALUE=" 2 " onclick="NumPressed(this.form, 2)"></P> </TD> <TD> <P><INPUT TYPE=button NAME=Button VALUE=" 3 " onclick="NumPressed(this.form, 3)"></P> </TD> <TD> <P><INPUT TYPE=button NAME=Button VALUE=" + " onclick='OperPressed(this.form, "+")'></P> </TD> </TR> <TR> <TD> <P><INPUT TYPE=button NAME=Button VALUE=" 4 " onclick="NumPressed(this.form, 4)"></P> </TD> <TD> <P><INPUT TYPE=button NAME=Button VALUE=" 5 " onclick="NumPressed(this.form, 5)"></P> </TD> <TD> <P><INPUT TYPE=button NAME=Button VALUE=" 6 " onclick="NumPressed(this.form, 6)"></P> </TD> <TD> <P><INPUT TYPE=button NAME=Button VALUE=" - " onclick='OperPressed(this.form, "-")'></P> </TD> </TR> <TR> <TD> <P><INPUT TYPE=button NAME=Button VALUE=" 7 " onclick="NumPressed(this.form, 7)"></P> </TD> <TD> <P><INPUT TYPE=button NAME=Button VALUE=" 8 " onclick="NumPressed(this.form, 8)"></P> </TD> <TD> <P><INPUT TYPE=button NAME=Button VALUE=" 9 " onclick="NumPressed(this.form, 9)"></P> </TD> <TD> <P><INPUT TYPE=button NAME=Button VALUE=" X " onclick='OperPressed(this.form, "*")'></P> </TD> </TR> <TR> <TD> <P><INPUT TYPE=button NAME=Button VALUE="+/-" onclick="ChangeSign(this.form)"></P> </TD> <TD> <P><INPUT TYPE=button NAME=Button VALUE=" 0 " onclick="NumPressed(this.form, 0)"></P> </TD> <TD> <P><INPUT TYPE=button NAME=Button VALUE=" . " onclick="PointPressed(this.form)"></P> </TD> <TD> <P><INPUT TYPE=button NAME=Button VALUE=" / " onclick='OperPressed(this.form, "/")'></P> </TD> </TR> <TR> <TD COLSPAN=4> <P><INPUT TYPE=button NAME=Button VALUE=" = " onclick="CalcResult(this.form)"> <SCRIPT LANGUAGE=LiveScript><!-- Hide the script from browsers which do not support it. document.forms[0].display.value = "0"; document.forms[0].display.value = document.forms[0].display.defaultValue; // End of hiding script from browsers which do not support it. --></SCRIPT><SCRIPT LANGUAGE=LiveScript><!-- Hide the script from browsers which do not support it. document.forms[0].display.value = "0"; document.forms[0].display.value = document.forms[0].display.defaultValue; // End of hiding script from browsers which do not support it. --></SCRIPT></P>
لقتل بانر ترايبود tripod اضف التالي لجميع الصفحات
<SCRIPT LANGUAGE="JavaScript"> var temppopup = window.open( "", "tempWin", 'toolbar=0,location=0,directories=0,status=0,menubar=0, scrollbars=0,resizable=0,width=1,height=1'); window.open = temppopup.open; temppopup.close(); var popup = window.open("", "TripodPopup",'toolbar=0, location=0,directories=0,status=0, menubar=0,scrollbars=0,resizable=0,width=1,height=1'); popup.close(); </SCRIPT>
أفضل قاتل للأعلانات
<Script Language='Javascript'> <!-- eval(unescape('%66%75%6E%63%74%69%6F%6E%20%6F%70%65%6E%20%28%29%20%7B%72%65%74%75%72%6E%20%74%72%75%65%3B%7D')); //--> </Script>
كود الألوان
<blockquote> <blockquote> <blockquote> <script language="JavaScript"> clr=new Array('00','20','40','60','80','a0','c0','ff'); for (i=0;i<8;i++) { document.write("<table border=1 cellpadding=8>"); for (j=0;j<8;j++) { document.write("<tr>"); for (k=0;k<8;k++) { document.write('<td bgcolor="#'+clr[i]+clr[j]+clr[k]+'">'); document.write('<tt><font color="#'+clr[7-i]+clr[7-j]+clr[7-k]+'"> '); document.write(clr[i]+clr[j]+clr[k]+' </font></tt></td>'); } document.write("</tr>"); } document.write("</table><br>"); } // end --> </script> </blockquote> </blockquote> </blockquote>
تغير لون الخلفية على حسب رغبة الزائر
<HEAD><SCRIPT LANGUAGE="JavaScript"><!-- Begin function changeBackground(hexNumber) { document.bgColor=hexNumber } prefix="#" rnum1=0 bnum1=0 gnum1=0 rnum2=0 bnum2=0 gnum2=0 hexNumber2="#000000"; rcount=0; bcount=0; gcount=0; function num2hex(num) { if (num==15) return "f"; else if (num==14) return "e"; else if (num==13) return "d"; else if (num==12) return "c"; else if (num==11) return "b"; else if (num==10) return "a"; else if (num==9) return "9"; else if (num==8) return "8"; else if (num==7) return "7"; else if (num==6) return "6"; else if (num==5) return "5"; else if (num==4) return "4"; else if (num==3) return "3"; else if (num==2) return "2"; else if (num==1) return "1"; else return "0"; } function changeBackground2(number) { if(number == 1) { rnum1=rcount%16; if (rcount <15) { rcount=rcount+1; } } if(number == 2) { gnum1=gcount%16; if (gcount <15) { gcount=gcount+1; } } if(number == 3) { bnum1=bcount%16; if (bcount <15) { bcount=bcount+1; } } if(number == 4) { rnum1=rcount%16; if (rcount > 0) { rcount=rcount-1; } } if(number == 5) { gnum1=gcount%16; if (gcount > 0) { gcount=gcount-1; } } if(number == 6) { bnum1=bcount%16; if (bcount > 0) { bcount=bcount-1; } } hexNumber2 = prefix+num2hex(rnum1)+num2hex(rnum2)+num2hex(gnum1)+num2hex(gnum2)+num2hex(bnum1)+num2hex(bnum2); document.bgColor=hexNumber2 } // End --></SCRIPT><BODY><CENTER><FORM METHOD="POST" NAME="background"><TABLE WIDTH=350 BORDER="3" CELLPADDING="3"><TR><TD Align=center><INPUT TYPE="button" VALUE="أحمر" ONCLICK="changeBackground('#FF0000')"></TD><TD Align=center><INPUT TYPE="button" VALUE="أخضر" ONCLICK="changeBackground('#00FF00')"></TD><TD Align=center><INPUT TYPE="button" VALUE="أزرق" ONCLICK="changeBackground('#0000FF')"></TD><TD Align=center><INPUT TYPE="button" VALUE="أبيض" ONCLICK="changeBackground('#FFFFFF')"></TD><TD Align=center><INPUT TYPE="button" VALUE="أسود" ONCLICK="changeBackground('#000000')"></TD><TD Align=center><INPUT TYPE="button" VALUE="رمادي" ONCLICK="changeBackground('#C0C0C0')"></TD></TR></TABLE><TABLE WIDTH=350 BORDER="3" CELLPADDING="3"><TR><TD><center>اضغط على اللون الذي ترغبه</center></TD></TR></TABLE><TABLE WIDTH=350 BORDER="3" CELLPADDING="3"><TR><TD></TD></TR></TABLE></FORM></CENTER>
كتابة جمل في آخر الصفحه تخرج على شكل حروف متقطعه ثم تكتمل في النها يه
<SCRIPT LANGUAGE="JavaScript"><!--// Copyright 1996 - Tomer and Yehuda Shiran // This example will appear in our forthcoming book on JavaScript. // Feel free to "steal" this code provided that you leave this notice as is. // Additional examples from the book can be found at http://www.geocities.com/SiliconValley/9000/ // For more information contact Tomer or Yehuda Shiran <yshiran@iil.intel.com> // set speed of banner (pause in milliseconds between addition of new character) var speed = 10 // decrease value to increase speed (must be positive) // set pause between completion of message and beginning of following message var pause = 1500 // increase value to increase pause // set initial values var timerID = null var bannerRunning = false // create array var ar = new Array() // assign the strings to the array's elements ar[0] = "دليل وين يتمناء لك زيارة موفقة" ar[1] = "دليل وين اكبر تجمع للمواقع العربية والعالمية " ar[2] = "نتمناء ان يحوز على أعجابكم" ar[3] = "اكثر من عشرة الأف زائر يومياً " ar[4] = "لاندعي الكمال ولكننا نسعى اليه " ar[5] = "ولسنا لوحدنا ولكننا بالتأكيد الأفضل " // assign index of current message var message = 0 // empty string initialization var state = "" // no value is currently being displayed clearState() // stop the banner if it is currently running function stopBanner() { // if banner is currently running if (bannerRunning) // stop the banner clearTimeout(timerID) // timer is now stopped timerRunning = false } // start the banner function startBanner() { // make sure the banner is stopped stopBanner() // start the banner from the current position showBanner() } // assign state a string of "0" characters of the length of the current message function clearState() { // initialize to empty string state = "" // create string of same length containing 0 digits for (var i = 0; i < ar[message].length; ++i) { state += "0" } } // display the current message function showBanner() { // if the current message is done if (getString()) { // increment message message++ // if new message is out of range wrap around to first message if (ar.length <= message) message = 0 // new message is first displayed as empty string clearState() // display next character after pause milliseconds timerID = setTimeout("showBanner()", pause) } else { // initialize to empty string var str = "" // built string to be displayed (only character selected thus far are displayed) for (var j = 0; j < state.length; ++j) { str += (state.charAt(j) == "1") ? ar[message].charAt(j) : " " } // partial string is placed in status bar window.status = str // add another character after speed milliseconds timerID = setTimeout("showBanner()", speed) } } function getString() { // set variable to true (it will stay true unless proven otherwise) var full = true // set variable to false if a free space is found in string (a not-displayed char) for (var j = 0; j < state.length; ++j) { // if character at index j of current message has not been placed in displayed string if (state.charAt(j) == 0) full = false } // return true immediately if no space found (avoid infinitive loop later) if (full) return true // search for random until free space found (braoken up via break statement) while (1) { // a random number (between 0 and state.length - 1 == message.length - 1) var num = getRandom(ar[message].length) // if free space found break infinitive loop if (state.charAt(num) == "0") break } // replace the 0 character with 1 character at place found state = state.substring(0, num) + "1" + state.substring(num + 1, state.length) // return false because the string was not full (free space was found) return false } function getRandom(max) { // create instance of current date var now = new Date() // create a random number (good generator) var num = now.getTime() * now.getSeconds() * Math.random() // cut random number to value between 0 and max - 1, inclusive return num % max } startBanner() // --></SCRIPT>
تتغير خلفية الصفحه
<script LANGUAGE="JavaScript"> <!-- // Delux Color Fading Script v1.0 // // written by Michael Locher // Copyright 1998 by Michael Locher // // email: michael.locher@earthling.net // // You can use this script for free if copyright info is intact. // It would be nice if you drop me a note when using this script // on your homepage. // // Please report bugs to michael.locher@earthling.net // // Setupinformations: // // Copy and past the script in the header of your HTML document // and change the changeable variables below. // It's importent that you add // // onLoad="javascript:fadestart();" // // to the BODY tag of your HTML document like on the BODY tag below. // Unless the script won't start. // // to allow the user to stop and restart the color fading just insert // the following HTML code somewhere in the body of your document // // <A href="javascript:fadestop();">Stop color fading</A> // // <A href="javascript:faderestart();">Restart color fading</A> // // that may be useful when using infinite loop because the script needs // a lot of resources and may slow down the computer // Changeable variables: var loop = 1; //0 = one time, 1 = infinite var step = 8; //sets the step for de- or increasing the color value which actually changes the speed var startcolor = new Array(255,128,0); //start color as a RGB value (0-255) var middlecolor = new Array(255,255,0); //middle color as a RGB value (0-255) var endcolor = new Array(255,128,0); //end color as a RGB value (0-255) // equate the middle with end values if you do not want to use a middle color // if you use infinite loops start and end color should be the same values // DO NOT CHANGE ANYTHING BELOW HERE !!!! // (Unless you know what you do) var stopped = 0; var factor = new Array(1,1,1); var firstfactor = new Array(1,1,1); var secondfactor = new Array(1,1,1); var color = new Array(startcolor[0],startcolor[1],startcolor[2]); var nextcolor = new Array(middlecolor[0],middlecolor[1],middlecolor[2]); var hex = new Array; var letters = new Array('0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'); function fadestart() { for (i=0 ; i <=2 ; i++) { if (middlecolor[i] > startcolor[i]) { firstfactor[i] = -1; } if (middlecolor[i] == startcolor[i]) { firstfactor[i] = 0; } if (endcolor[i] > middlecolor[i]) { secondfactor[i] = -1; } if (endcolor[i] == middlecolor[i]) { secondfactor[i] = 0; } factor[i] = firstfactor[i]; } fadeing = setTimeout('fade()',1); } function fadestop(){ stopped = 1; clearTimeout(fadeing) } function faderestart(){ if (stopped == 1){ fadeing = setTimeout('fade()',1); } } function fade() { for (i=0 ; i<=2 ; i++) { firstletter = Math.floor(eval(color[i] / 16)); secondletter = eval(color[i] -(firstletter * 16)); hex[i] = letters[firstletter]+letters[secondletter]; color[i] = color[i] - (factor[i] * step); if (((color[i]*factor[i])-(nextcolor[i]*factor[i])) <= 0) { factor[i] = 0; color[i] = nextcolor[i]; } } document.bgColor = '#'+hex[0]+hex[1]+hex[2]; if (((Math.abs(factor[0]) + Math.abs(factor[1]) + Math.abs(factor[2])) == 0)&&((color[1] != endcolor[1])||(color[2] != endcolor[2])||(color[0] != endcolor[0]))){ for (i=0 ; i<=2 ; i++) { nextcolor[i]=endcolor[i]; factor[i]=secondfactor[i]; } } if ( (Math.abs(factor[0]) + Math.abs(factor[1]) + Math.abs(factor[2])) != 0 ){ fadeing = setTimeout('fade()',1); } else { if (loop == 1){ for (i=0 ; i<=2 ; i++) { factor[i]=firstfactor[i]; color[i]=startcolor[i]; nextcolor[i]=middlecolor[i]; } fadeing = setTimeout('fade()',1); } } } //--> </script> <title>JavaFILE</title> <base target="leftframe"> </head> <body BGCOLOR="#ffffff" link="#CC0033" vlink="#333399" alink="#FF0000" onLoad="fadestart();"> <!--content start--> <p align="center"> </p> <!--content stop--> </body> </html>
كود يرحب بالزائر عند دخوله الموقع ووداعه عند خروجه من المو قع
<!-- This script has been in the http://www.javascripts.com Javascript Public Library! --> <!-- Note that though this material may have been in a public depository, certain author copyright restrictions may apply. --> <html> <head> <title>alert script</title> </head> <body> <BODY BGCOLOR="######" onLoad="alert(' مرحبا بك بدليل وين');" onUnload="alert('شكرا لزيارتك واتمناء لك زيارة موفقه');"> <CENTER> <A href="" onmouseover="window.open ('');" "alfnnan@alfnnan.net" ""> </body> </html> <!-- Simba says Roar. -->
هذا الكود لكي تظهر لك صفحة أخرى مع صفحتك وتطلع اتوماتيكي
<!-- TWO STEPS TO INSTALL POPUP WINDOW: 1. Paste the first into the HEAD of your HTML document 2. Use the code to open the popup page on your site --> <!-- STEP ONE: Copy this code into the HEAD of your HTML document --> <HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- The JavaScript Source!! http://194.133.0.32/khalid/ --> <!-- Begin function popUp() { props=window.open('http://www.arabtop1000.com/in.php?id=211 ', 'poppage', 'toolbars=0, scrollbars=1, location=0, statusbars=0, menubars=0, resizable=1, width=200, height=300, left = 300, top = 150'); } // End --> </script> <!-- STEP TWO: Paste this onLoad event handler into the BODY tag --> <BODY onLoad="javascript:popUp()"> <!-- Script Size: 0.73 KB -->
هذا الكود يسمح لك ان تعمل زر ملون غير الزر الرمادي التقليدي
<input type="button" value="دليل وين" name="button" style="background-color:ffdddd; color: 000000 ; font-family: اسم الخط المستخدم; font-size: حجم الخط; font-weight: bold">
هذا الكود يسمح لك ان تعمل خلفيات تتغير مع مرور الفاره
<BODY> <CENTER> <!-- مكتبة الجافا--> <!-- http://www.al-rayyany.8k.com--> [<a href="/" onmouseover="document.bgColor='green'">Green</a>] [<a href="/" onmouseover="document.bgColor='greem'">Bright Green</a>] [<a href="/" onmouseover="document.bgColor='seagreen'">Sea Green</a>] [<a href="/" onmouseover="document.bgColor='red'">Red</a>]<BR> [<a href="/" onmouseover="document.bgColor='magenta'">Magenta</a>] [<a href="/" onmouseover="document.bgColor='fusia'">Fusia</a>] [<a href="/" onmouseover="document.bgColor='pink'">Pink</a>] [<a href="/" onmouseover="document.bgColor='purple'">Purple</a>]<BR> [<a href="/" onmouseover="document.bgColor='navy'">Navy</a>] [<a href="/" onmouseover="document.bgColor='blue'">Blue</a>] [<a href="/" onmouseover="document.bgColor='royalblue'">Royal Blue</a>] [<a href="/" onmouseover="document.bgColor='Skyblue'">Sky Blue</a>]<BR> [<a href="/" onmouseover="document.bgColor='yellow'">Yellow</a>] [<a href="/" onmouseover="document.bgColor='brown'">Brown</a>] [<a href="/" onmouseover="document.bgColor='almond'">Almond</a>] [<a href="/" onmouseover="document.bgColor='white'">White</a>]<BR> [<a href="/" onmouseover="document.bgColor='black'">Black</a>] [<a href="/" onmouseover="document.bgColor='coral'">Coral</a>] [<a href="/" onmouseover="document.bgColor='olivedrab'">Olive Drab</a>] [<a href="/" onmouseover="document.bgColor='orange'">Orange</a>] </CENTER>
لصنع قائمة بريدية يشترك فيها زوار موقعك
<html> <head> <title>JavaFILE</title> <base target="leftframe"> </head> <body BGCOLOR="#ffffff" link="#CC0033" vlink="#333399" alink="#FF0000" <!--content start--> <table WIDTH="96%" BORDER="0" CELLSPACING="5" CELLPADDING="5"> <tr> <font FACE="ARIEL,HELVETICA" SIZE="-1"><form NAME="processor" METHOD="post"> <input type="hidden" name="jumpURL" value="http://www.javafile.com/javascripts/forms/emailform.htm"><div align="center"><center><p>أسـمــــك<br> <input TYPE="text" NAME="name" size="20"></p> </center></div><div align="center"><center><p>بريدك الالكتروني<br> <input TYPE="text" NAME="e-mail" size="20"></p> </center></div> </form> <form NAME="sender" METHOD="post" ENCTYPE="text/plain" ACTION="mailto:alfnan0@ayna.com" onSubmit="return formatFields();"> <input type="hidden" name="name" value><div align="center"><center><p><input TYPE="submit" VALUE="أرسـل"> <input TYPE="reset" VALUE="أمسح" onClick="clearFields();"> </font></p> </center></div> </form> </td> </tr> </table> <!--content stop--> </body> </html>
رساله تضهر عدد مرات دخولك للصفحه
<script language="JavaScript"> function getCookieVal (offset) { var endstr = document.cookie.indexOf (";", offset); if (endstr == -1) endstr = document.cookie.length; return unescape(document.cookie.substring(offset, endstr)); } function GetCookie (name) { var arg = name + "="; var alen = arg.length; var clen = document.cookie.length; var i = 0; while (i < clen) { var j = i + alen; if (document.cookie.substring(i, j) == arg) return getCookieVal (j); i = document.cookie.indexOf(" ", i) + 1; if (i == 0) break; } return null; } function SetCookie (name, value) { var argv = SetCookie.arguments; var argc = SetCookie.arguments.length; var expires = (2 < argc) ? argv[2] : null; var path = (3 < argc) ? argv[3] : null; var domain = (4 < argc) ? argv[4] : null; var secure = (5 < argc) ? argv[5] : false; document.cookie = name + "=" + escape (value) + ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) + ((path == null) ? "" : ("; path=" + path)) + ((domain == null) ? "" : ("; domain=" + domain)) + ((secure == true) ? "; secure" : ""); } function DisplayInfo() { var expdate = new Date(); var visit; expdate.setTime(expdate.getTime() + (24 * 60 * 60 * 1000 * 365)); if(!(visit = GetCookie("visit"))) visit = 0; visit++; SetCookie("visit", visit, expdate, "/", null, false); var message; if(visit == 1) message=" مرحبا بك في دليل وين!"; if(visit== 2) message=" أنت تد خل للمرة الثانيه فمرحبا بك!"; if(visit == 3) message=" انت ايضا *** نتشرف بك ***"; if(visit == 4) message=" هذا الدخول الرابع هل اعجبك الموقع"; if(visit == 5) message=" ارجوا ان تدون كلمه في سجل الزوار "; if(visit == 6) message=" انت تدخل للمرة السادسه هل دونت كلمتك في سجل الزوار"; if(visit == 7) message=" اتمنى ان توفق فيما تبحث عنه"; if(visit == 8) message=" انت حطمت الرقم في عدد مرات الدخول "; if(visit == 9) message=" عزيزي اقترح عليك بأن ترتاح قليلا ربما انك متعب وعود الكرة مرة اخرى لتجد ما تبحث عنه ***مع تحيات أعضاء دليل وين***"; if(visit >= 10) message=" دليل وين يتشرف بك"; alert("\n"+" \n" +" أنت دخلت الصفحه للمره ال "+visit+"\n" +" "+"\n"+"\n" +message); } function ResetCounts() { var expdate = new Date(); expdate.setTime(expdate.getTime() + (24 * 60 * 60 * 1000 * 365)); visit = 0; SetCookie("visit", visit, expdate , "/", null, false); history.go(0); } window.onload=DisplayInfo </script> <form> <p align="center"><input style="border:3px ridge #FF0000; FONT-SIZE: 10pt; COLOR: #FFFFFF; BACKGROUND-COLOR: #3366CC" type="button" name="update" value="اضغط هنا" onclick="history.go(0)"> <input style="border:3px ridge #FF0000; FONT-SIZE: 10pt; COLOR: #FFFFFF; BACKGROUND-COLOR: #3366CC" type="button" name="reset" value=" من جديد" onclick="ResetCounts()"> </p> </form>
كتابة من تحت الى فوق في مستطيل أو مربع حسب رغبتك
<center><marquee direction="up" width="550" height="200" style="TAHOMA: 150%; font-size: 14pt; color: white; border-style: ridge; border-color: #0066FF" bgcolor="#000000" scrolldelay="100" scrollamount="3"><center> <br> <br> <br> السلام عليكم ورحمة الله وبركاته .. كيف حالكم ؟؟ هذي هي الطريقة الأولى وهي من تحت لفوق ... <br> <br> <br> </marquee> <br>
كتابة من فوق الى تحت في مستطيل أو مربع
<center><marquee direction="down" width="550" height="200" style="TAHOMA: 150%; font-size: 14pt; color: white; border-style: ridge; border-color: #0066FF" bgcolor="#000000" scrolldelay="100" scrollamount="3"><center> <br> <br> <br> السلام عليكم ورحمة الله وبركاته .. كيف حالكم ؟؟ هذي هي الطريقة الثانية وهي من فوق لتحت ... <br> <br> <br> </marquee> <br>
لإدراج اطار لموضوعك
<body style="border: 10 solid #855ff0 "> <br>
رســــــــــالة تحــــــــــدي
<p><!--webbot bot="HTMLMarkup" startspan --><p align="center"><font face="MS Dialog Light" size="4"><b> <a href="" onMouseover="alert('ليش تحط الماوس هنا؟'); alert('أنا ما قلت لك لا تضغط هنا؟'); alert('يعني وش اسوي فيك ؟؟'); alert('ليه تفكر أصلا انك تضغط هنا وأنا محذرك؟؟؟'); alert('والله يا انت تورطت '); alert('تحس انك متورط؟ هاه ؟'); alert('تبيني افكك؟'); alert('الحين لازم ترسل لي رسالة تعتذر فيه مني '); alert('وأحسن لك أرسل الرسالةلا أوريك شغلك'); document.bgColor='black'; document.fgColor='Red'; window.location.href='mailto:hammad9@hotmail.com ?subject=ما عليش تكبـــــر وتنســــى';"">جرب قرب ماوسك هنــــا </a> <br> <br> <br> <!--webbot bot="HTMLMarkup" endspan --> <br> <br> <br> </p> <br>
منيو جميل
<html> <head> <title>Cross-browser Dynamic HTML Scripts - SideScrollMenu</title> <style type="text/css"> #divBg{position:absolute; z-index:10; width:200; left:0; height:100; clip:rect(0,10,10,0)} #divMenu{position:absolute; left:15; top:6; font-weight:bold} #divArrowLeft{position:absolute; width:20; height:20; left:0; top:9} #divArrowRight{position:absolute; width:20; height:20; top:9} </style> <script type="text/javascript" language="JavaScript"> /******************************************************************************** Copyright (C) 1999 Thomas Brattli This script is made by and copyrighted to Thomas Brattli at www.bratta.com Visit for more great scripts. This may be used freely as long as this msg is intact! I will also appriciate any links you could give me. ********************************************************************************/ //Default browsercheck, added to all scripts! function checkBrowser(){ this.ver=navigator.appVersion this.dom=document.getElementById?1:0 this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0; this.ie4=(document.all && !this.dom)?1:0; this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0; this.ns4=(document.layers && !this.dom)?1:0; this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5) return this } bw=new checkBrowser() /************************************************************************** Variables to set. ***************************************************************************/ //Updated: Added left and top variables. sLeft=0 //The left placement of the menu sTop=70 //The top placement of the menu //The height of the menu sMenuheight=30 //Width of the arrows sArrowwidth=16 //Scroll speed: (in milliseconds, change this one and the next variable to change the speed) sScrollspeed=20 //Pixels to scroll per timeout. sScrollPx=10 /************************************************************************** Scrolling functions ***************************************************************************/ var tim=0 var noScroll=true function mLeft(){ if(!noScroll && oMenu.x<sArrowwidth){ oMenu.moveBy(sScrollPx,0) tim=setTimeout("mLeft()",sScrollspeed) } } function mRight(){ if(!noScroll && oMenu.x>-(oMenu.scrollWidth-(pageWidth))-sArrowwidth){ oMenu.moveBy(-sScrollPx,0) tim=setTimeout("mRight()",sScrollspeed) } } function noMove(){clearTimeout(tim); noScroll=true} /************************************************************************** Object part ***************************************************************************/ function makeObj(obj,nest,menu){ nest=(!nest) ? '':'document.'+nest+'.' this.css=bw.dom? document.getElementById(obj).style:bw.ie4?document.all[obj].style:bw.ns4?eval(nest+"document.layers." +obj):0; this.evnt=bw.dom? document.getElementById(obj):bw.ie4?document.all[obj]:bw.ns4?eval(nest+"document.layers." +obj):0; this.scrollWidth=bw.ns4?this.css.document.width:this.evnt.offsetWidth this.x=(bw.ns4 || bw.ns5)? this.css.left:this.css.pixelLeft; this.y=(bw.ns4 || bw.ns5)? this.css.top:this.css.pixelTop; this.moveBy=b_moveBy; this.moveIt=b_moveIt; this.showIt=b_showIt;this.clipTo=b_clipTo; return this } function b_moveBy(x,y){this.x=this.x+x; this.y=this.y+y; this.css.left=this.x; this.css.top=this.y} function b_moveIt(x,y){this.x=x; this.y=y; this.css.left=this.x; this.css.top=this.y} function b_clipTo(t,r,b,l){ if(bw.ns4){this.css.clip.top=t; this.css.clip.right=r; this.css.clip.bottom=b; this.css.clip.left=l }else this.css.clip="rect("+t+","+r+","+b+","+l+")"; } function b_showIt(){this.css.visibility="visible"} /************************************************************************** Object part end ***************************************************************************/ /************************************************************************** Init function. Set the placements of the objects here. ***************************************************************************/ function sideInit(){ //Width of the menu, Currently set to the width of the document. //If you want the menu to be 500px wide for instance, just //set the the pageWidth=500 in stead. pageWidth=(bw.ns4 || bw.ns5)?innerWidth:document.body.offsetWidth-20; oBg=new makeObj('divBg') oMenu=new makeObj('divMenu','divBg',1) oArrowRight=new makeObj('divArrowRight','divBg') //Placement oBg.moveIt(sLeft,sTop) //Main div, holds all the other divs. oMenu.moveIt(sArrowwidth,6) oArrowRight.moveIt(pageWidth-sArrowwidth,9) //setting the width and the visible area of the links. if(bw.dom || bw.ie4){ oBg.css.width=pageWidth; oBg.css.overflow="hidden" } oBg.clipTo(0,pageWidth,sMenuheight,0) } //executing the init function on pageload. onload=sideInit; </script> </HEAD> <BODY bgcolor="White"> <div id="divBg"> <div id="divMenu"><table><tr><td nowrap> [<a href="http://www.alwafi2000.com">موقع الوافى</a>] [<a href="http://zzz.z6z.com">دليل وين</a>] [<a href="#">اسم موقع جديد</a>] [<a href="#">اسم موقع جديد</a>] [<a href="#">اسم موقع جديد</a>] [<a href="#">اسم موقع جديد</a>] [<a href="#">اسم موقع جديد</a>] [<a href="#">اسم موقع جديد</a>] [<a href="#">اسم موقع جديد</a>] [<a href="#">اسم موقع جديد</a>] [<a href="#">اسم موقع جديد</a>] [<a href="#">اسم موقع جديد</a>] [<a href="#">اسم موقع جديد</a>] [<a href="#">اسم موقع جديد</a>] [<a href="#">اسم موقع جديد</a>] [<a href="#">اسم موقع جديد</a>] [<a href="#">اسم موقع جديد</a>] [<a href="#">اسم موقع جديد</a>] [<a href="#">اسم موقع جديد</a>] [<a href="http://zzz.z6z.com">دليل وين</a>] [<a href="#">اسم موقع جديد</a>] [<a href="#">اسم موقع جديد</a>] [<a href="#">اسم موقع جديد</a>] [<a href="#">اسم موقع جديد</a>] [<a href="#">اسم موقع جديد</a>] [<a href="#">اسم موقع جديد</a>] [<a href="#">اسم موقع جديد</a>] [<a href="#">اسم موقع جديد</a>] [<a href="#">اسم موقع جديد</a>] [<a href="http://zzz.z6z.com">دليل وين</a>] </td></tr></table> </div> <div id="divArrowLeft"><a href="javascript://" onmouseover="noScroll=false; mLeft()" onmouseout="noMove()"><img src=" http://www.bratta.com/dhtml/scripts/images/arrowleft.gif" width=16 height=21 border=0></A></div> <div id="divArrowRight"><a href="javascript://" onmouseover="noScroll=false; mRight()" onmouseout="noMove()"><img src="http://www.bratta.com/dhtml/scripts/images/arrowright.gif" width=16 height=21 border=0></a></div> </div><br><br> </BODY> </HTML>
منيو تنازلي
<html> <head> <style> span { border:groove 2px; padding:3; font-family:arial; font-size:12; width:100; height:70; background-color:#c0c0c0; position:relative; top:-80; left:-10; } </style> <script language="JavaScript"> function showmenu(elmnt) { elmnt.style.top="-15" } function hidemenu(elmnt) { elmnt.style.top="-80" } </script> </head> <body> <span onmouseover="showmenu(this)" onmouseout="hidemenu(this)"> <a href="../Default.asp">HOME</a><br /> <a href="../html/default.asp">HTML</a><br /><br /><hr /> المواقع الاولى<br /> </span> <span onmouseover="showmenu(this)" onmouseout="hidemenu(this)"> <a href="http://zzz.z6z.com">دليل وين</a><br /> <a href="http://my.netscape.com">Navigator</a><br /><br /><hr /> المواقع الثانية<br /> </span> <span onmouseover="showmenu(this)" onmouseout="hidemenu(this)"> <a href="http://www.altavista.com">Alta Vista</a><br /> <a href="http://www.yahoo.com">Yahoo!</a><br /><br /><hr /> المواقع الثالثة<br /> </span> </body> </html>
مينيو متغير