الجافا
إليكم مجموعات من بعض اوامر الجافا
الثامنة
<p><a href="javascript:window.external.AddFavorite('http://almuhajer.tripod.com',%20'(((%20أهلا وسهلا بكم في عالم الضيف المهاجر%20)))')"><font color="#5A5A2E" size="4"><strong>أضف موقع عالم الضيف المهاجر في المفضلة لديك</strong></font></a></p>
<!-- The JavaScript Source!! http://almuhajer.tripod.com --> <!--[if IE]> <p align="center"><b><font color="#FF0000" size="3" face="Monotype Koufi"><a HREF onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://almuhajer.tripod.com');">لجعل هذا الموقع هو الموقع الافتراضي لمتصفحك اضغط هنا</a> <![endif]-->
<script language="JavaScript"> <!-- The JavaScript Source!! http://worldzone.net/arts/damma2000 --> function vote () { vote4alnadeem=window.open("http://arank.com/cgi-bin/rank/rankem.cgi?id=bnturki&ses=A5k5K5KC"); } function cancel () {} if (confirm("أشرايك ترشحني لأفضل 100 موقع عربي")) { vote(); } else cancel() // --></script>
<script language="JavaScript"> <!-- var x = 0 var speed = 300 var text = " أهلا بكم في عالم الضيف المهاجر" function Blinky() { window.status = text setTimeout("Blinky2()", speed) } function Blinky2() { window.status = " " setTimeout("Blinky()", speed) } Blinky() //--> </script>
<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="Search"><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,directories=yes,status=yes,menubar=yes,resizable=yes,width='100%',hight='100%'"); } Add("Alta Vista","SELECTED","http://altavista.digital.com/","http://altavista.digital.com/cgi-bin/query?pg=q&what=web&fmt=d&q=hunt"); Add("Yahoo!","","http://www.yahoo.com/","http://search.yahoo.com/bin/search?p=hunt" ); Add("DejaNews","","http://www.dejanews.com/","http://search.dejanews.com/nph-dnquery.xp?query=hunt&defaultOp=AND&svcclass=dncurrent&maxhits=25"); Add("HotBot","","http://www.search.hotbot.com","http://www.search.hotbot.com/search.html?MT=hunt&DC=25"); Add("Infoseek","","http://www.infoseek.com/Home?pg=Home.html&sv=A2","http://www.infoseek.com/Titles?qt=hunt&col=WW&sv=A2"); Add("Excite","","http://www.excite.com/","http://www.excite.com/search.gw?searchType=Concept&search=hunt&category=default"); Add("Lycos","","http://www.lycos.com/","http://www.lycos.com/cgi-bin/pursuit?query=hunt&backlink=639"); Add("Magellan","","http://www.mckinley.com/","http://www.mckinley.com/extsearch.cgi?query=hunt"); Add("OpenText","","http://search.opentext.com","http://search.opentext.com/omw/simplesearch?SearchFor=hunt&mode=and"); Add("WebCrawler","","http://webcrawler.com/","http://webcrawler.com/cgi-bin/WebQuery?searchText=hunt&maxHits=25"); // Software Add("ZDNet Files","","http://www.zdnet.com/","http://www6.zdnet.com/cgi-bin/texis/swlib/hotfiles/search.html?Usrt=rel&Usrchtype=simple&Utext=hunt"); Add("Filez","","http://www.filez.com/","http://filez.com/cgi/filez.cgi?query=hunt&type=All+Files&hits=50&domain=World&doit=Search/"); Add("Shareware.com","","http://www.shareware.com/","http://search.shareware.com/code/engine/Find?logop=and&cfrom=quick&orfile=True&hits=25&search=hunt&category=All-Categories"); Add("PC Gamer","","http://www.pcgame.com/","http://www.pcgame.com/finder/search.cgi?key=hunt"); // Denmark DisplayForm(); // STOP HIDE // --></script>
محرك بحث1
<script language="JavaScript"> <!-- Begin function icqCheck() { var number = document.ICQ.number.value; text = "<html><body><center><br>" + number + " is: <img src=http://online.mirabilis.com/" + "scripts/online.dll?icq=" + number + "&img=5> " + "</body></html>"; windowprops = "toolbar=no,width=150,height=25," + "directories=no,status=no,scrollbars=no,resize=no," + "menubar=no"; icqWindow=window.open("","displayWindow",windowprops) icqWindow.document.write(text); icqWindow.document.close(); icqWindow.focus(); } // End --> </script> <!-- --><form name=ICQ> <div center>رقم الايسيكيو <input type=text name=number size=10 value=""><br> <input type=button name=check value="ابحث عن صديقى" onClick="icqCheck()"> </div> </form><!-- -->
<SCRIPT> <!-- hide this script from non-JavaScript browsers // All code in this script is Copyright(C) 1996, Justin Boyan, jab+j@cs.cmu.edu // For documentation and more info, see: http://www.cs.cmu.edu/~jab/snark/ // This is SNARK Version 1.0, 18 May 1996 var MAX_ENGINES = 30; var SNARK_STRING = "hunting+the+snark"; 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 snark = find_substring(SNARK_STRING, search); this.name = name; this.opts = opts; this.home = home; this.pre_snark = search.substring(0,snark); this.post_snark= search.substring(snark+SNARK_STRING.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) } } // ADD YOUR OWN SEARCH ENGINES BELOW. (See http://www.cs.cmu.edu/~jab/snark/ ) Add("Netnews: AltaVista", "", "http://altavista.digital.com/", "http://altavista.digital.com/cgi-bin/query?pg=q&what=news&fmt=d&q=hunting+the+snark" ); Add("Shareware/Windows", "", "http://vsl.cnet.com/", "http://vsl.cnet.com/cgi-bin/vsl-master/Find?category=MS-Windows%28all%29&search=hunting+the+snark&logop=and&and=&orfile=++&hits=200" ); Add("Shareware/Unix", "", "http://vsl.cnet.com/", "http://vsl.cnet.com/cgi-bin/vsl-master/Find?category=UNIX&search=hunting+the+snark&logop=and&and=&orfile=++&hits=200" ); Add("the Web: AltaVista", "SELECTED", "http://altavista.digital.com/", "http://altavista.digital.com/cgi-bin/query?pg=q&what=web&fmt=d&q=hunting+the+snark" ); Add("the Web: Lycos", "", "http://www.lycos.com/", "http://twelve.srv.lycos.com/cgi-bin/pursuit?query=hunting+the+snark" ); Add("the Web: Yahoo!", "", "http://www.yahoo.com/", "http://search.yahoo.com/bin/search?p=hunting+the+snark" ); Add("Weather (City, ST)", "", "http://www.nnic.noaa.gov/cgi-bin/page?pg=netcast", "http://www.nnic.noaa.gov/cgi-bin/netcast.do-it?state=hunting+the+snark&area=Local+Forecast&html=yes&match=strong"); // ADD YOUR OWN SEARCH ENGINES ABOVE. (See http://www.cs.cmu.edu/~jab/snark/ ) function HandleForm(form) { form.submit(); // This fixes a mysterious Netscape bug. Without this line, // you can't use <enter> to start the search the first time. var i, oldq=form.query.value, newq=""; for (i=0; i<oldq.length; i++) { // compress [ ]+ into \+ var thischar = oldq.charAt(i); if (thischar != ' ') newq += thischar; else if (lastchar != ' ') newq += '+'; lastchar = thischar; } var eng = engs[1+form.service.selectedIndex]; location.href = newq ? eng.pre_snark + newq + eng.post_snark : eng.home; } function DisplayForm() { document.writeln('<CENTER><FORM OnSubmit="HandleForm(this); return false">'); document.writeln('كلمه البحث<SELECT name="service">'); for (i=1; i <= engs.len; i++) { document.writeln("<OPTION " + engs[i].opts + "> " + engs[i].name); } document.writeln('</SELECT>اختر محرك البحث <INPUT size=26 name="query">'); document.writeln('<input type=submit value="ابحث">'); document.writeln('</FORM> </CENTER>'); } DisplayForm(); // done hiding from old browsers --> </SCRIPT>
© حقوق النشر محفوظة لموقع رحاب المحبة 2002-2003