المنتدى
اكواد جافا
بحث في الصفحة
لمشاهدة مصدر الصفحة
<script language="JavaScript"> <!-- Begin var NS4 = (document.layers); var IE4 = (document.all); var win = this; var n = 0; function findInPage(str) { var txt, i, found; if (str == "") return false; if (NS4) { if (!win.find(str)) while(win.find(str, false, true)) n++; else n++; if (n == 0) alert(str + " was not found on this page."); } if (IE4) { txt = win.document.body.createTextRange(); for (i = 0; i <= n && (found = txt.findText(str)) != false; i++) { txt.moveStart("character", 1); txt.moveEnd("textedit"); } if (found) { txt.moveStart("character", -1); txt.findText(str); txt.select(); txt.scrollIntoView(); n++; } else { if (n > 0) { n = 0; findInPage(str); } else alert(str + " was not found on this page."); } } return false; } // End --> </script> <form name="search" onsubmit="return findInPage(this.string.value);"> <p align="center"><font color="#800080" size="4"><strong>ابحث</strong></font> <input type="text" size="15" name="string" onchange="n = 0;"> </p> </form> <p align="center"><a href="http://amory.8m.com"><strong><font color="#0000FF" size="4">AMORY</font></strong></a></p>
<p align="center"> <script> <!-- /* View-source script credit: By Website Abstraction () Over 200+ free JavaScripts here! */ function viewthesource(){ window.location="view-source:"+window.location } //--> </script> <p align="center"><a href="javascript:viewthesource()"><b>شاهد مصدر الصفحة</b></a> </p> <p align="center"> </p> <p align="center"><a href="http://"><font size="5" face="arial"><strong>AMORY</strong></font></a><font size="5" face="arial"><strong> </strong></font></p>
ساعة على شريط العنوان
تحديث الصفحة تلقائيا
<SCRIPT Language="JavaScript"> <!-- Hide /* This script was written by Mike Cullen, 1999 Featured on Dynamic Drive () For full source code, installation instructions and many more DHTML scripts */ var scroller; var ampm; var actualtitle=document.title+" " function antiMilitaryTime() { if (hr == "12"){ ampm="P.M." } else if (hr == "13"){ hr="1" ampm="P.M." } else if (hr == "14"){ hr="2" ampm="P.M." } else if (hr == "15"){ hr ="3" ampm="P.M." } else if (hr == "16"){ hr = "4" ampm="P.M." } else if (hr == "17"){ hr = "5" ampm="P.M." } else if (hr == "18"){ hr = "6" ampm="P.M." } else if (hr == "19"){ hr = "7" ampm="P.M." } else if (hr == "20"){ hr = "8" ampm="P.M." } else if (hr == "21"){ hr = "9" ampm="P.M." } else if (hr == "22"){ hr = "10" ampm="P.M." } else if (hr == "23"){ hr = "11" ampm="P.M." } else if (hr == "24"){ hr = "12" } } function addZero(){ if (min <= "9"){ min = "0"+min } if (sec<= "9"){ sec = "0"+sec } if (hr <="9"){ hr = "0"+hr } } function time(){ dt=new Date() sec=dt.getSeconds() hr=dt.getHours() ampm="A.M." min=dt.getMinutes() } function scroll() { time() antiMilitaryTime() addZero() var scroller="TIME: "+hr+":"+min+":"+sec+" "+ampm var timeout=setTimeout("scroll()", 1000) document.title=actualtitle+scroller } if (document.all) scroll() //--> </SCRIPT>
<script> <!-- /* Auto Refresh Page with Time script By Website Abstraction (http://amory.8m.com) Over 200+ free scripts here! */ //enter refresh time in "minutes:seconds" Minutes should range from 0 to inifinity. Seconds should range from 0 to 59 var limit="01:10" if (document.images){ var parselimit=limit.split(":") parselimit=parselimit[0]*60+parselimit[1]*1 } function beginrefresh(){ if (!document.images) return if (parselimit==1) window.location.reload() else{ parselimit-=1 curmin=Math.floor(parselimit/60) cursec=parselimit%60 if (curmin!=0) curtime=curmin+" : دقيقة ... لتحديث الصفحة " else curtime=cursec+" : ثانية ... لتحديث الصفحة " window.status=curtime setTimeout("beginrefresh()",1000) } } window.onload=beginrefresh //--> </script>
زلزال
ساعة في الصفحة
<script language="JavaScript1.2"> <!-- Begin function shake(n) { if (self.moveBy) { for (i = 10; i > 0; i--) { for (j = n; j > 0; j--) { self.moveBy(0,i); self.moveBy(i,0); self.moveBy(0,-i); self.moveBy(-i,0); } } } } // End --> </script> <form> <p align="center"><input type="button" value="زلزل الصفحة" onclick="shake(2)"> </p> </form> <p align="center"><a href="http://amory.8m.com"><strong><font color="#0000FF" size="4">AMORY</font></strong></a></p>
<BODY onunload="stopTimer()" onLoad="startTimer()" > <SCRIPT> <!-- hide from non JS browsers. //Define a couple of global variables. var timerID = null var timerRunning = false function stopTimer(){ //stop the clock if(timerRunning) { clearTimeout(timerID) timerRunning = false } } function startTimer(){ // Stop the clock (in case it's running), then make it go. stopTimer() runClock() } function runClock(){ document.clock.face.value = timeNow() //Notice how setTimeout() calls its own calling function, runClock(). timerID = setTimeout("runClock()",1000) timerRunning = true } function timeNow() { //Grabs the current time and formats it into hh:mm:ss am/pm format. now = new Date() hours = now.getHours() minutes = now.getMinutes() seconds = now.getSeconds() timeStr = "" + ((hours > 12) ? hours - 12 : hours) timeStr += ((minutes < 10) ? ":0" : ":") + minutes timeStr += ((seconds < 10) ? ":0" : ":") + seconds timeStr += (hours >= 12) ? " PM" : " AM" return timeStr } // End of custom functions, stop hiding code --> </SCRIPT> <p> <CENTER><P><FORM NAME="clock"><INPUT TYPE="text" NAME="face" SIZE=11></FORM><p> </body>
عدم استخدام الزر الايمن
ساعة إلكترونية كاملة
<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 bye() { alert("لا تقول ما حذرتني ... تحمل ما جاك"); bye() } </script>
<html> <head> <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="white"> <div align="CENTER" id="Clock" style="COLOR: Blue; FONT-FAMILY: Tahoma; FONT-SIZE: x-small; font-weight: normal; text-align: center;" dir="LTR"></div>
الة حاسبة
حقل تضع فيه رقم الآي بي ويحدد لك الهوية
<HTML> <HEAD> <CENTER><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> </TD> </TR> </TABLE> </P> </TD> </TR> </TABLE> </FORM></P></CENTER> <P></P> </BODY> </HTML>
<HTML> <HEAD> <META NAME=GENERATOR CONTENT=""> <X-CLARIS-WINDOW TOP=0 BOTTOM=315 LEFT=0 RIGHT=628> <X-CLARIS-TAGVIEW MODE=minimal> </HEAD> <BODY> <P><html> <head> <title>alholaisi.cjb.net</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="GENERATOR" content="Microsoft FrontPage 3.0"> <style> //--> </style> <meta http-equiv="Content-Type" content="text/html; "> <meta name="GENERATOR" content="Microsoft FrontPage 3.0"> </head></P> <P> </P> <P><TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=660 HEIGHT=1> <TR> <TD VALIGN=top WIDTH=430 HEIGHT=1> <P><FORM ACTION="http://www.ripe.net/cgi-bin/whois" METHOD=POST enctype="application/x-www-form-urlencoded" target="_blank"> <P><div align="center"></P> <CENTER><INPUT TYPE=text NAME=query VALUE="ضع الآي بي" SIZE=17 style="color: rgb(0,128,0)"> <INPUT TYPE=submit NAME=Submit VALUE="حدد هويته" style="background-color: rgb(128,0,0); color: rgb(232,204,164)"></CENTER> <P></div> </FORM></P> </TD> </TR> </TABLE> </P> </BODY> </HTML>
امر طباعة للصفحة
درجة وضوح الشاشة
<SCRIPT Language="Javascript"> /* This script is written by Eric (Webcrawl@usa.net) For full source code, installation instructions, 100's more DHTML scripts, and Terms Of Use, visit dynamicdrive.com */ function printit(){ if (NS) { window.print() ; } else { var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>'; document.body.insertAdjacentHTML('beforeEnd', WebBrowser); WebBrowser1.ExecWB(6, 2);//Use a 1 vs. a 2 for a prompting dialog box WebBrowser1.outerHTML = ""; } } </script> <SCRIPT Language="Javascript"> var NS = (navigator.appName == "Netscape"); var VERSION = parseInt(navigator.appVersion); if (VERSION > 3) { document.write('<form><input type=button value="اطبع الصفحة" name="Print" onClick="printit()"></form>'); } </script>
<script Language="JavaScript"> document.write(screen.width + " x " + screen.height) </script>
دردشه - شات - الشات - الدردشه - دردشة - التشات - الديجي شات