الرئيسية | الشروط والقوانين | سياسة الخصوصية | اتصل بنا | الأرشيف | RSS |
يمنع منعا باتا وضع موضوع إعلاني |
#1
|
||||
|
||||
[مكتبــــــة أكواد الجافــــا]
السلام عليكم كيف الحال اقدم لكم مكتبة الجافا للفائدة كود:
<SCRIPT language=JavaScript1.2> function bookmarkit(){ window.external.addFavorite('https://ضع عنوان موقعك/','ضع اسم موقعك ') } if (document.all) document.write('<small onClick="bookmarkit()"><font=Tahoma" size=5"><a href="#" class="normal">أضف الموقع للمفضلة</a></font></small>') </SCRIPT> " كود " اجعل الموقع افتراضي لمتصفحك كود:
<A class=normal href="https:///" onclick="this.style.behavior='url(#default#homepage)';this. setHomePage('https://ضع عنوان موقعك هنا');"><FONT color=#0080ff size=2><STRONG> اجعل الموقع افتراضي</STRONG></FONT></A></P> " كود " اضغط هنا لتحديث الصفحة كود:
<A href="javascript:window.location.reload()"><FONT color=#ff0000><STRONG>اضغط هنا لتحديث الصفحة</STRONG></FONT></A> " كود " اطبع الصفحة كود:
<SCRIPT language=JavaScript> <!-- Begin if (window.print) { document.write('<form> ' + '<input type=submit value="اطبع الصفحة" name=Print ' + 'onClick="javascript:window.print()"></form>'); } // End // --></SCRIPT> "كود" اخبر صديقك التركيب: من خطوتين : 1- ضع الكود التالي بمنطقة الـ <head> كود:
<SCRIPT LANGUAGE="JavaScript"> <!-- Begin //Tell-a-friend script //Carl Dimmer var initialsubj="السلام عليكم، شف هالصفحة تبي تعجبك" var initialmsg="مرحبا:\n ولا يفوتك هالموقع تراه رايق: "+window.location var good; function checkEmailAddress(field) { var goodEmail = field.value.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.go v)|(\.org)|(\.info)|(\.sex)|(\.biz)|(\.aero)|(\.co op)|(\.museum)|(\.name)|(\.pro)|(\..{2,2}))$)\b/gi); if (goodEmail) { good = true; } else { alert('يرجى ادخل بريد الكتروني صحيح'); field.focus(); field.select(); good = false; } } u = window.location; function mailThisUrl() { good = false checkEmailAddress(document.eMailer.email); if (good) { //window.location = "mailto:"+document.eMailer.email.value+"?subject="+initialsubj+"&body="+document.title+" "+u; window.location = "mailto:"+document.eMailer.email.value+"?subject="+initialsubj+"&body="+initialmsg } } // End --> </script> كود:
<form name="eMailer"> اخبر صديقك: <input type="text" name="email" size="26" value=" اكتب هنا البريد الالكتروني" onFocus="this.value=''" onMouseOver="window.status='Enter email address here and tell a friend about this site...'; return true" onMouseOut="window.status='';return true"> <br> <input type="button" value="ارسل هذه الصفحة" onMouseOver="window.status='Click to send an email (with this page address) to a friend! Enter email address above...'; return true" onMouseOut="window.status='';return true" onClick="mailThisUrl();"> </form> =-=-==- تقويم ميلادى =-=-=- كود:
<table> <td width="55%" align="right" valign="top" colspan="3" bgcolor="#008000"> <p align="center"> <font face="Monotype Koufi" color="#FFFFFF"><!--webbot bot="HTMLMarkup" startspan --> <p align="center"><b> <script> <!-- START HIDE print1=""; print2=""; print3=""; today = new Date(); weekday = today.getDay(); if (weekday == 6) print1='السبت'; if (weekday == 0) print1='الأحد'; if (weekday == 1) print1='الاثنين'; if (weekday == 2) print1='الثلاثاء'; if (weekday == 3) print1='الاربعاء'; if (weekday == 4) print1='الخميس'; if (weekday == 5) print1='الجمعة'; month = today.getMonth(); if (month == 0) print2='يناير'; if (month == 1) print2='فبراير'; if (month == 2) print2='مارس'; if (month == 3) print2='إبريل'; if (month == 4) print2='مايو'; if (month == 5) print2='يونيو'; if (month == 6) print2='يوليو'; if (month == 7) print2='اغسطس'; if (month == 8) print2='سبتمبر'; if (month == 9) print2='اكتوبر'; if (month == 10) print2='نوفمبر'; if (month == 11) print2='ديسمبر'; date = today.getDate(); year=today.getYear(); document.write (print1,',', date, ' ',print2,', ',year); // STOP HIDE --> </script> </font></p> </td> </tr> </body> </html> <!--webbot bot="HTMLMarkup" endspan --> </font> </table> كود رابط ينقلك مباشرة عند مرور الماوس عليه كود:
<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"> <a href="" onmouseover="parent.location='https://ضع عنوان الرابطة هنا'"><b><font face="Akhbar MT">ضع جملة الرابطة هنا</font></b></A> </body> </html> كود ساعة على شريط المعلومات كود:
<script language="JavaScript"><!-- var timerID = null; var TimerRunning = false; function stop(){ if(TimerRunning) clearTimeout(timerID); TimerRunning = false; } function display() { var thedate = new Date(); var hours = thedate.getHours(); var Min = thedate.getMinutes(); var Sec = thedate.getSeconds(); var TimeV = "" + ((hours >12) ? hours -12 :hours) TimeV += ((Min < 10) ? ":0" : ":") + Min TimeV += ((Sec < 10) ? ":0" : ":") + Sec TimeV += (hours >= 12) ? " P.M." : " A.M." window.status = TimeV; timerID = setTimeout("display()",1000); TimerRunning = true; } function start() { stop(); display(); } start(); // end hide // --></script> كود لتشغيل ملف صوتي عند دخول الزائر كود:
width="250"> <param name="controls" value="ControlPanel"> <param name="nolabels" value="true"> <param name="autostart" value="true"> <param name="console" value="player1"> <embed TYPE="audio/x-pn-realaudio-plugin" NAME="player1" CONTROLS="ControlPanel" HEIGHT=25 WIDTH=250 NOLABELS=TRUE AUTOSTART=TRUE console="player1"> </object> <object id="RAOCXPlayer2" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" height="25" width="250"> <param name="controls" value="StatusBar"> <param name="nolabels" value="true"> <param name="autostart" value="true"> <param name="SRC" value="https://www.uaefm.com/abdullah_rwaishid/tesawar.ram"> <param name="console" value="player1"> <embed TYPE="audio/x-pn-realaudio-plugin" NAME="player2" SRC="https://عنوان الملف الصوتي" CONTROLS="StatusBar" HEIGHT=25 WIDTH=250 NOLABELS=TRUE AUTOSTART=TRUE console="player1"> </object> </center> </td> <td align=center width=150> مواصفات الشاشة كود:
<td width="100%" align="center"> </td> </tr> <tr> <td width="100%" align="center"> <table border="0"> <tr> <td bgcolor="#0066FF"><form method="POST" name="t"> <table border="0"> <tr> <td valign="top" width="150" bgcolor="#0066FF" align="center"><font face="Tahoma" color="#FFFFFF">عرض شاشتك</font></td> <td><font face="Tahoma"><input type="text" size="20" name="t1" value="not supported"></font></td> </tr> <tr> <td valign="top" width="150" bgcolor="#0066FF" align="center"><font face="Tahoma" color="#FFFFFF">ارتفاع شاشتك</font></td> <td><font face="Tahoma"><input type="text" size="20" name="t2" value="not supported"></font></td> </tr> <tr> <td valign="top" width="150" bgcolor="#0066FF" align="center"><font face="Tahoma" color="#FFFFFF">الوان شاشتك</font></td> <td><font face="Tahoma"><input type="text" size="20" name="t3" value="not supported"></font></td> </tr> <tr> <td valign="top" width="150" bgcolor="#0066FF" align="center"><font face="Tahoma" color="#FFFFFF">عمق شاشتك</font></td> <td><font face="Tahoma"><input type="text" size="20" name="t4" value="not supported"></font></td> </tr> </table> </form> </td> </tr> </table> <p align="left"> <script> <!-- function show(){ if (!document.all&&!document.layers) return document.t.t1.value=screen.width document.t.t2.value=screen.height document.t.t3.value=screen.colorDepth document.t.t4.value=screen.pixelDepth } show() //--> </script> كود خلفية صورة ثابتة في الصفحة ويوضع الكود في الهيد كود:
<STYLE TYPE="text/css"> <!-- BODY {background-image: URL(الصورة.gif); background-position: center; background-repeat: no-repeat; background-attachment: fixed;} --> </STYLE> كود باحث في ثلاثة عشر باحث كود:
<SCRIPT language=JavaScript><!-- // START HIDE var MAX_ENGINES = 35; var tp=''; var tpp=''; var find = 'hunt'; var hold=0; var hold2=0; var gog=0; var ap=''; function MakeArray(n) { for (var i = 1; i <= n; i++) { this[i] = 0; } this.maxlen = n; this.len = 0; return this; } var engs = new MakeArray(MAX_ENGINES); function find_substring(needle, haystack) { var i, needlen = needle.length, haylen = haystack.length; for (i=0; i<=haylen-needlen; i++) { if (needle == haystack.substring(i,i+needlen)) return i; } return false; } function Engine(name, opts, home, search) { var gotcha = find_substring(find, search); this.name = name; this.opts = opts; this.home = home; this.pre_gotcha = search.substring(0,gotcha); this.post_gotcha= search.substring(gotcha+find.length, search.length); } function Add(name, opts, home, search) { engs.len++; if (engs.len <= engs.maxlen) { engs[engs.len] = new Engine(name, opts, home, search) } else { alert ('Better increase MAX_ENGINES: ' + engs.Len + '>' + engs.maxlen) } } function DisplayForm() { document.writeln('<FORM Name=Gotchaform OnSubmit="HandleForm(this); return false">'); document.writeln('<strong></strong> <INPUT size=15 name="query">'); document.writeln('<strong></strong> <SELECT name="service">'); for (i=1; i <= engs.len; i++) { document.writeln("<OPTION " + engs[i].opts + "> " + engs[i].name); } document.writeln('</SELECT> <input type=submit value="أبحث"><br>'); document.writeln('</FORM>'); document.Gotchaform.query.focus() } function HandleForm(form){ var i, newq="", oldq=form.query.value; for (i=0; i<oldq.length; i++) { // compress [ ]+ into \+ var thischar = oldq.charAt(i); if (thischar =="+")newq += "%2B"; else if (thischar != ' ') newq += thischar; else if (lastchar != ' ') newq += '+'; lastchar = thischar; } var eng = engs[1+form.service.selectedIndex]; // Window search=window.open(newq ? eng.pre_gotcha + newq + eng.post_gotcha : eng.home,"SmartSearch","scrollbars=yes,toolbar=yes,location=yes,directorie s=yes,status=yes,menubar=yes,resizable=yes,width=' 100%',hight='100%'"); } Add("Alta Vista","SELECTED","https://altavista.digital.com/","https://altavista.digital.com/cgi-bin/query?pg=q&what=web&fmt=d&q=hunt"); Add("Yahoo!","","https://www.yahoo.com/","https://search.yahoo.com/bin/search?p=hunt" ); Add("DejaNews","","https://www.dejanews.com/","https://search.dejanews.com/nph-dnquery.xp?query=hunt&defaultOp=AND&svcclass=dncurrent&maxhits=25"); Add("HotBot","","https://www.search.hotbot.com","https://www.search.hotbot.com/search.html?MT=hunt&DC=25"); Add("Infoseek","","https://www.infoseek.com/Home?pg=Home.html&sv=A2","https://www.infoseek.com/Titles?qt=hunt&col=WW&sv=A2"); Add("Excite","","https://www.excite.com/","https://www.excite.com/search.gw?searchType=Concept&search=hunt&category=default"); Add("Lycos","","https://www.lycos.com/","https://www.lycos.com/cgi-bin/pursuit?query=hunt&backlink=639"); Add("Magellan","","https://www.mckinley.com/","https://www.mckinley.com/extsearch.cgi?query=hunt"); Add("OpenText","","https://search.opentext.com","https://search.opentext.com/omw/simplesearch?SearchFor=hunt&mode=and"); Add("WebCrawler","","https://webcrawler.com/","https://webcrawler.com/cgi-bin/WebQuery?searchText=hunt&maxHits=25"); // Software Add("ZDNet Files","","https://www.zdnet.com/","https://www6.zdnet.com/cgi-bin/texis/swlib/hotfiles/search.html?Usrt=rel&Usrchtype=simple&Utext=hunt"); Add("Filez","","https://www.filez.com/","https://filez.com/cgi/filez.cgi?query=hunt&type=All+Files&hits=50&domain=World&doit=Search/"); Add("Shareware.com","","https://www.shareware.com/","https://search.shareware.com/code/engine/Find?logop=and&cfrom=quick&orfile=True&hits=25&search=hunt&category=All-Categories"); Add("PC Gamer","","https://www.pcgame.com/","https://www.pcgame.com/finder/search.cgi?key=hunt"); // Denmark DisplayForm(); // STOP HIDE // --></SCRIPT> <!--webbot bot="HTMLMarkup" endspan --><!--mstheme--></FONT></P></TD> <TD width="18%"><!--mstheme--><FONT face=Arial><!--mstheme--></FONT></TD></TR> <TR> <TD colSpan=3 width="100%"><!--mstheme--><FONT face=Arial> <P align=center><!--webbot bot="HTMLMarkup" startspan --> <SCRIPT language=Javascript> <!-- function selectAll(theField) { var tempval=eval("document."+theField) tempval.focus() tempval.select() } //--> </SCRIPT> جالب الاخبار من البي بي سي.. على شكل صفحة وعناوين موجزه مدعم كود:
<html> <head> <meta http-equiv="Content-Language" content="ar-sa"> <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 background=bg_game.gif> <script language="JavaScript"> <!-- function stopError() { return true; } window.onerror = stopError; // --> </script> <div align="center"> <center> <table border="0" width="600" cellspacing="0" cellpadding="0" style="font-size: 10pt; font-family: Tahoma; font-weight: bold; border-left: 2 solid #999965; border-right: 2 solid #999965; border-bottom: 1 solid #999965" bgcolor="#999965"> <tr> <td width="245"><div id=Clock align=left DIR="RTL" style="font-family: tahoma; font-size: 10pt; color: #000000; width: 223; height: 19"> </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></td> </center><p align="center"> <td width="130" valign="middle"> <p align="right">B B C أخـــــبـــــار </td> <td width="251" valign="middle" style="color: #000000; font-size: 10pt; font-family: Tahoma; font-weight: bold"> <p align="right"> <script language="javascript"> <!-- ;today = new Date(); date = today.getDate(); weekday = today.getDay();if (weekday == 6) document.write('السبت');if (weekday == 0) document.write('الأحد');if (weekday == 1) document.write('الإثنين');if (weekday == 2) document.write('الثلاثاء');if (weekday == 3) document.write('الأربعاء');if (weekday == 4) document.write('الخميس');if (weekday == 5) document.write('الجمعة');document.write(' ', date,' '); month = today.getMonth();if (month == 0) document.write('/ 1 /');if (month == 1) document.write('/ 2 /');if (month == 2) document.write('/ 3 /');if (month == 3) document.write('/ 4 /');if (month == 4) document.write('/ 5 /');if (month == 5) document.write('/ 6 /');if (month == 6) document.write('/ 7 /');if (month == 7) document.write('/ 8 /');if (month == 8) document.write('/ 9 /');if (month == 9) document.write('/ 10 /');if (month == 10) document.write('/ 11 /');if (month == 11) document.write('/ 12 /');year=today.getYear();document.write (' ', year);// --> </script> </table> </div> <p align="center"><!--webbot bot="HTMLMarkup" startspan --> <script>bgcolor="white";function jnewsitem(title, url, description, image, imagename) { document.writeln( "<tr><td><hr noshade size='0'><a href='" , url , "'>" ); if(image!="") document.writeln( "<img align='left' border='0' alt='" , imagename , "' src='" , image , "'>" ); document.writeln( "<b>" , title , "</b>" ); document.writeln( "</a>" ); document.writeln( "<br>" , description ); document.writeln( "</td></tr>" );}</script><table dir="rtl" border="0" cellpadding="0" cellspacing="0" width="100%"> <script src="https://www.rayed.com/bbcjs.php3"> </script> </table> <!--webbot bot="HTMLMarkup" endspan --> </p> </body> </html> قائمة رهيبة تظهر من الجانب الايسر كود:
<style> <!-- #slidemenubar, #slidemenubar2{ position:absolute; left:-155px; width:160px; top:170px; border:1.5px solid green; background-color:lightyellow; layer-background-color:lightyellow; font:bold 12px Verdana; line-height:20px; } --> </style> <script language="JavaScript1.2"> /* Sliding Menu Bar Script- © Dynamic Drive (www.group.yahoo/group/elmokatel.com) For full source code, installation instructions, 100's more DHTML scripts, and Terms Of Use, visit dynamicdrive.com */ if (document.all) document.write('<div id="slidemenubar2" style="left:-150" onMouseover="pull()" onMouseout="draw()">') </script> <layer id="slidemenubar" onMouseover="pull()" onMouseout="draw()"> <script language="JavaScript1.2"> var sitems=new Array() var sitemlinks=new Array() //extend or shorten this list sitems[0]="الصفحة الرئيسية" sitems[1]="الموقع الاول" sitems[2]="الموقع الثانى" sitems[3]="الموقع الثالث" sitems[4]="الموقع الرابع" sitems[5]="الموقع الخامس" sitems[6]="الموقع السادس" sitems[7]="الموقع السابع" sitems[8]="الموقع الثامن" sitems[9]="الموقع التاسع" sitems[10]="الموقع العاشر" sitems[11]="الموقع الحادى عشر" sitems[12]="الموقع الثانى عشر" //These are the links pertaining to the above text. sitemlinks[0]="هنا تضع المواقع" sitemlinks[1]="؟؟؟؟؟؟؟؟؟؟؟؟؟؟" sitemlinks[2]="؟؟؟؟؟؟؟؟؟؟؟؟؟؟" sitemlinks[3]="؟؟؟؟؟؟؟؟؟؟؟؟؟؟" sitemlinks[4]="؟؟؟؟؟؟؟؟؟؟؟؟؟؟" sitemlinks[5]="؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟" sitemlinks[6]="؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟" sitemlinks[7]="؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟" sitemlinks[8]="؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟" sitemlinks[9]="؟؟؟؟؟؟؟؟؟؟؟؟؟؟" sitemlinks[10]="؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟" sitemlinks[11]="؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟" sitemlinks[12]="؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟" for (i=0;i<=sitems.length-1;i++) document.write('<a href='+sitemlinks[i]+'>'+sitems[i]+'</a><br>') </script> </layer> <script language="JavaScript1.2"> function regenerate(){ window.location.reload() } function regenerate2(){ if (document.layers) setTimeout("window.onresize=regenerate",400) } window.onload=regenerate2 if (document.all){ document.write('</div>') themenu=document.all.slidemenubar2.style rightboundary=0 leftboundary=-150 } else{ themenu=document.layers.slidemenubar rightboundary=150 leftboundary=10 } function pull(){ if (window.drawit) clearInterval(drawit) pullit=setInterval("pullengine()",50) } function draw(){ clearInterval(pullit) drawit=setInterval("drawengine()",50) } function pullengine(){ if (document.all&&themenu.pixelLeft<rightboundary) themenu.pixelLeft+=5 else if(document.layers&&themenu.left<rightboundary) themenu.left+=5 else if (window.pullit) clearInterval(pullit) } function drawengine(){ if (document.all&&themenu.pixelLeft>leftboundary) themenu.pixelLeft-=5 else if(document.layers&&themenu.left>leftboundary) themenu.left-=5 else if (window.drawit) clearInterval(drawit) } </script> باحث سريع في ست شركات بحث كود:
<script language="JavaScript"> <!-- current_site = "Yahoo" var set_def = false function fetch() { if (set_def == true) { set_default = "t" }else{ set_default = "" } tmp = document.SearchForm.Search.value; stmp = ""; for (i=0 ; i <= tmp.length ; i++) { if (tmp.charAt(i) == " ") { stmp = stmp + "+"; } else { stmp = stmp + tmp.charAt(i); } } if (current_site == "Yahoo") { top.location.href = "https://search.yahoo.com/bin/search?p=" + document.SearchForm.Search.value } if (current_site == "AltaVista") { top.location.href = "https://altavista.digital.com/cgi-bin/query?pg=q&what=web&fmt=.&q=" + document.SearchForm.Search.value } if (current_site == "Lycos") { top.location.href = "https://www.lycos.com/cgi-bin/pursuit?adv=%26adv%3B&cat=lycos&matchmode=and&query=" + document.SearchForm.Search.value + "&x=35&y=2" } if (current_site == "Excite") { top.location.href = "https://www.excite.com/search.gw?c=web&search=" + document.SearchForm.Search.value + "&trace=a&x=31&y=20" } if (current_site == "Infoseek") { top.location.href = "https://www.infoseek.com/Titles?qt=" + document.SearchForm.Search.value + "&col=WW&sv=IS&lk=noframes&nh=10" } if (current_site == "HotBot") { top.location.href = "https://www.hotbot.com/?SW=web&SM=MC&MT=" + document.SearchForm.Search.value + "&DC=10&DE=2&RG=NA&_v=2&act.search.x=87&act.search.y=9" } return false; } function toggle_setdef() { set_def = !(set_def); } function setsite(sitenow) { current_site = sitenow; } // --></script> <!-- A1 --> <center><h1>Multiple Search Engines</h1></center> <form method="GET" name="SearchForm" onsubmit="return fetch()"> <center><font size="-1">Yahoo</font><input type="radio" name="SITE" value="Yahoo" checked onclick="setsite('Yahoo')"> <font size="-1">AltaVista</font><input type="radio" name="SITE" value="AltaVista" onclick="setsite('AltaVista')"> <font size="-1">Lycos</font><input type="radio" name="SITE" value="Lycos" onclick="setsite('Lycos')"> <font size="-1">Excite</font><input type="radio" name="SITE" value="Excite" onclick="setsite('Excite')"> <font size="-1">Infoseek</font><input type="radio" name="SITE" value="Infoseek" onclick="setsite('Infoseek')"> <font size="-1">Hotbot</font><input type="radio" name="SITE" value="HotBot" onclick="setsite('HotBot')"></center> <br> <center><input type="Text" name="Search" size=30></center> <br> <br> <center><input type="Submit" name="Submit"></center></form><hr> <!-- --> لعمل قائمة شفافة كود:
<!-- Paste this between the HEAD tags of your html document --> <script language="JavaScript"> var isIE4 = false; function CheckBrowser() { if (navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion.charAt(0) >= 4) { isIE4 = true; }} function mOvr(src,clrOver) { if (!src.contains(event.fromElement)) { src.style.cursor = 'hand'; src.bgColor = clrOver; src.children.tags('A')[0].style.color = '#ffffff';}} function mOut(src,clrIn) { if (!src.contains(event.toElement)) { src.style.cursor = 'default'; src.bgColor = clrIn; src.children.tags('A')[0].style.color = '#ffffff';}} function mClk(src) { if(event.srcElement.tagName=='TD'){src.children.ta gs('A')[0].click();} } function mOvrTop(src,clrOver) { if (!src.contains(event.fromElement)) { src.style.cursor = 'hand'; src.bgColor = clrOver;}} function mOutTop(src,clrIn) { if (!src.contains(event.toElement)) { src.style.cursor = 'default'; src.bgColor = clrIn;}} </script> <!-- Paste this within the BODY of your document. Customize the table, colors, fonts, etc --> <table cellspacing="3" cellpadding="0" border="0" width="420" align="center" bgcolor="#003366"> <tr> <td align="center" width="105" onmouseover="mOvr(this,'#9999cc');" onmouseout="mOut(this,'#666699');" onclick="mClk(this);" bgcolor="#666699"> <a style="color: #FFFFFF" href="https://www.yahoo.com/"><font face="Verdana" size="-2">YAHOO</font></a> </td> <td align="center" width="105" onmouseover="mOvr(this,'#9999cc');" onmouseout="mOut(this,'#666699');" onclick="mClk(this);" bgcolor="#666699"> <a style="color: #FFFFFF" href="https://hotbot.lycos.com/"><font face="Verdana" size="-2">HOTBOT</font></a> </td> <td align="center" width="105" onmouseover="mOvr(this,'#9999cc');" onmouseout="mOut(this,'#666699');" onclick="mClk(this);" bgcolor="#666699"> <a style="color: #FFFFFF" href="https://WWW.CNN.com/"><font face="Verdana" size="-2">CNN</font></a> </td> <td align="center" width="105" onmouseover="mOvr(this,'#9999cc');" onmouseout="mOut(this,'#666699');" onclick="mClk(this);" bgcolor="#666699"> <a style="color: #FFFFFF" href="https://www.faisal1.com/"><font face="Verdana" size="1">موقع فيـصـل</font></a> </td> </tr> </table> ثلوج متساقطة او ورود كود:
<BODY> <SCRIPT LANGUAGE="JavaScript1.2"> <!-- Web Site: https://www.geocities.com/tata982 --> <!-- This script and many more are available free online at --> <!-- The JavaScript Source!! https://javascript.internet.com --> <!-- Begin var no = 25; // snow number var speed = 10; // smaller number moves the snow faster var snowflake = "snow.gif"; var ns4up = (document.layers) ? 1 : 0; // browser sniffer var ie4up = (document.all) ? 1 : 0; var dx, xp, yp; // coordinate and position variables var am, stx, sty; // amplitude and step variables var i, doc_width = 800, doc_height = 600; if (ns4up) { doc_width = self.innerWidth; doc_height = self.innerHeight; } else if (ie4up) { doc_width = document.body.clientWidth; doc_height = document.body.clientHeight; } dx = new Array(); xp = new Array(); yp = new Array(); am = new Array(); stx = new Array(); sty = new Array(); for (i = 0; i < no; ++ i) { dx[i] = 0; // set coordinate variables xp[i] = Math.random()*(doc_width-50); // set position variables yp[i] = Math.random()*doc_height; am[i] = Math.random()*20; // set amplitude variables stx[i] = 0.02 + Math.random()/10; // set step variables sty[i] = 0.7 + Math.random(); // set step variables if (ns4up) { // set layers if (i == 0) { document.write("<layer name=\"dot"+ i +"\" left=\"15\" "); document.write("top=\"15\" visibility=\"show\"><img src=\""); document.write(snowflake + "\" border=\"0\"></layer>"); } else { document.write("<layer name=\"dot"+ i +"\" left=\"15\" "); document.write("top=\"15\" visibility=\"show\"><img src=\""); document.write(snowflake + "\" border=\"0\"></layer>"); } } else if (ie4up) { if (i == 0) { document.write("<div id=\"dot"+ i +"\" style=\"POSITION: "); document.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: "); document.write("visible; TOP: 15px; LEFT: 15px;\"><img src=\""); document.write(snowflake + "\" border=\"0\"></div>"); } else { document.write("<div id=\"dot"+ i +"\" style=\"POSITION: "); document.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: "); document.write("visible; TOP: 15px; LEFT: 15px;\"><img src=\""); document.write(snowflake + "\" border=\"0\"></div>"); } } } function snowNS() { // Netscape main animation function for (i = 0; i < no; ++ i) { // iterate for every dot yp[i] += sty[i]; if (yp[i] > doc_height-50) { xp[i] = Math.random()*(doc_width-am[i]-30); yp[i] = 0; stx[i] = 0.02 + Math.random()/10; sty[i] = 0.7 + Math.random(); doc_width = self.innerWidth; doc_height = self.innerHeight; } dx[i] += stx[i]; document.layers["dot"+i].top = yp[i]; document.layers["dot"+i].left = xp[i] + am[i]*Math.sin(dx[i]); } setTimeout("snowNS()", speed); } function snowIE() { // IE main animation function for (i = 0; i < no; ++ i) { // iterate for every dot yp[i] += sty[i]; if (yp[i] > doc_height-50) { xp[i] = Math.random()*(doc_width-am[i]-30); yp[i] = 0; stx[i] = 0.02 + Math.random()/10; sty[i] = 0.7 + Math.random(); doc_width = document.body.clientWidth; doc_height = document.body.clientHeight; } dx[i] += stx[i]; document.all["dot"+i].style.pixelTop = yp[i]; document.all["dot"+i].style.pixelLeft = xp[i] + am[i]*Math.sin(dx[i]); } setTimeout("snowIE()", speed); } if (ns4up) { snowNS(); } else if (ie4up) { snowIE(); } // End --> </script> </BODY> حكمة تتغير كود:
<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] = "لا إله إلا الله" quotes[0] = "بلادي و إن جارت علي عزيزة" var quote = quotes[rand1] document.write(quote); // End --> لشرح الرابط عند مرور الماوس كود:
head <STYLE TYPE="text/css"> <!-- BODY {OVERFLOW:scroll;OVERFLOW-X:hidden} .DEK {POSITION:absolute;VISIBILITY:hidden;Z-INDEX:200;} //--> </STYLE> وهذا يوضع في الـ body <DIV ID="dek" CLASS="dek"></DIV> <SCRIPT TYPE="text/javascript"> <!-- Xoffset=-60; // modify these values to ... Yoffset= 20; // change the popup position. var nav,old,iex=(document.all),yyy=-1000; if(navigator.appName=="Netscape"){(document.layers)?nav=true:old=true;} if(!old){ var skn=(nav)?document.dek:dek.style; if(nav)document.captureEvents(Event.MOUSEMOVE); document.onmousemove=get_mouse; } function popup(msg,bak){ var content="<TABLE WIDTH=200 BORDER=1 BORDERCOLOR=black CELLPADDING=2 CELLSPACING=0 "+ "BGCOLOR="+bak+"><TD ALIGN=center><FONT COLOR=white SIZE=4>"+msg+"</FONT></TD></TABLE>"; if(old){alert(msg);return;} else{yyy=Yoffset; if(nav){skn.document.write(content);skn.document.c lose();skn.visibility="visible"} if(iex){document.all("dek").innerHTML=content;skn.visibility="visible"} } } function get_mouse(e){ var x=(nav)?e.pageX:event.x+document.body.scrollLeft;s kn.left=x+Xoffset; var y=(nav)?e.pageY:event.y+document.body.scrollTop;sk n.top=y+yyy; } function kill(){ if(!old){yyy=-1000;skn.visibility="hidden";} } //--> </SCRIPT> اما هذه العبارة فتوضع داخل قوسي عنوان الرابطة وذلك بعد علامة التنصيص الاخيره قبل القوس ONMOUSEOVER="popup('Link description here','yellow')"; ONMOUSEOUT="kill()" بهذا الشكل <p align="center"><a href="https://amory.8m.com" ONMOUSEOUT="kill()" ; ONMOUSEOVER="popup('زورونا تجدوا ما يسركم','blue')"><font face="Tahoma">عموري</font></a></p> رقم سري لدخول الصفحة كود:
<form> <p>ENTER USER NAME : <input type="text" name="text2"> </p> <p> ENTER PASSWORD : <input type="password" name="text1"> <input type="button" value="Check In" name="Submit" onclick=javascript:validate(text2.value,"ضع هنا اليوزرنيم",text1.value,"ضع هنا الباسوورد") > </p> </form> <script language = "javascript"> function validate(text1,text2,text3,text4) { if (text1==text2 && text3==text4) load('هنا تضع عنوان صفحة للذي يدخل باسوورد صح'); else { load('هنا تضع عنوان صفحة للذي يدخل باسوورد خطأ'); } } function load(url) { location.href=url; } </script> والف تحية لكم
|
23-02-2005, 07:35 AM | رقم المشاركة : 2 | |
|
كبير يا في آي بي |
|
06-03-2005, 07:16 AM | رقم المشاركة : 3 | |
|
العفو يطولي بعمرك |
|
11-04-2005, 11:05 AM | رقم المشاركة : 4 | |
|
شكور اخوي فعلا كنت ابحث عن اكواد الجافا والف شكر لك |
|
07-04-2006, 06:31 PM | رقم المشاركة : 5 | |
|
يعطيك العافيه |
|
|
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
|
الساعة الآن 05:34 PM
|