:كلمة تلحق الموس
أظف مكان النجوم الكلمة التي ستلحق الموس
<HTML> <HEAD> <style>.spanstyle { COLOR: Red; FONT-FAMILY: Verdana; FONT-SIZE: 8pt; FONT-WEIGHT: bold; POSITION: absolute; TOP: -50px; VISIBILITY: visible } </style> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin var x, y; var step = 10; var flag = 0; var message = "************* "; message = message.split(""); var xpos = new Array(); for (i = 0; i <= message.length - 1; i++) { xpos[i] = -50; } var ypos = new Array(); for (i = 0; i <= message.length - 1; i++) { ypos[i]= -50; } function handlerMM(e) { x = (document.layers) ? e.pageX : document.body.scrollLeft + event.clientX; y = (document.layers) ? e.pageY : document.body.scrollTop + event.clientY; flag = 1; } function makesnake() { if (flag == 1 && document.all) { for (i = message.length - 1; i >= 1; i--) { xpos[i] = xpos[i - 1] + step; ypos[i] = ypos[i - 1]; } xpos[0] = x + step; ypos[0] = y; for (i = 0; i < message.length - 1; i++) { var thisspan = eval("span" + (i) + ".style"); thisspan.posLeft = xpos[i]; thisspan.posTop = ypos[i]; } } else if (flag==1 && document.layers) { for (i = message.length - 1; i >= 1; i--) { xpos[i] = xpos[i - 1] + step; ypos[i] = ypos[i - 1]; } xpos[0] = x + step; ypos[0] = y; for (i = 0; i < message.length - 1; i++) { var thisspan = eval("document.span" + i); thisspan.left = xpos[i]; thisspan.top = ypos[i]; } } var timer = setTimeout("makesnake()", 10); } // End --> </script> </HEAD> <body onload="makesnake()" style="OVERFLOW-X: hidden; OVERFLOW-Y: scroll; WIDTH: 100%"> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin for (i = 0; i <= message.length-1; i++) { document.write("<span id='span"+i+"' class='spanstyle'>"); document.write(message[i]); document.write("</span>"); } if (document.layers) { document.captureEvents(Event.MOUSEMOVE); } document.onmousemove = handlerMM; // End --> </script> </BODY>
ساعة
<HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin var onHours = " "; var onMinutes = " "; var onSeconds = " "; var offHours = 0; var offMinutes = 0; var offSeconds = 0; var logSeconds = 0; var logMinutes = 0; var logHours = 0; var OnTimeValue = " "; var OffTimeValue = " "; var PageTimeValue = " "; function getLogonTime() { var now = new Date(); var ampm = (now.getHours() >= 12) ? " P.M." : " A.M." var Hours = now.getHours(); Hours = ((Hours > 12) ? Hours - 12 : Hours); var Minutes = ((now.getMinutes() < 10) ? ":0" : ":") + now.getMinutes(); var Seconds = ((now.getSeconds() < 10) ? ":0" : ":") + now.getSeconds(); OnTimeValue =(" " + Hours + Minutes + Seconds + " " + ampm); onHours = now.getHours(); onMinutes = now.getMinutes(); onSeconds = now.getSeconds(); } function getLogoffTime() { var now = new Date(); var ampm = (now.getHours() >= 12) ? " P.M." : " A.M." var Hours = now.getHours(); Hours = ((Hours > 12) ? Hours - 12 : Hours); var Minutes = ((now.getMinutes() < 10) ? ":0" : ":") + now.getMinutes(); var Seconds = ((now.getSeconds() < 10) ? ":0" : ":") + now.getSeconds(); OffTimeValue =(" " + Hours + Minutes + Seconds + " " + ampm); offHours = now.getHours(); offMinutes = now.getMinutes(); offSeconds = now.getSeconds(); timer(); } function timer() { if (offSeconds >= onSeconds) { logSeconds = offSeconds - onSeconds; } else { offMinutes -= 1; logSeconds = (offSeconds + 60) - onSeconds; } if (offMinutes >= onMinutes) { logMinutes = offMinutes - onMinutes; } else { offHours -= 1; logMinutes = (offMinutes + 60) - onMinutes; } logHours = offHours - onHours; logHours = ((logHours < 10) ? "0" : ":") + logHours; logMinutes = ((logMinutes < 10) ? ":0" : ":") + logMinutes; logSeconds = ((logSeconds < 10) ? ":0" : ":") +logSeconds; PageTimeValue =(" " + logHours + logMinutes + logSeconds); displayTimes(); } function displayTimes() { alert("\nLOG ON TIME : " +OnTimeValue+"\n\nLOG OFF TIME : "+OffTimeValue+"\n\nTIME ON PAGE : " + PageTimeValue); } // End --> </SCRIPT> </HEAD> <BODY onLoad="getLogonTime()"> <CENTER> <FORM> <INPUT TYPE="button" value="Time on Page" onClick="getLogoffTime()"> </FORM> </CENTER>
ترحيب
<!-- 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 BGCOLOR="######" onLoad="alert('????? ?? ????? ??????');" onUnload="alert('?? ???????');"> <CENTER> <A href="" onmouseover="window.open ('');" "ask0@hotmail.com" ""> </a> </body> </html> <!-- Simba says Roar. -->
كلمة تضغط عليها فتخرج قائمة مواقع
<!-- This script came from the public archives of JavaScript Planet at http://www.js-planet.com --> <!-- For more scripts, tutorials, links, discussion forums, help, or anything else JavaScript, --> <!-- Please visit JavaScript Planet at http://www.js-planet.com. Please keep this header intact. --> <body bgcolor=white text=black> <div id=Out0 style="position:relative; left:20; top:+15px; width:90%;" > <span id=Out1 class=Outline style="hand: hand; "></span><b id=Out1 class=Outline style="cursor: hand; ">???? ??? ?????? ??? ???????</b> <div id=Out1details style="display:None; position:relative; left:12;"> <U>http://www.altavista.com/</u> <P> <u>http://www.yahoo.com/</u> <P> <U>http://hotbot.lycos.com/</u> <P> <u>http://www.alwafi2000.com/</u> <P> <U>http://www.msn.com/</u> <P> <u>http://www.microsoft.com/</u> <P> <U>http://download.cnet.com/</u> <P> <u>http://www.google.com/</u> <P> <U>http://www.goto.com/</u> <P> <u>http://www.aol.com/</u> <P> </div> </div> <BR><BR><BR> <script language=JavaScript> function clickHandler() { var targetId, srcElement, targetElement; srcElement = window.event.srcElement; if (srcElement.className == "Outline") { targetId = srcElement.id + "details"; targetElement = document.all(targetId); if (targetElement.style.display == "none") { targetElement.style.display = ""; } else { targetElement.style.display = "none"; } } } document.onclick = clickHandler; </script>
ممنوع أستخدام زر الفأرة الأيمن
<script LANGUAGE="JavaScript"> document.onmousedown=click var times=0 var times2=10 function click() { if ((event.button==2) || (event.button==3)) { if (times>=1) { bye() } alert("???? ????? ??????? ??? ??????? ???? ?????? ???? ????"); times++ } } function AlNadeem() { alert("?? ???? ?? ???? ????"); AlNadeem() }
قائمة
<span id="staticcombo" style="position:absolute;left:0;top:0;visibility:hidden"> <form name="jumpy"> <p><select name="example" size="1" onChange="gone()"> <option value="http://www.yahoo.com">???? ????</option> <option value="http://www.msn.com">?????????</option> <option value="http://www.geocities.com">???????</option> <option value="http://www.cnn.com">?? ?? ??</option> </select> <script language="javascript"> <!-- /*Always-visible combo box credit: Website Abstraction (www.wsabstract.com) Over 400+ free JavaScripts here! */ function gone() { location=document.jumpy.example.options[document.jumpy.example.selectedIndex].value } //--> </script> <input type="button" name="test" value="????" onClick="gone()"> </p> </form> </span> <script language="JavaScript1.2"> var combowidth='' var comboheight='' function initialize(){ if (document.all){ combowidth=staticcombo.offsetWidth comboheight=staticcombo.offsetHeight setInterval("staticit_ie()",50) staticcombo.style.visibility="visible" } else if (document.layers){ combowidth=document.staticcombo.document.width comboheight=document.staticcombo.document.height setInterval("staticit_ns()",50) document.staticcombo.visibility="show" } } function staticit_ie(){ staticcombo.style.pixelLeft=document.body.scrollLeft+document.body.clientWidth-combowidth-30 staticcombo.style.pixelTop=document.body.scrollTop+document.body.clientHeight-comboheight } function staticit_ns(){ document.staticcombo.left=pageXOffset+window.innerWidth-combowidth-30 document.staticcombo.top=pageYOffset+window.innerHeight-comboheight } window.onload=initialize </script>
آلة حاسبة
<FORM NAME="Calc"> <TABLE BORDER=4> <TR> <TD> <INPUT TYPE="text" NAME="Input" Size="16"> <br> </TD> </TR> <TR> <TD> <INPUT TYPE="button" NAME="one" VALUE=" 1 " OnClick="Calc.Input.value += '1'"> <INPUT TYPE="button" NAME="two" VALUE=" 2 " OnCLick="Calc.Input.value += '2'"> <INPUT TYPE="button" NAME="three" VALUE=" 3 " OnClick="Calc.Input.value += '3'"> <INPUT TYPE="button" NAME="plus" VALUE=" + " OnClick="Calc.Input.value += ' + '"> <br> <INPUT TYPE="button" NAME="four" VALUE=" 4 " OnClick="Calc.Input.value += '4'"> <INPUT TYPE="button" NAME="five" VALUE=" 5 " OnCLick="Calc.Input.value += '5'"> <INPUT TYPE="button" NAME="six" VALUE=" 6 " OnClick="Calc.Input.value += '6'"> <INPUT TYPE="button" NAME="minus" VALUE=" - " OnClick="Calc.Input.value += ' - '"> <br> <INPUT TYPE="button" NAME="seven" VALUE=" 7 " OnClick="Calc.Input.value += '7'"> <INPUT TYPE="button" NAME="eight" VALUE=" 8 " OnCLick="Calc.Input.value += '8'"> <INPUT TYPE="button" NAME="nine" VALUE=" 9 " OnClick="Calc.Input.value += '9'"> <INPUT TYPE="button" NAME="times" VALUE=" x " OnClick="Calc.Input.value += ' * '"> <br> <INPUT TYPE="button" NAME="clear" VALUE=" c " OnClick="Calc.Input.value = ''"> <INPUT TYPE="button" N
التالى