الجافا
إليكم مجموعات من بعض اوامر الجافا
التاسعة
<BODY><a href="" onMouseover="alert('وش لقفك تحط الماوس هنا؟'); alert('خلا ص ما عاد تعودها صح'); alert('علشان كذا لا زم ترسل اميل تعتذر فيه؟'); alert('وأحسلك ترسل قبل لا ازعل وانت عارف اذا زعلت وش يبي يصير'); document.bgColor='black'; document.fgColor='Red'; window.location.href='mailto:almuhajir@hotmail.com?subject =أنا أسف جدا';"">Hi!</a> <BODY/>
<b><font size="7" face="Tahoma" color="#80FF80"><SPAN style="position: absolute; filter: dropshadow(offx=3, offy=3, color=aqua); left: 257; top: 200; width: 279; height: 59"> المهاجر نت</SPAN></font></b>
<ilayer name="scroll1" width=170 height=150 clip="0,0,170,150"> <layer name="scroll2" width=170 height=150 bgColor="yellow"> <div id="scroll3" style="width:170;height:150;background-color:yellow;overflow:scroll"> <big></big>هذا الصندوق يمكنك ان تضع به ما تريد من الكلام للفت انتباه الزائر </div> </layer> </ilayer> <script> /* Scrollable content Script- © Dynamic Drive (www.dynamicdrive.com) For full source code, installation instructions, 100's more DHTML scripts, and Terms Of Use, visit dynamicdrive.com */ var nsstyle='display:""' if (document.layers) var scrolldoc=document.scroll1.document.scroll2 function up(){ if (!document.layers) return if (scrolldoc.top<0) scrolldoc.top+=10 temp2=setTimeout("up()",50) } function down(){ if (!document.layers) return if (scrolldoc.top-150>=scrolldoc.document.height*-1) scrolldoc.top-=10 temp=setTimeout("down()",50) } function clearup(){ if (window.temp2) clearInterval(temp2) } function cleardown(){ if (window.temp) clearInterval(temp) } </script> <br><span style="display:none" style=&{nsstyle};><a href="#" onMousedown="up()" onMouseup="clearup()" onClick="return false" onMouseout="clearup()">Up</a> | <a href="#" onMousedown="down()" onMouseup="cleardown()" onClick="return false" onMouseout="cleardown()">Down</a> | <a href="#" onClick="if (document.layers) scrolldoc.top=0;return false">Top</a> | <a href="#" onClick="if (document.layers) scrolldoc.top=scrolldoc.document.height*(-1)+150;return false">Bottom</a></span>
<!-- THREE STEPS TO INSTALL COLOR WHEEL: 1. Put the specified code into the HEAD of your HTML document 2. Add the onLoad event handler to the BODY tag 3. Copy the last coding into the BODY of your HTML document --> <!-- STEP ONE: Copy this code into the BODY of your HTML document --> <HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- Original: Eric Stremming <estremming@hotmail.com> --> <!-- Web Site: http://www.geocities.com/SunsetStrip/Club/5970 --> <!-- This script and many more are available free online at --> <!-- The JavaScript Source!! http://javascript.internet.com --> <!-- Begin var pos = 10; function initArray() { this.length = initArray.arguments.length; for (var i = 0; i < this.length; i++) { this[i] = initArray.arguments[i]; } } var col=new initArray("4b","5b","8b","8b"); function stop() { document.bgColor = '#FFFFFF'; clearTimeout(loopID); } function start() { col[1]="red" col[2]="yellowgreen" col[3]="yellow" col[4]="whitesmoke" col[5]="white" col[6]="wheat" col[7]="violet" col[8]="turquoise" col[9]="tomato" col[10]="thistle" pos++; if (pos<0||pos>10) { pos = 0; } document.bgColor = col[pos]; loopID = setTimeout("start()",50); } // End --> </SCRIPT> <!-- STEP TWO: Add the onLoad event handler to the BODY tag --> <BODY onLoad="start()"> <!-- STEP THREE: Copy this last code into the BODY of your HTML document --> <CENTER> <FORM> <input type="button" value="On" onClick="start()"> <input type="button" value="Off" onClick="stop()"> </FORM> </CENTER> <p><center> <font face="arial, helvetica" size="-2"><br> <a href="http://javascriptsource.com"></a></font> </center><p> <!-- Script Size: 1.55 KB -->
<center> <script language="Javascript"> <!-- //http://go.to/Mr.T document.write("انت تستعمل: <b>"+navigator.appName+" "+navigator.appVersion+"</b>"); //--> </script> </center>
لإكتشاف محتويات السي
<HTML> <HEAD> <TITLE> </TITLE> <SCRIPT> <!-- Activate Cloaking Device //****************************************************** // // Freak Out - Displaying C Drive // // by Tim Wallace (timothy@essex1.com) // //******************************************************* // Called by View Source button - displays text file of source. function viewSource() { alert("\nA text file with source will be loaded to the full window.\n\nUse your browser BACK button to return to the examples."); top.window.location="js-freak.txt"; } // Deactivate Cloaking --> </SCRIPT> </HEAD> <BODY bgColor=00ffff> <CENTER><STRONG><EM> <FONT COLOR=000080 SIZE=+3></FONT> </EM></STRONG></CENTER> <HR WIDTH=450 ALIGN=center SIZE=2> <BR> <TABLE BORDER=0 WIDTH=600 CELLPADDING=10><TR><TD><FONT COLOR=800000><STRONG> <P> <U></U> <BR><BR> <CENTER><FORM> <TABLE BORDER=0 WIDTH=400><TR> <TD align="center"> <INPUT TYPE="button" Value=" اكشف محتويات السى" onClick="window.open('file:///C|/', 'display', 'scrollbars=1')"> </TD><TD align="center">
<script language="JavaScript"> <!-- //http://worldzone.net/arts/damma2000 function backbs(clr) { document.bgColor = clr } //--> </script> <form> <input type="button" value="ازرق فاتح" onclick="backbs('aqua')"> <input type="button" value="اصفر" onclick="backbs('yellow')"> <input type="button" value="أحمر " onclick="backbs('red')"> <input type="button" value="ابيض" onclick="backbs('white')"> <input type="button" value="رصاصي" onclick="backbs('gray')"> </form>
<script> function compute(obj) {obj.expr.value = eval(obj.expr.value)} var one = '1' var two = '2' var three = '3' var four = '4' var five = '5' var six = '6' var seven = '7' var eight = '8' var nine = '9' var zero = '0' var plus = '+' var minus = '-' var multiply = '*' var divide = '/' var decimal = '.' function enter(obj, string) {obj.expr.value += string} function clear(obj) {obj.expr.value = ''} </script> <p align="center"><font color="#000000" size="3" face="Verdana, Arial, Helvetica, sans-serif"><strong>THE BASIC CALCULATOR</strong></font><strong> </strong></p> <form name="calc"> <div align="center"><center><table border="1" bgcolor="#FFEAFF"> <tr> <td colspan="4"><input type="text" size="30" name="expr" action="compute(this.form)"> </td> </tr> <tr> <td><p align="center"><input type="button" value=" 7 " onclick="enter(this.form, seven)"> </p> </td> <td><p align="center"><input type="button" value=" 8 " onclick="enter(this.form, eight)"> </p> </td> <td><p align="center"><input type="button" value=" 9 " onclick="enter(this.form, nine)"> </p> </td> <td><p align="center"><input type="button" value=" / " onclick="enter(this.form, divide)"> </p> </td> </tr> <tr> <td><p align="center"><input type="button" value=" 4 " onclick="enter(this.form, four)"> </p> </td> <td><p align="center"><input type="button" value=" 5 " onclick="enter(this.form, five)"> </p> </td> <td><p align="center"><input type="button" value=" 6 " onclick="enter(this.form, six)"> </p> </td> <td><p align="center"><input type="button" value=" * " onclick="enter(this.form, multiply)"> </p> </td> </tr> <tr> <td><p align="center"><input type="button" value=" 1 " onclick="enter(this.form, one)"> </p> </td> <td><p align="center"><input type="button" value=" 2 " onclick="enter(this.form, two)"> </p> </td> <td><p align="center"><input type="button" value=" 3 " onclick="enter(this.form, three)"> </p> </td> <td><p align="center"><input type="button" value=" - " onclick="enter(this.form, minus)"> </p> </td> </tr> <tr> <td colspan="2"><p align="center"><input type="button" value=" 0 " onclick="enter(this.form, zero)"> </p> </td> <td><p align="center"><input type="button" value=" . " onclick="enter(this.form, decimal)"> </p> </td> <td><p align="center"><input type="button" value=" + " onclick="enter(this.form, plus)"> </p> </td> </tr> <tr> <td colspan="2"><p align="center"><input type="button" value=" = " onclick="compute(this.form)"> </p> </td> <td colspan="2"><p align="center"><input type="reset" value="AC" onclick="clear(this.form)"> </p> </td> </tr> </table> </center></div> </form> <p align="center"> </p> <p align="center"><a href="http://almuhajer.tripod.com/"><font size="4"><strong>الضيف المهاجر</strong></font></a></p> <p align="center"> </p> <p> </p> </body> </html>
© حقوق النشر محفوظة لموقع رحاب المحبة 2002-2003