استعمل مربع البحث في الاسفل لمزيد من المواضيع
سريع للبحث عن مواضيع في المنتدى
-
10-31-2013, بتوقيت غرينيتش 11:36 PM
#1
اكواد جافا جديدة
ط§ظƒظˆط§ط¯ ط¬ط§ظپط§ ط¬ط¯ظٹط¯ط©
هذا الكود code لعمل تحية للزوار على حسب الوقت
رمز Code:
<center> <script language="Javascript"> <!-- day = new Date() hr = day.getHours() hr1 = hr - 12 if (hr < "8"
{ ********.write("بسك روح أرقد؟؟! ارحم نفسك.. مب زين السهر زياده يضر صحتك .. الساعة الان "+hr+"بعد منتصف الليل "
} else if (hr < "12"
{ ********.write("صباح الخير .. يارب يكون صباحك حلو وممتع .. أتمنى لك يوم سعيد(@@).. الساعة الان "+hr+"صباحاً "
} else if (hr < "15"
{ ********.write(" اذا تغدية بالصحة والعافية ! وأذا ما تغدية روح تغدى .. صارت الساعة "+hr1+"ظهراً"
} else if (hr < "21"
{ ********.write("مساء الخيروالاحساس والطيبه .. الساعة الان "+hr1+" "
} else if (hr < "23"
{ ********.write("يسعد مساك وأقاتك ممكن طلب .. أذا شفت أي وصلة لا تعمل خبرني عنها في الايميل ..الساعة الحين "+hr1+"مساءً "
} else if (hr > "10"
{ ********.write("تصبح على خير.. صارت الساعه "+hr1+" ليلاً "
} //--> //http://www.khayma.com/hamed </script> </center>
هذا الكود code لطلب ترشيح من الزائر عند فتح الصفحة
رمز Code:
<script language="JavaScript"> <!-- The JavaScript Source!! http://www.shuala.cjb.net--> function vote () { vote4alnadeem=window.open("http://www.arank.com/cgi-bin/rank/rankem.cgi?action=in&id=shuala"
; } function cancel () {} if (confirm("ممكن ترشحني لأفضل 100 موقع عربي؟؟"
) { vote(); } else cancel() // --></script>
هذا الكود code لوضع زر في الصفحة عند الضغط عليه تقوم الصفحة بالتحديث update اتوماتيكيا
رمز Code:
<input type="Button" name="lukk" value=" قم بتجديدالصفحة دائماً" style="font-size: x-small; font-family: Tahoma; font-weight: normal; color: BLAC; background-color: #FFFFC6;" onClick="javascript:location.reload()">
هذا الكود code لعمل تاريخ لموقعك بطريقة جميلة جداً
رمز Code:
<img src="http://cgibin.erols.com/cgi-bin/Count.cgi?display=date&dformat=DDMMYY&ft=3&tr=N&dd =C">
هذا الكود code لجعل الوصلات بدون خط وعندما تمر عليها الفأرة تتغير الوانها
رمز Code:
<style> <!-- A:link {text-decoration: none; color:00009c ;} A:visited {text-decoration: none; color: 00009c ;} A:active {text-decoration: none; color:0000ff ; } A:hover {text-decoration: underline;color:ff0000 ;} //--> </style>
محرك بحث رائع لاكثر من ستة مواقع عالمية
رمز Code:
<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() { ********.writeln('<FORM Name=Gotchaform OnSubmit="HandleForm(this); return false">'); ********.writeln('<strong></strong> <INPUT size=15 name="query">'); ********.writeln('<strong></strong> <SELECT name="service">'); for (i=1; i <= engs.len; i++) { ********.writeln("<OPTION " + engs[i].opts + "> " + engs[i].name); } ********.writeln('</SELECT> <input type=submit value="Search"><br>'); ********.writeln('</FORM>'); ********.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,statu s=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=dncur rent&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&q uot
; 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","","h ttp://www.shareware.com/","http://search.shareware.com/code/engine/Find?logop=and&cfrom=quick&orfile=True&hits=25&sea rch=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>
هذا الكود code لطلب الاسم عند دخول الصفحة ويلحقه ترحيب
رمز Code:
<SCRIPT LANGUAGE="Javascript"> //http://www.alsaher.net name=window.prompt("ادخل أسمك.","هنا "
; ********.write("<H1 align=center>أهلا وسهلا بك يا! "+name+".</H1>"
//--> </script>
هذا الكود code لإضافة صورة ثابتة في الخلفية لا تتحرك
رمز Code:
<script language="JavaScript1.2"> if (********.all) ********.body.style.cssText="background:white url(question.gif) no-repeat fixed center center" </script>
هذا الكود code لجعل الصفحة تتحرك اتوماتيكيا من الاعلى الى الأسفل
رمز Code:
<script language="JavaScript1.2"> //change 1 to another integer to alter the scroll speed. Greater is faster var speed=1 var currentpos=0,alt=1,curpos1=0,curpos2=-1 function initialize(){ startit() } function scrollwindow(){ if (********.all) temp=********.body.scrollTop else temp=window.pageYOffset if (alt==0) alt=1 else alt=0 if (alt==0) curpos1=temp else curpos2=temp if (curpos1!=curpos2){ if (********.all) currentpos=********.body.scrollTop+speed else currentpos=window.pageYOffset+speed window.scroll(0,currentpos) } else{ currentpos=0 window.scroll(0,currentpos) } } function startit(){ setInterval("scrollwindow()",10) } window.onload=initialize </script>
هذا الكود code لإضافة آلة حاسبة
رمز Code:
<!-- ONE STEP TO INSTALL ADVANCED CALCULATOR: 1. Paste the coding into the BODY of your HTML ******** --> <!-- STEP ONE: Copy this code into the BODY of your HTML ******** --> <BODY> <CENTER> <FORM name="Keypad" action=""> <!-- Original: http://www.dummyproof.com/javascripts --> <!--Total Java Scripts 99 - Next Step Software--> <TABLE> <B> <TABLE border=2 width=50 height=60 cellpadding=1 cellspacing=5> <TR> <TD colspan=3 align=middle> <input name="ReadOut" type="Text" size=24 value="0" width=100%> </TD> <TD </TD> <TD> <input name="btnClear" type="Button" value=" C " onclick="Clear()"> </TD> <TD><input name="btnClearEntry" type="Button" value=" CE " onclick="ClearEntry()"> </TD> </TR> <TR> <TD> <input name="btnSeven" type="Button" value=" 7 " onclick="NumPressed(7)"> </TD> <TD> <input name="btnEight" type="Button" value=" 8 " onclick="NumPressed(8)"> </TD> <TD> <input name="btnNine" type="Button" value=" 9 " onclick="NumPressed(9)"> </TD> <TD> </TD> <TD> <input name="btnNeg" type="Button" value=" +/- " onclick="Neg()"> </TD> <TD> <input name="btnPercent" type="Button" value=" % " onclick="Percent()"> </TD> </TR> <TR> <TD> <input name="btnFour" type="Button" value=" 4 " onclick="NumPressed(4)"> </TD> <TD> <input name="btnFive" type="Button" value=" 5 " onclick="NumPressed(5)"> </TD> <TD> <input name="btnSix" type="Button" value=" 6 " onclick="NumPressed(6)"> </TD> <TD> </TD> <TD align=middle><input name="btnPlus" type="Button" value=" + " onclick="Operation('+')"> </TD> <TD align=middle><input name="btnMinus" type="Button" value=" - " onclick="Operation('-')"> </TD> </TR> <TR> <TD> <input name="btnOne" type="Button" value=" 1 " onclick="NumPressed(1)"> </TD> <TD> <input name="btnTwo" type="Button" value=" 2 " onclick="NumPressed(2)"> </TD> <TD> <input name="btnThree" type="Button" value=" 3 " onclick="NumPressed(3)"> </TD> <TD> </TD> <TD align=middle><input name="btnMultiply" type="Button" value=" * " onclick="Operation('*')"> </TD> <TD align=middle><input name="btnDivide" type="Button" value=" / " onclick="Operation('/')"> </TD> </TR> <TR> <TD> <input name="btnZero" type="Button" value=" 0 " onclick="NumPressed(0)"> </TD> <TD> <input name="btnDecimal" type="Button" value=" . " onclick="Decimal()"> </TD> <TD colspan=3> </TD> <TD> <input name="btnEquals" type="Button" value=" = " onclick="Operation('=')"> </TD> </TR> </TABLE> </TABLE> </B> </FORM> </CENTER> <font face="Verdana, Arial, Helvetica" size=2> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin var FKeyPad = ********.Keypad; var Accum = 0; var FlagNewNum = false; var PendingOp = ""; function NumPressed (Num) { if (FlagNewNum) { FKeyPad.ReadOut.value = Num; FlagNewNum = false; } else { if (FKeyPad.ReadOut.value == "0"
FKeyPad.ReadOut.value = Num; else FKeyPad.ReadOut.value += Num; } } function Operation (Op) { var Readout = FKeyPad.ReadOut.value; if (FlagNewNum && PendingOp != "="
; else { FlagNewNum = true; if ( '+' == PendingOp ) Accum += parseFloat(Readout); else if ( '-' == PendingOp ) Accum -= parseFloat(Readout); else if ( '/' == PendingOp ) Accum /= parseFloat(Readout); else if ( '*' == PendingOp ) Accum *= parseFloat(Readout); else Accum = parseFloat(Readout); FKeyPad.ReadOut.value = Accum; PendingOp = Op; } } function Decimal () { var curReadOut = FKeyPad.ReadOut.value; if (FlagNewNum) { curReadOut = "0."; FlagNewNum = false; } else { if (curReadOut.indexOf("."
== -1) curReadOut += "."; } FKeyPad.ReadOut.value = curReadOut; } function ClearEntry () { FKeyPad.ReadOut.value = "0"; FlagNewNum = true; } function Clear () { Accum = 0; PendingOp = ""; ClearEntry(); } function Neg () { FKeyPad.ReadOut.value = parseFloat(FKeyPad.ReadOut.value) * -1; } function Percent () { FKeyPad.ReadOut.value = (parseFloat(FKeyPad.ReadOut.value) / 100) * parseFloat(Accum); } // End --> </SCRIPT> <!-- Script Size: 4.05 KB -->
هذا الكود code لإضافة تقويم بالميلادي
رمز Code:
<!-- TWO STEPS TO INSTALL MONTHLY: CURRENT TIME - DAY HIGHLIGHTED: 1. Put the designated code into the BODY of your HTML ******** --> <!-- STEP ONE: Copy this code into the BODY of your HTML ******** --> <BODY> <SCRIPT LANGUAGE="JavaScript"> <!--Total Java Scripts 99 - Next Step Software--> <!-- Begin function greeting() { var today = new Date(); var hrs = today.getHours(); ********.writeln("<CENTER>"
; if ((hrs >=6) && (hrs <=18)) { ********.writeln("<IMG SRC=\"blank"
; ********.write(Math.floor(hrs / 10)); ********.write(Math.floor(hrs % 10)); ********.write("00.gif\">"
; } else ********.write(""
; ********.writeln("<BR>"
; ********.write("<H1>Good "
; if (hrs < 6) ********.write("(Early) Morning"
; else if (hrs < 12) ********.write("Morning"
; else if (hrs <= 18) ********.write("Afternoon"
; else ********.write("Evening"
; ********.writeln("!</H1>"
; ********.write("You entered this page at "
; dayStr = today.toLocaleString(); ********.write(dayStr); ********.writeln("</CENTER>"
; } function montharr(m0, m1, m2, m3, m4, m5, m6, m7, m8, m9, m10, m11) { this[0] = m0; this[1] = m1; this[2] = m2; this[3] = m3; this[4] = m4; this[5] = m5; this[6] = m6; this[7] = m7; this[8] = m8; this[9] = m9; this[10] = m10; this[11] = m11; } function calendar() { var monthNames = "JanFebMarAprMayJunJulAugSepOctNovDec" ;; var today = new Date(); var thisDay; var monthDays = new montharr(31, 28, 31, 30, 31, 30, 31, 31, 30,31, 30, 31); year = today.getYear() + 1900; thisDay = today.getDate(); if (((year % 4 == 0) && (year % 100 != 0)) || (year % 400 == 0)) monthDays[1] = 29; nDays = monthDays[today.getMonth()]; firstDay = today; firstDay.setDate(1); testMe = firstDay.getDate(); if (testMe == 2) firstDay.setDate(0); startDay = firstDay.getDay(); ********.writeln("<CENTER>"
; ********.write("<TABLE BORDER>"
; ********.write("<TR><TH COLSPAN=7>"
; ********.write(monthNames.substring(today.getMonth () * 3, (today.getMonth() + 1) * 3)); ********.write(". "
; ********.write(year); ********.write("<TR><TH>Sun<TH>Mon<TH>Tue<TH> Wed<TH>Thu<TH>Fri<TH>Sat"
; ********.write("<TR>"
; column = 0; for (i=0; i<startDay; i++) { ********.write("<TD>"
; column++; } for (i=1; i<=nDays; i++) { ********.write("<TD>"
; if (i == thisDay) ********.write("<FONT COLOR=\"#FF0000\">"
********.write(i); if (i == thisDay) ********.write("</FONT>"
column++; if (column == 7) { ********.write("<TR>"
; column = 0; } } ********.write("</TABLE>"
; ********.writeln("</CENTER>"
; } greeting(); ********.write("</br>"
; calendar(); ********.write(""
; // End --> </SCRIPT> <!-- Script Size: 2.72 KB -->
هذا الكود code لإضافة لون للرابط فهي طريقة جميلة لتزيين الرابط
رمز Code:
رمز Code:
<style> <!-- A:link {text-decoration: none; color: لون الوصلة;} A:visited {text-decoration: none; color: الوصلة المزارة;} A:active {text-decoration: none; color:الوصلة عند الضغط عليها; } A:hover {text-decoration: underline; color: الوصلة عند مرور الفأرة عليها;background-color:لون الخلفية ;} //--> </style>
هذا الكود code لعرض شرح طريقة في الجزء السفلي في المتصفح <script language="JavaScript"> <!-- var currentmsg = 0 var MsgTime = 2000 var MsgEndTime = 4000 function initArray(n) { this.length = n; for (var i =1; i <= n; i++) { this[i] = ' ' } } msg = new initArray(4) msg[0]="مرحبا بكم في " msg[1]="صفحتي الشخصية" msg[2]="اتمنى ان تنال على اعجابكم" msg[3]="و شكرا على الزياره" function msgrotator() { window.status = msg[currentmsg] if (currentmsg > msg.length - 1) { currentmsg = 0 setTimeout("msgrotator()", MsgEndTime) } else { currentmsg = currentmsg + 1 setTimeout("msgrotator()", MsgTime) } } msgrotator(); //--> </script></pre>
هذا الكود code لإضافة ساعة
رمز Code:
<div id=Clock align=center style="font-family: tahoma; font-size: 14; color:لون الساعة"> </div> ********** 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>
هذا الكود code لمنع الزوار من استخدام زر الفأرة الأيمن
رمز Code:
<script language="JavaScript"><!-- function click() { if (event.button==2) { alert('يا مرحبا مليون واكثر '); } } <HR> <DIV align=center> <TABLE borderColor=#8e5f4d cellSpacing=0 cellPadding=3 bgColor=#feeebe border=1> <TBODY> <TR> <TD vAlign=center align=middle bgColor=#98cccc> <P style="LINE-HEIGHT: 100%" align=center><B><FONT color=#000000 size=3>هذا الكود code لظهور حروف تتبع الماوس عند التصفح </FONT></B></P> <P style="LINE-HEIGHT: 100%" align=center><FONT color=#000000 size=3><TEXTAREA name=S1 rows=5 cols=58><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 = (********.layers) ? e.pageX : ********.body.scrollLeft + event.clientX; y = (********.layers) ? e.pageY : ********.body.scrollTop + event.clientY; flag = 1; } function makesnake() { if (flag == 1 && ********.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 && ********.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("********.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++) { ********.write("<span id='span"+i+"' class='spanstyle'>"
; ********.write(message[i]); ********.write("</span>"
; } if (********.layers) { ********.captureEvents(Event.MOUSEMOVE); } ********.onmousemove = handlerMM; // End --> </script> </BODY>
هذا الكود code يجعل الزائر هو الذي يختار لون الصفحة
رمز Code:
<script language="JavaScript"> <!-- //http://khayma.com/hamed function backbs(clr) { ********.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>
ساعة رقمية يتم تحديث updateها كل 1000 ثانية
رمز Code:
[FrontPage Save Results Component] <BODY onunload="stopTimer()" onLoad="startTimer()" > ********** <!-- 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(){ ********.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> <font size=+1>Clock 2</font><hr> This clock will tell the time. The javascript updates the clock every 1000 milliseconds.<p> <CENTER><P><FORM NAME="clock"><INPUT TYPE="text" NAME="face" SIZE=11></FORM><p> </body>
قائمة الاختيار
رمز Code:
<!-- خطوتان للتركيب install--> <!-- الخطوة الأولى انسخ للرأس--> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin function formHandler(form){ var URL = ********.form.site.options[********.form.site.selectedIndex].value; window.location.href = URL; // End --> } </SCRIPT> <!--انسخ للجسم--> <center> <form name="form"> <select name="site" size=1> <option value="">Go to.... <option value="http://www.yahoo.com">Yahoo <option value="http://www.metacrawler.com">Metacrawler <option value="http://www.altavista.digital.com">Altavista <option value="http://www.webcrawler.com">Webcrawler <option value="http://www.lycos.com">Lycos <option value="http://javascript.internet.com">JavaScript Source </select> <input type=button value="Go!" onClick="javascript:formHandler()"> </form> </center>
تظهر ساعة رقمية مع عنوان الصفحة في اعلى الشاشة على شريط الوندوز
اذا رغبت بهذا الامر انسخ مابداخل الصندوق
رمز Code:
<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=********.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+&quo t; "+ampm var timeout=setTimeout("scroll()", 1000) ********.title=actualtitle+scroller } if (********.all) scroll() //--> </SCRIPT>
هذا الامر يجعل هذا الموقع هو الموقع الافتراضي عند تشغيل المتصفح
رمز Code:
<!-- The JavaScript Source!! http://www.shuala.cjb.net --> <!--[if IE]> <p align="center"><b><font color="#FF0000" size="3" face="Monotype Koufi"><a HREF onClick="this.style.behavior='url(#default#ho mepage)';this.setHomePage('http://www.F1F.net');">لجعل هذا الموقع هو الموقع الافتراضي لمتصفحك اضغط هنا</a> <![endif]-->
محرك بحث متميز ومتعدد الأغراض
رمز Code:
<table border="1" cellspacing="0" cellpadding="0" width="350" bordercolor="#000000"> <tr> <td height="2"> <table border="0" cellspacing="0" cellpadding="2" width="100%" height="100%"> <form method="post" name="search" action="http://ayoooooh.search.everyone.net/search/search/SearchResults"> <TBODY> <tr nowrap bgcolor="#728fce" align="middle" valign="center"> <td height="2" nowrap> <b><font face="Georgia, Time New Roman, Times, serif" color="#fff7d7" size="2">Search</font></B> <select name="e.searchNID" size="1"><option value=1225046>MP3</option> <option value=1225056>Media</option> <option value=1225047>Shareware</option> <option value=1225053>Computers</option> <option value=1225052>Usenet</option> <option value=1225048>Health</option> <option value=1225055>Politics</option> <option value=1225054>Employment</option> <option value=1225049>Sports</option> <option value=1225050>Kids</option> <option value=1225058>Business</option> <option value=1225059>Education</option> <option value=1225057>Sciences</option> <option value=1225051>Entertainment</option> <option value=1225045 selected>The Web</option> </select> <input size="16" name="e.searchQuery" > <input type="submit" name="e.newSearch" value="Go"> </td> </tr> <tr nowrap bgcolor="#728fce" align="right" valign="center"> <td height="2"><font face="Georgia, Time New Roman, Times, serif" color="#fff7d7" size="1">Powered <FONT color=#fafad2>by </FONT><A href=""><FONT color=#fafad2> </FONT><FONT color=lightgoldenrodyellow></A> </font></FONT></td> </tr> </form></table></TD></TR></TBODY></TABLE> </form>
اخوكم سيف الاسلام

©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى©
المواضيع المتشابهه
-
بواسطة Chakira في المنتدى لغات البرمجه للويب
مشاركات: 0
آخر مشاركة: 11-01-2013, بتوقيت غرينيتش 04:49 PM
-
بواسطة admin في المنتدى القسم العام لتطوير المواقع
مشاركات: 0
آخر مشاركة: 11-01-2013, بتوقيت غرينيتش 12:47 AM
-
بواسطة romaissa في المنتدى القسم العام لتطوير المواقع
مشاركات: 0
آخر مشاركة: 10-31-2013, بتوقيت غرينيتش 11:47 PM
-
بواسطة linnou في المنتدى القسم العام لتطوير المواقع
مشاركات: 0
آخر مشاركة: 10-31-2013, بتوقيت غرينيتش 11:30 PM
-
بواسطة admin في المنتدى القسم العام لتطوير المواقع
مشاركات: 0
آخر مشاركة: 10-31-2013, بتوقيت غرينيتش 10:24 PM
ضوابط المشاركة
- لا تستطيع إضافة مواضيع جديدة
- لا تستطيع الرد على المواضيع
- لا تستطيع إرفاق ملفات
- لا تستطيع تعديل مشاركاتك
-
قوانين المنتدى