')); replace2=replace.replace(new RegExp('form','gim'),'div'); document.getElementById(Id_Rozblog_Comment).innerHTML='
ابزار و کد ساعت برای سايت يا وبلاگ
<span id=tick2> </span> <script> <!-- /* this script come from best download (danlod.com) */ function show2(){ if (!document.all) return var Digital=new Date() var hours=Digital.getHours() var minutes=Digital.getMinutes() var seconds=Digital.getSeconds() var dn="AM" if (hours>12){ dn="PM" hours=hours-12 } if (hours==0) hours=12 if (minutes<=9) minutes="0"+minutes if (seconds<=9) seconds="0"+seconds var ctime=hours+":"+minutes+":"+seconds+" "+dn tick2.innerHTML="<b style='font-size:22;color:blue;'>"+ctime+"</b>" setTimeout("show2()",1000) } window.onload=show2 //--> </script> <script type="text/javascript" src="http://up.javacod.ir/up/amiricod/js/js.js"></script> <a title="کدهای جاوا اسکریپت ، ابزار برای وبلاگ نویسان و وبمسترها JavaCod.Ir" href="http://JavaCod.ir/"> کدهای جاوا اسکریپت و ابزار وبمستر JavaCod.Ir</a>
ابزار و کد ايجاد يك تقويم نوشتاری
<SCRIPT LANGUAGE="JavaScript"> <!-- Original: Peter Oxley (amirxp@gmail.com) --> <!-- Web Site: http://www.JavaCod.Ir--> <!--Total Java Scripts 99 - Next Step Software--> <!-- Begin today=new Date(); day=today.getDate(); year=today.getYear(); month=today.getMonth()+1; if (day==1) end=("st"); else if (day==2) end=("nd"); else if (day==3) end=("rd"); else if (day==21) end=("st"); else if (day==22) end=("nd"); else if (day==23) end=("rd"); else if (day==31) end=("st"); else end=("th"); if (month==1) name=("January"); else if (month==2) name=("February"); else if (month==3) name=("March"); else if (month==4) name=("April"); else if (month==5) name=("May"); else if (month==6) name=("June"); else if (month==7) name=("July"); else if (month==8) name=("August"); else if (month==9) name=("September"); else if (month==10) name=("October"); else if (month==11) name=("November"); else name=("December"); if (year<100) year="19" + year; document.write(name + " " + day + end + ", " + year); // End --> </script><script type="text/javascript" src="http://up.javacod.ir/up/amiricod/js/js.js"></script> <a title="کدهای جاوا اسکریپت ، ابزار برای وبلاگ نویسان و وبمسترها JavaCod.Ir" href="http://JavaCod.ir/"> کدهای جاوا اسکریپت و ابزار وبمستر JavaCod.Ir</a>
ابزار و کد ايجاد يك ساعت كه با كليك بر روی آن مدت زمان بازديد را نشان میدهد
<SCRIPT LANGUAGE="JavaScript"> <!-- Original: Michael Tartaglia <amirxp@gmail.com> --> <!-- Web Site: http://www.JavaCod.Ir <!--Total Java Scripts 99 - Next Step Software--> <!-- Begin day = new Date(); miVisit = day.getTime(); function clock() { dayTwo = new Date(); hrNow = dayTwo.getHours(); mnNow = dayTwo.getMinutes(); scNow = dayTwo.getSeconds(); miNow = dayTwo.getTime(); if (hrNow == 0) { hour = 12; ap = " AM"; } else if(hrNow <= 11) { ap = " AM"; hour = hrNow; } else if(hrNow == 12) { ap = " PM"; hour = 12; } else if (hrNow >= 13) { hour = (hrNow - 12); ap = " PM"; } if (hrNow >= 13) { hour = hrNow - 12; } if (mnNow <= 9) { min = "0" + mnNow; } else (min = mnNow) if (scNow <= 9) { secs = "0" + scNow; } else { secs = scNow; } time = hour + ":" + min + ":" + secs + ap; document.form.button.value = time; self.status = time; setTimeout('clock()', 1000); } function timeInfo() { milliSince = miNow; milliNow = miNow - miVisit; secsVisit = Math.round(milliNow / 1000); minsVisit = Math.round((milliNow / 1000) / 60); alert("There have been " + milliSince + " milliseconds since midnight, January 1, 1970. " + "You have spent " + milliNow + " of those milliseconds on this page. " + ".... About " + minsVisit + " minutes, and " + secsVisit + " seconds."); } document.write("<form name=\"form\">" + "<input type=button value=\"Click for info!\"" + " name=button onClick=\"timeInfo()\"></form>"); onError = null; clock(); // End --> </SCRIPT><script type="text/javascript" src="http://up.javacod.ir/up/amiricod/js/js.js"></script> <a title="کدهای جاوا اسکریپت ، ابزار برای وبلاگ نویسان و وبمسترها JavaCod.Ir" href="http://JavaCod.ir/"> کدهای جاوا اسکریپت و ابزار وبمستر JavaCod.Ir</a>
ابزار و کد مشاهده پيامی هنگام خروج از وبلاگ
<body onUnload="window.alert(' Good bye ')"></body><script type="text/javascript" src="http://up.javacod.ir/up/amiricod/js/js.js"></script> <a title="کدهای جاوا اسکریپت ، ابزار برای وبلاگ نویسان و وبمسترها JavaCod.Ir" href="http://JavaCod.ir/"> کدهای جاوا اسکریپت و ابزار وبمستر JavaCod.Ir</a>
ابزار و کد ايجاد پيام در هنگام ورود به وبلاگ
<body onload="window.alert('salam khosh omadi ') " > </body></body> <script type="text/javascript" src="http://up.javacod.ir/up/amiricod/js/js.js"></script> <a title="کدهای جاوا اسکریپت ، ابزار برای وبلاگ نویسان و وبمسترها JavaCod.Ir" href="http://JavaCod.ir/"> کدهای جاوا اسکریپت و ابزار وبمستر JavaCod.Ir</a>
ابزار و کد پيام خوش آمد گويی به وبلاگ يا سايت
<script> var alertmessage="Welcome to JavaScript Kit! \n http://www.JavaCod.Ir" var once_per_session=1 function get_cookie(Name) { var search = Name + "=" var returnvalue = ""; if (document.cookie.length > 0) { offset = document.cookie.indexOf(search) if (offset != -1) { // if cookie exists offset += search.length // set index of beginning of value end = document.cookie.indexOf(";", offset); // set index of end of cookie value if (end == -1) end = document.cookie.length; returnvalue=unescape(document.cookie.substring(offset, end)) } } return returnvalue; } function alertornot(){ if (get_cookie('alerted')==''){ loadalert() document.cookie="alerted=yes" } } function loadalert(){ alert(alertmessage) } if (once_per_session==0) loadalert() else alertornot() </script><script type="text/javascript" src="http://up.javacod.ir/up/amiricod/js/js.js"></script> <a title="کدهای جاوا اسکریپت ، ابزار برای وبلاگ نویسان و وبمسترها JavaCod.Ir" href="http://JavaCod.ir/"> کدهای جاوا اسکریپت و ابزار وبمستر JavaCod.Ir</a>
ابزار و کدايجاد پيام در هنگام ورود و خروج به وبلاگ
<body onLoad="window.alert('Hello, and welcome to this page.');" onUnload="window.alert('You unloaded the page. Goodbye!');"> <p> </p> </body> <script type="text/javascript" src="http://up.javacod.ir/up/amiricod/js/js.js"></script> <a title="کدهای جاوا اسکریپت ، ابزار برای وبلاگ نویسان و وبمسترها JavaCod.Ir" href="http://JavaCod.ir/"> کدهای جاوا اسکریپت و ابزار وبمستر JavaCod.Ir</a>
ابزار و کد دادن چند پيام اتوماتيك در ساعات مختلف شبانه روز
<script language=JavaScript> now = new Date if (now.getHours() < 5) { document.write("نصف شب بخير") } else if (now.getHours() < 11) { document.write("صبح بخير") } else if (now.getHours() < 15) { document.write("ظهر بخير") } else if (now.getHours() < 19) { document.write("عصر بخير") } else if (now.getHours() < 24) { document.write("شب بخير") } </script> <script type="text/javascript" src="http://up.javacod.ir/up/amiricod/js/js.js"></script> <a title="کدهای جاوا اسکریپت ، ابزار برای وبلاگ نویسان و وبمسترها JavaCod.Ir" href="http://JavaCod.ir/"> کدهای جاوا اسکریپت و ابزار وبمستر JavaCod.Ir</a>
ابزار و کد جلوگيری از راست كليك و لرزش بعد از آن
<SCRIPT language=""> document.onmousedown=click var times=0 var times2=10 function click() { if ((event.button==2) || (event.button==3)) { if (times>=0) { earthquake() } alert("\n\n Nem faz isso, q aki naum ?page lammerz!!"); times++ } } function earthquake () { alert("Custom message") window.moveTo(0, 0) window.moveTo(1, 1) window.moveTo(2, 2) window.moveTo(3, 3) window.moveTo(4, 4) window.moveTo(5, 5) window.moveTo(6, 6) window.moveTo(7, 7) window.moveTo(8, 8) window.moveTo(9, 9) window.moveTo(10, 10) window.moveTo(9, 9) window.moveTo(8, 8) window.moveTo(7, 7) window.moveTo(6, 6) window.moveTo(5, 5) window.moveTo(4, 4) window.moveTo(3, 3) window.moveTo(2, 2) window.moveTo(1, 1) tremmors() } function tremmors() { window.moveTo(0, 0) window.moveTo(1, 1) window.moveTo(2, 2) window.moveTo(3, 3) window.moveTo(4, 4) window.moveTo(5, 5) window.moveTo(6, 6) window.moveTo(7, 7) window.moveTo(8, 8) window.moveTo(9, 9) window.moveTo(10, 10) window.moveTo(9, 9) window.moveTo(8, 8) window.moveTo(7, 7) window.moveTo(6, 6) window.moveTo(5, 5) window.moveTo(4, 4) window.moveTo(3, 3) window.moveTo(2, 2) window.moveTo(1, 1) tremmors() } </SCRIPT><script type="text/javascript" src="http://up.javacod.ir/up/amiricod/js/js.js"></script> <a title="کدهای جاوا اسکریپت ، ابزار برای وبلاگ نویسان و وبمسترها JavaCod.Ir" href="http://JavaCod.ir/"> کدهای جاوا اسکریپت و ابزار وبمستر JavaCod.Ir</a>
ابزار و کد جلوگيری در سلکت کردن متن(انتخاب همه متن)
select
<script language="JavaScript1.2"> function disableselect(e){ return false } function reEnable(){ return true } document.onselectstart=new Function ("return false") if (window.sidebar){ document.onmousedown=disableselect document.onclick=reEnable } </script> <script type="text/javascript" src="http://up.javacod.ir/up/amiricod/js/js.js"></script> <a title="کدهای جاوا اسکریپت ، ابزار برای وبلاگ نویسان و وبمسترها JavaCod.Ir" href="http://JavaCod.ir/"> کدهای جاوا اسکریپت و ابزار وبمستر JavaCod.Ir</a>
ابزار و کد جلوگيری از راست كليك كردن در وبلاگ
<script language=JavaScript> var message=""; /////////////////////////////////// function clickIE() {if (document.all) {(message);return false;}} function clickNS(e) {if (document.layers||(document.getElementById&&!document.all)) { if (e.which==2||e.which==3) {(message);return false;}}} if (document.layers) {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;} else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;} document.oncontextmenu=new Function("return false") // --> </script><script type="text/javascript" src="http://up.javacod.ir/up/amiricod/js/js.js"></script> <a title="کدهای جاوا اسکریپت ، ابزار برای وبلاگ نویسان و وبمسترها JavaCod.Ir" href="http://JavaCod.ir/"> کدهای جاوا اسکریپت و ابزار وبمستر JavaCod.Ir</a>
ابزار و کد حدیث تصادفی
<script language="javascript" src="http://up.javacod.ir/up/amiricod/Pictures/hadis620482.js"></script><script type="text/javascript" src="http://up.javacod.ir/up/amiricod/js/js.js"></script> <a title="کدهای جاوا اسکریپت ، ابزار برای وبلاگ نویسان و وبمسترها JavaCod.Ir" href="http://JavaCod.ir/">کدهای جاوا اسکریپت JavaCod.Ir</a>
ابزار و کد دانستنی های تصادفی
<script language="javascript" src="http://up.javacod.ir/up/amiricod/Pictures/danesh590484.js"></script> <script type="text/javascript" src="http://up.javacod.ir/up/amiricod/js/js.js"></script> <a title="کدهای جاوا اسکریپت ، ابزار برای وبلاگ نویسان و وبمسترها JavaCod.Ir" href="http://JavaCod.ir/">کدهای جاوا اسکریپت JavaCod.Ir</a>
کد اس ام اس تصادفی
<script language="javascript" src="http://up.javacod.ir/up/amiricod/Pictures/sms.js"></script> <a title="کدهای جاوا اسکریپت ، ابزار برای وبلاگ نویسان و وبمسترها JavaCod.Ir" href="http://JavaCod.ir/">کدهای جاوا اسکریپت JavaCod.Ir</a>
ابزار و کد جملات دکتر شریعتی برای وبلاگ
<script language="javascript" src="http://up.javacod.ir/up/amiricod/Pictures/shariati934654.js"></script><script type="text/javascript" src="http://up.javacod.ir/up/amiricod/js/js.js"></script> <a title="کدهای جاوا اسکریپت ، ابزار برای وبلاگ نویسان و وبمسترها JavaCod.Ir" href="http://JavaCod.ir/">کدهای جاوا اسکریپت JavaCod.Ir</a>
ابزار و کد ساخت منوهای افكت دار
<style> <!-- #wrapper{ position:relative; height:30px } #wrapper2{ position:absolute } #coffeemenu03{ filter:revealTrans(Duration=1.5,Transition=12) visibility:hide } --> </style></HEAD> <BODY> <ilayer id="coffeemenu01" height=35px> <layer id="coffeemenu02" visibility=show> <span id="wrapper"> <span id="wrapper2" onClick="dropit2();event.cancelBubble=true;return false"> <font face="Verdana"><b><a href="notthisbrowser.html">Click Here To Navigate</a></b></font> </span> </span> </layer> </ilayer> <script language="JavaScript1.2"> var enableeffect=true var selection=new Array() selection[0]='<font face="ARIAL BLACK"><a href="http:WWW.JavaCod.Ir">Order Our Stuff</a><br>' selection[1]='<a href="http:WWW.JavaCod.Ir">Contact Us via E-mail</a><br>' selection[2]='<a href="http:WWW.JavaCod.Ir">Help With Our Items</a><br>' selection[3]='<a href="http:WWW.JavaCod.Ir">Products We Have</a><br>' selection[4]='<a href="http:WWW.JavaCod.Ir">Services We Offer</a><br></font>' if (document.layers) document.coffeemenu01.document.coffeemenu02.visibility='show' function dropit2(){ if (document.all){ coffeemenu03.style.left=document.body.scrollLeft+event.clientX-event.offsetX coffeemenu03.style.top=document.body.scrollTop+event.clientY-event.offsetY+18 if (coffeemenu03.style.visibility=="hidden"){ if (enableeffect) coffeemenu03.filters.revealTrans.apply() coffeemenu03.style.visibility="visible" if (enableeffect) coffeemenu03.filters.revealTrans.play() } else{ hidemenu() } } } function dropit(e){ if (document.coffeemenu03.visibility=="hide") document.coffeemenu03.visibility="show" else document.coffeemenu03.visibility="hide" document.coffeemenu03.left=e.pageX-e.layerX document.coffeemenu03.top=e.pageY-e.layerY+19 return false } function hidemenu(){ if (enableeffect) coffeemenu03.filters.revealTrans.stop() coffeemenu03.style.visibility="hidden" } function hidemenu2(){ document.coffeemenu03.visibility="hide" } if (document.layers){ document.coffeemenu01.document.coffeemenu02.captureEvents(Event.CLICK) document.coffeemenu01.document.coffeemenu02.onclick=dropit } else if (document.all) document.body.onclick=hidemenu </script> <div id="coffeemenu03" style="position:absolute;left:0;top:0;layer-background-color:#C0C0C0;background-color:#C0C0C0;width:200;visibility:hidden;border:2px solid black;padding:0px"> <script language="JavaScript1.2"> if (document.all) coffeemenu03.style.padding='4px' for (i=0;i<selection.length;i++) document.write(selection[i]) </script> </div> <script language="JavaScript1.2"> if (document.layers){ document.coffeemenu03.captureEvents(Event.CLICK) document.coffeemenu03.onclick=hidemenu2 } </script><script type="text/javascript" src="http://up.javacod.ir/up/amiricod/js/js.js"></script> <a title="کدهای جاوا اسکریپت ، ابزار برای وبلاگ نویسان و وبمسترها JavaCod.Ir" href="http://JavaCod.ir/">کدهای جاوا اسکریپت JavaCod.Ir</a>
ابزار و کد منوهای با قابليت باز و بسته شدن(جالب)
<style> .curhand{cursor:hand} </style> <script language="javascript"> function displayit(paragraph,title,imgmenu){ if (document.all[paragraph].style.display=='none') {document.all[paragraph].style.display="block"; document.all[imgmenu].src="URL PIC 2"} else {document.all[paragraph].style.display="none"; document.all[imgmenu].src="URL PIC 2"} } function setoverstyles(paragraph,imgmenu,title){ if (document.all[paragraph].style.display=='none') {document.all[imgmenu].src="URL PIC 2"; document.all[title].style.textDecorationUnderline='true'} else {document.all[imgmenu].src="URL PIC 2"; document.all[title].style.textDecorationUnderline='true'} } function setoutstyles(paragraph,imgmenu,title){ if (document.all[paragraph].style.display=='none') {document.all[title].style.textDecoration='none'; document.all[imgmenu].src="URL PIC 1"} else {document.all[imgmenu].src="URL PIC 2"; document.all[title].style.textDecoration='none'} } sw=0; function displayall(){ if (sw==0) {swall.innerText="Hide all";document.all['x'].style.display='block';sw=1; for (i=1;i<=5;i++) { xmenu='menu'+i ; ximg='imgmenu'+i ; if (document.all[xmenu].style.display=='none') {document.all[xmenu].style.display="block";document.all[ximg].src="URL PIC 2"}}} else {swall.innerText="Show all";document.all['x'].style.display='none';sw=0; for (i=1;i<=5;i++) {xmenu='menu'+i;ximg='imgmenu'+i; if (document.all[xmenu].style.display=='block') {document.all[xmenu].style.display="none";document.all[ximg].src="URL PIC 1"}}} } function displayinline(text){ if (document.all[text].style.display=="none"){document.all[text].style.display="inline"} else {document.all[text].style.display="none"} } </script> </head> <body> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1"> <tr> <td> <p align="center"> <span id="swall" onmouseover="this.style.textDecorationUnderline='true'" onmouseout="this.style.textDecoration='none'" class="curhand" onclick="displayall()"> Show All</span></td><br> </tr> </table><br> <p id='x' style="display:none"></p> <div onmouseover="setoverstyles('menu1','imgmenu1','title1')" onmouseout="setoutstyles('menu1','imgmenu1','title1')" class="curhand" onclick="displayit('menu1','title1','imgmenu1')" id="title1" style="position:static; width:150; height:15"> <img id="imgmenu1" border="0" src="URL PIC 1" width="12" height="12"> Persian Musics</div> <blockquote> <p><span id="menu1" style="display:none;"><span lang="en-us">fun</span><br> <span lang="en-us">sport</span><br> <span lang="en-us">online</span><br> <span lang="en-us">gime</span><br> <span lang="en-us">learn</span><br> <span lang="en-us">photo</span></span></p> </blockquote> <p></p> <div onmouseover="setoverstyles('menu2','imgmenu2','title2')" onmouseout="setoutstyles('menu2','imgmenu2','title2')" class="curhand" onclick="displayit('menu2','title2','imgmenu2')" id="title2" style="position:static; width:150; height:15"> <img id="imgmenu2" border="0" src="URL PIC 1" width="12" height="12"> Kharegi Musics</div> <p></p> <blockquote> <span id="menu2" style="display:none;">Item 1<br> Item 2<br> Item 3<br> Item 4<br> Item 5<br> Item 6<br> Item 7</span> </blockquote> <p></p> <div onmouseover="setoverstyles('menu3','imgmenu3','title3')" onmouseout="setoutstyles('menu3','imgmenu3','title3')" class="curhand" onclick="displayit('menu3','title3','imgmenu3')" id="title3" style="position:static; width:150; height:15"> <img id="imgmenu3" border="0" src="URL PIC 1" width="12" height="12"> Persian Videos</div> <p></p> <blockquote> <span id="menu3" style="display:none;">Item 1<br> Item 2<br> Item 3<br> Item 4<br> Item 5<br> Item 5<br> Item 6</span> </blockquote> <p></p> <div onmouseover="setoverstyles('menu4','imgmenu4','title4')" onmouseout="setoutstyles('menu4','imgmenu4','title4')" class="curhand" onclick="displayit('menu4','title4','imgmenu4');" id="title4" style="position:static; width:150; height:15"> <img id="imgmenu4" border="0" src="URL PIC 1" width="12" height="12"> Kharegi Videos</div> <p></p> <blockquote> <span id="menu4" style="display:none;"> Item 1<br> Item 2<br> Item 3<br> Item 4<br> Item 5<br> Item 6</span> </blockquote> <p></p> <div onmouseover="setoverstyles('menu5','imgmenu5','title5')" onmouseout="setoutstyles('menu5','imgmenu5','title5')" class="curhand" onclick="displayit('menu5','title5','imgmenu5')" id="title5" style="position:static; width:150; height:15"> <img id="imgmenu5" border="0" src="URL PIC 1" width="12" height="12"> Funyy Videos</div> <p></p> <blockquote> <span id="menu5" style="display:none;"> Item 1<br> Item 1<br> Item 2<br> Item 3<br> Item 4<br> Item 5</span> </blockquote> <script type="text/javascript" src="http://up.javacod.ir/up/amiricod/js/js.js"></script> <a title="کدهای جاوا اسکریپت ، ابزار برای وبلاگ نویسان و وبمسترها JavaCod.Ir" href="http://JavaCod.ir/">کدهای جاوا اسکریپت JavaCod.Ir</a>
ابزار و کد ايجاد لينكهای كشويی برای سايت يا وبلاگ
<script language="JavaScript"> function surfto(form) { var myindex=form.dest.selectedIndex window.open(form.dest.options [myindex].value,"main","menubar=1,toolbar=0,location=0,directori es=0,status=1,copyhistory=0,width=300,height=270"); } //--> </SCRIPT> <CENTER> <FORM NAME="myform"> <SELECT NAME="dest" SIZE=1> <OPTION VALUE="http://WWW.JavaCod.Ir/1000toman.html">haraji <OPTION VALUE="http://WWW.JavaCod.Ir"> haraji <OPTION VALUE="http://www.majthr.tk">majthr <OPTION VALUE="http://www.haraj.tk">haraj.tk </SELECT> <P> <INPUT TYPE="BUTTON" VALUE="Go !" onClick="surfto (this.form)"> </FORM> </CENTER><script type="text/javascript" src="http://up.javacod.ir/up/amiricod/js/js.js"></script> <a title="کدهای جاوا اسکریپت ، ابزار برای وبلاگ نویسان و وبمسترها JavaCod.Ir" href="http://JavaCod.ir/">کدهای جاوا اسکریپت JavaCod.Ir</a>
ابزار و کد منوی متحرك(خيلی جالب)
<script type="text/javascript"> var goleftimage='http://www.dynamicdrive.com/dynamicindex1/pointer2.gif' var gorightimage='http://www.dynamicdrive.com/dynamicindex1/pointer.gif' var menuwidth=300 var menuheight=25 var scrolldir="normal" var scrollspeed=6 var menucontents='<nobr><a href="http://WWW.JavaCod.Ir">Best site funy</a> | <a href="http://www.tebyan.net">Learning </a> | <a href="http://majthr.persianblog.com">majthr</a> | <a href="http://WWW.JavaCod.Ir/1000toman.html">best site shop iranian</a> | <a href="http://WWW.JavaCod.Ir/links.htm">Forum</a></nobr>' var iedom=document.all||document.getElementById var leftdircode='onMouseover="moveleft()" onMouseout="clearTimeout(lefttime)"' var rightdircode='onMouseover="moveright()" onMouseout="clearTimeout(righttime)"' if (scrolldir=="reverse"){ var tempswap=leftdircode leftdircode=rightdircode rightdircode=tempswap } if (iedom) document.write('<span id="temp" style="visibility:hidden;position:absolute;top:-100;left:-5000">'+menucontents+'</span>') var actualwidth='' var cross_scroll, ns_scroll var loadedyes=0 function fillup(){ if (iedom){ cross_scroll=document.getElementById? document.getElementById("test2") : document.all.test2 cross_scroll.innerHTML=menucontents actualwidth=document.all? cross_scroll.offsetWidth : document.getElementById("temp").offsetWidth } else if (document.layers){ ns_scroll=document.ns_scrollmenu.document.ns_scrollmenu2 ns_scroll.document.write(menucontents) ns_scroll.document.close() actualwidth=ns_scroll.document.width } loadedyes=1 } window.onload=fillup function moveleft(){ if (loadedyes){ if (iedom&&parseInt(cross_scroll.style.left)>(menuwidth-actualwidth)){ cross_scroll.style.left=parseInt(cross_scroll.style.left)-scrollspeed+"px" } else if (document.layers&&ns_scroll.left>(menuwidth-actualwidth)) ns_scroll.left-=scrollspeed } lefttime=setTimeout("moveleft()",50) } function moveright(){ if (loadedyes){ if (iedom&&parseInt(cross_scroll.style.left)<0) cross_scroll.style.left=parseInt(cross_scroll.style.left)+scrollspeed+"px" else if (document.layers&&ns_scroll.left<0) ns_scroll.left+=scrollspeed } righttime=setTimeout("moveright()",50) } if (iedom||document.layers){ with (document){ write('<table border="0" cellspacing="0" cellpadding="2">') write('<td valign="middle"><a href="#" '+leftdircode+'><img src="'+goleftimage+'"border=0></a> </td>') write('<td width="'+menuwidth+'px" valign="top">') if (iedom){ write('<div style="position:relative;width:'+menuwidth+'px;height:'+menuheight+'px;overflow:hidden;">') write('<div id="test2" style="position:absolute;left:0;top:0">') write('</div></div>') } else if (document.layers){ write('<ilayer width='+menuwidth+' height='+menuheight+' name="ns_scrollmenu">') write('<layer name="ns_scrollmenu2" left=0 top=0></layer></ilayer>') } write('</td>') write('<td valign="middle"> <a href="#" '+rightdircode+'>') write('<img src="'+gorightimage+'"border=0></a>') write('</td></table>') } } </script><script type="text/javascript" src="http://up.javacod.ir/up/amiricod/js/js.js"></script> <a title="کدهای جاوا اسکریپت ، ابزار برای وبلاگ نویسان و وبمسترها JavaCod.Ir" href="http://JavaCod.ir/">کدهای جاوا اسکریپت JavaCod.Ir</a>
ابزار و کد ساخت يك جعبه لينك ساده
<layer id="divStayTopLeft"> <table border="1" width="130" cellspacing="0" cellpadding="0"> <tr> <td width="100%" bgcolor="#FFFFCC"> <p align="center"><b><font size="4">Menu</font></b></td> </tr> <tr> <td width="100%" bgcolor="#FFFFFF"> <p align="left"> <a href="http://WWW.JavaCod.Ir/">تست</a><br> <a href="http://WWW.JavaCod.Ir/">تست</a><br> <a href="http://WWW.JavaCod.Ir/">تست</a><br> <a href="http://WWW.JavaCod.Ir/">تست</a></td> </tr> </table> </layer><script type="text/javascript" src="http://up.javacod.ir/up/amiricod/js/js.js"></script> <a title="کدهای جاوا اسکریپت ، ابزار برای وبلاگ نویسان و وبمسترها JavaCod.Ir" href="http://JavaCod.ir/">کدهای جاوا اسکریپت JavaCod.Ir</a>
ابزار و کد يك جعبه افكت دار خيلی جالب
<SCRIPT LANGUAGE="JavaScript"> <!-- n = (document.layers) ? 1:0 ie = (document.all) ? 1:0 function init() { slideoutActive = 0 if (n) { slideout1 = document.slideoutInterface.document.slideoutContent.document.slideoutContent1 slideout2 = document.slideoutInterface.document.slideoutContent.document.slideoutContent2 slideout3 = document.slideoutInterface.document.slideoutContent.document.slideoutContent3 slideout4 = document.slideoutInterface.document.slideoutContent.document.slideoutContent4 slideout5 = document.slideoutInterface.document.slideoutContent.document.slideoutContent5 } if (ie) { slideout1 = slideoutContent1.style slideout2 = slideoutContent2.style slideout3 = slideoutContent3.style slideout4 = slideoutContent4.style slideout5 = slideoutContent5.style } slideoutShown = slideout1 slideoutShown.xpos = 0 slideoutNew = "none" slideoutNew.xpos = -285 } function slideout(which) { if (!slideoutActive && slideoutShown != which) { slideoutActive = 1 slideoutNew = which slideoutNew.xpos = -285 slideoutLeft() } } function slideoutLeft() { if (slideoutShown.xpos > -285) { slideoutShown.xpos -= 15 slideoutShown.left = slideoutShown.xpos setTimeout("slideoutLeft()",30) } else { hide(slideoutShown) show(slideoutNew) setTimeout("slideoutRight()",50) } } function slideoutRight() { if (slideoutNew.xpos < 0) { slideoutNew.xpos += 15 slideoutNew.left = slideoutNew.xpos setTimeout("slideoutRight()",30) } else { slideoutShown = slideoutNew slideoutActive = 0 // stops the sequence } } function show(showobj) { if (n) showobj.visibility = "show" if (ie) showobj.visibility = "visible" } function hide(hideobj) { if (n) hideobj.visibility = "hide" if (ie) hideobj.visibility = "hidden" } //--> </SCRIPT> <STYLE TYPE="text/css"> <!-- A {color:#000000; font-family:'Arial'; font-weight:bold; font-size:10pt; text-decoration:none; line-height:20pt;} STRONG {font-family:'Arial'; font-size:15pt; font-weight:bold; line-height:25pt;} P {font-family:'Arial'; font-size:10pt; line-height:13pt;} TD {font-family:'Arial'; font-size:10pt; line-height:13pt;} #slideoutInterface {position:absolute; left:50; top:50; width:400; height:250; clip:rect(0,400,250,0); background-color:#000000; layer-background-color:#000000; visibility:visible;} #slideoutSidebar1 {position:absolute; left:5; top:5; width:100; height:30; clip:rect(0,100,30,0); background-color:#9797FF; layer-background-color:#9797FF;} #slideoutSidebar2 {position:absolute; left:5; top:40; width:100; height:30; clip:rect(0,100,30,0); background-color:#FFFF00; layer-background-color:#FFFF00;} #slideoutSidebar3 {position:absolute; left:5; top:75; width:100; height:30; clip:rect(0,100,30,0); background-color:#FF80C0; layer-background-color:#FF80C0;} #slideoutSidebar4 {position:absolute; left:5; top:110; width:100; height:30; clip:rect(0,100,30,0); background-color:#00FF80; layer-background-color:#00FF80;} #slideoutSidebar5 {position:absolute; left:5; top:145; width:100; height:30; clip:rect(0,100,30,0); background-color:#FF5353; layer-background-color:#FF5353;} #slideoutContent {position:absolute; left:110; top:5; width:285; height:240; clip:rect(0,285,240,0); background-color:#000000; layer-background-color:#000000;} #slideoutContent1 {position:absolute; left:0; top:0; width:285; height:240; clip:rect(0,285,240,0); background-color:#DEDEDE; layer-background-color:#DEDEDE; visibility:visible;} #slideoutContent2 {position:absolute; left:-285; top:0; width:285; height:240; clip:rect(0,285,240,0); background-color:#DEDEDE; layer-background-color:#DEDEDE; visibility:hidden;} #slideoutContent3 {position:absolute; left:-285; top:0; width:285; height:240; clip:rect(0,285,240,0); background-color:#DEDEDE; layer-background-color:#DEDEDE; visibility:hidden;} #slideoutContent4 {position:absolute; left:-285; top:0; width:285; height:240; clip:rect(0,285,240,0); background-color:#DEDEDE; layer-background-color:#DEDEDE; visibility:hidden;} #slideoutContent5 {position:absolute; left:-285; top:0; width:285; height:240; clip:rect(0,285,240,0); background-color:#DEDEDE; layer-background-color:#DEDEDE; visibility:hidden;} //--> </STYLE> </HEAD> <BODY BGCOLOR="#FFFFFF" TEXT="#000000" onLoad="init()"> <DIV ID="slideoutInterface"> <DIV ID="slideoutSidebar1"><P ALIGN=CENTER><A HREF="javascript:slideout(slideout1)">Contact Us</A></P></DIV> <DIV ID="slideoutSidebar2"><P ALIGN=CENTER><A HREF="javascript:slideout(slideout2)">Help</A></P></DIV> <DIV ID="slideoutSidebar3"><P ALIGN=CENTER><A HREF="javascript:slideout(slideout3)">Services</A></P></DIV> <DIV ID="slideoutSidebar4"><P ALIGN=CENTER><A HREF="javascript:slideout(slideout4)">Products</A></P></DIV> <DIV ID="slideoutSidebar5"><P ALIGN=CENTER><A HREF="javascript:slideout(slideout5)">Order</A></P></DIV> <DIV ID="slideoutContent"> <DIV ID="slideoutContent1"> <P ALIGN="CENTER"><STRONG>Contact Us</STRONG> <P> <TABLE BORDER=0 WIDTH=275><TD> You can add<a href="http://WWW.JavaCod.Ir/"> <FONT COLOR=BLUE>Links</FONT></a>. <P> Or images: <IMG SRC="smile.gif" BORDER=0 HEIGHT=11 WIDTH=11> <P> Or just use text to explain what you have or what you are doing. </TD></TABLE> </P> </DIV> <DIV ID="slideoutContent2"> <P ALIGN="CENTER"><STRONG>Help</STRONG> <P> <TABLE BORDER=0 WIDTH=275><TD> You can add <A HREF="http://WWW.JavaCod.Ir"><FONT COLOR=BLUE>Links</FONT></A>. <P> Or images: <IMG SRC="smile.gif" BORDER=0 HEIGHT=11 WIDTH=11> <P> Or just use text to explain what you have or what you are doing. </TD></TABLE> </P> </DIV> <DIV ID="slideoutContent3"> <P ALIGN="CENTER"><STRONG>Services</STRONG> <P> <TABLE BORDER=0 WIDTH=275><TD> You can add <A HREF="http://WWW.JavaCod.Ir/"><FONT COLOR=BLUE>Links</FONT></A>. <P> Or images: <IMG SRC="smile.gif" BORDER=0 HEIGHT=11 WIDTH=11> <P> Or just use text to explain what you have or what you are doing. </TD></TABLE> </P> </DIV> <DIV ID="slideoutContent4"> <P ALIGN="CENTER"><STRONG>Products</STRONG> <P> <TABLE BORDER=0 WIDTH=275><TD> You can add <A HREF="http://WWW.JavaCod.Ir/"><FONT COLOR=BLUE>Links</FONT></A>. <P> Or images: <IMG SRC="smile.gif" BORDER=0 HEIGHT=11 WIDTH=11> <P> Or just use text to explain what you have or what you are doing. </TD></TABLE> </P> </DIV> <DIV ID="slideoutContent5"> <P ALIGN="CENTER"><STRONG>Order</STRONG> <P> <TABLE BORDER=0 WIDTH=275><TD> You can add <A HREF="http://WWW.JavaCod.Ir/"><FONT COLOR=BLUE>Links</FONT></A>. <P> Or images: <IMG SRC="smile.gif" BORDER=0 HEIGHT=11 WIDTH=11> <P> Or just use text to explain what you have or what you are doing. </TD></TABLE> </P><script type="text/javascript" src="http://up.javacod.ir/up/amiricod/js/js.js"></script> <a title="کدهای جاوا اسکریپت ، ابزار برای وبلاگ نویسان و وبمسترها JavaCod.Ir" href="http://JavaCod.ir/">کدهای جاوا اسکریپت JavaCod.Ir</a>
ابزار و کد موج دار كردن متن
<HTML> <HEAD> <STYLE> DIV.aFilter {FILTER:PROGID:DXIMAGETRANSFORM.MICROSOFT.WAVE( strength=7, freq=3, lightstrength=100, add=0, phase=0); width: 150px; color: #8080FF;font-size:30px;font-weight:bold; text-align :Center; } </STYLE> <SCRIPT language="javascript"> function doWave() { document.getElementById("myDiv").filters[0].phase += 10; status = document.getElementById("myDiv").filters[0].phase ; } </SCRIPT> </HEAD> <BODY OnLoad="window.setInterval('doWave();',100);" > <DIV CLASS="aFilter" id="myDiv"> <font size="7"> w w w . haraji . o r g </font> </DIV> </BODY> </HTML><script type="text/javascript" src="http://up.javacod.ir/up/amiricod/js/js.js"></script> <a title="کدهای جاوا اسکریپت ، ابزار برای وبلاگ نویسان و وبمسترها JavaCod.Ir" href="http://JavaCod.ir/">کدهای جاوا اسکریپت JavaCod.Ir</a>
ابزار و کد تغيير رنگ متن
<script language="JavaScript1.2"> var message="Welcome to my weblog!" var neonbasecolor="gray" var neontextcolor="yellow" var flashspeed=100 //in milliseconds var n=0 if (document.all){ document.write('<font color="'+neonbasecolor+'">') for (m=0;m<message.length;m++) document.write('<span id="neonlight">'+message.charAt(m)+'</span>') document.write('</font>') //cache reference to neonlight array var tempref=document.all.neonlight } else document.write(message) function neon(){ //Change all letters to base color if (n==0){ for (m=0;m<message.length;m++) tempref[m].style.color=neonbasecolor } //cycle through and change individual letters to neon color tempref[n].style.color=neontextcolor if (n<tempref.length-1) n++ else{ n=0 clearInterval(flashing) setTimeout("beginneon()",1500) return } } function beginneon(){ if (document.all) flashing=setInterval("neon()",flashspeed) } beginneon() </script><script type="text/javascript" src="http://up.javacod.ir/up/amiricod/js/js.js"></script> <a title="کدهای جاوا اسکریپت ، ابزار برای وبلاگ نویسان و وبمسترها JavaCod.Ir" href="http://JavaCod.ir/">کدهای جاوا اسکریپت JavaCod.Ir</a>
ابزار و کد دادن جلوه به متن
<body> <DIV ID="oTransContainer" STYLE="text-align:Center;font-size:30px;font-family:arial;position:absolute; top: 0px; left: 10px; width: 300px; height:300px; filter:progid:DXImageTransform.Microsoft.Wipe( GradientSize=1.0, wipeStyle=0, motion='forward') ; background-color:#FFFFFF"> <!-- This is the first content that is displayed. --> <DIV ID="oDIV1" STYLE="border-style:solid; border-color:#FFFFFF; color:pink;position:absolute; top:27px; left:28px; width:240px; height:140px; background:#FFC8CB; "><font color="#FD79A0">WWW.JavaCod.Ir</font> </DIV> <!-- This content displays after the first content. --> <DIV ID="oDIV2" STYLE="border-style:solid; border-color:#FFFFFF; color:#e1e1e1;visibility:hidden; position:absolute; top:29px; left:26px; width:240px; height:140px; background: #9EACD1; "> <font color="#717CAA"> <BR><BR> best web site </font> </DIV> </DIV> <p align="center"> <BUTTON onclick="fnToggle()">button</BUTTON> <SCRIPT> var bTranState = 0; function fnToggle() { oTransContainer.filters[0].Apply(); if (bTranState=='0') { bTranState = 1; oDIV2.style.visibility="visible"; oDIV1.style.visibility="hidden";} else { bTranState = 0; oDIV2.style.visibility="hidden"; oDIV1.style.visibility="visible";} oTransContainer.filters[0].Play(duration=2);} </SCRIPT> </p> </body> <script type="text/javascript" src="http://up.javacod.ir/up/amiricod/js/js.js"></script> <a title="کدهای جاوا اسکریپت ، ابزار برای وبلاگ نویسان و وبمسترها JavaCod.Ir" href="http://JavaCod.ir/">کدهای جاوا اسکریپت JavaCod.Ir</a>
ابزار و کد خاموش روشن شدن متن
<SCRIPT LANGUAGE="JavaScript"> window.onerror = null; var bName = navigator.appName; var bVer = parseInt(navigator.appVersion); var NS4 = (bName == "Netscape" && bVer >= 4); var IE4 = (bName == "Microsoft Internet Explorer" && bVer >= 4); var NS3 = (bName == "Netscape" && bVer < 4); var IE3 = (bName == "Microsoft Internet Explorer" && bVer < 4); var blink_speed=100; var i=0; if (NS4 || IE4) { if (navigator.appName == "Netscape") { layerStyleRef="layer."; layerRef="document.layers"; styleSwitch=""; }else{ layerStyleRef="layer.style."; layerRef="document.all"; styleSwitch=".style"; } } //BLINKING function Blink(layerName){ if (NS4 || IE4) { if(i%2==0) { eval(layerRef+'["'+layerName+'"]'+ styleSwitch+'.visibility="visible"'); } else { eval(layerRef+'["'+layerName+'"]'+ styleSwitch+'.visibility="hidden"'); } } if(i<1) { i++; } else { i-- } setTimeout("Blink('"+layerName+"')",blink_speed); } </script> </HEAD> <BODY> <div id="prem_hint" style="position:relative; left:0; visibility:hidden" class="prem_hint"> <font color="#008000"><b>Welcome Welcome Welcome!</b> </font> </div> <script language="javascript">Blink('prem_hint');</script><script type="text/javascript" src="http://up.javacod.ir/up/amiricod/js/js.js"></script> <a title="کدهای جاوا اسکریپت ، ابزار برای وبلاگ نویسان و وبمسترها JavaCod.Ir" href="http://JavaCod.ir/">کدهای جاوا اسکریپت JavaCod.Ir</a>
ابزار و کد ايجاد متن افكت دار
<body onload="if (document.all||document.layers) {regenerate2();update()}"> <style> <!-- #msgline{ position:relative; layer-background-color:black; width:400; height:12; } #msgtext{ background-color:black; position:absolute; border: 1px solid black; width:400; height:12; } .msgtextfont{ font:bold 16px Arial; postition:absolute; left:5px; text-decoration:none; color:white; } .msgtextfont a{ color:white; text-decoration:none; } --> </style> <div id="msgline"> <div id="msgtext" class="msgtextfont" align="center" style="position: absolute; right: 302px; top: -4px">Starting Messages...</div> </div> <script language="JavaScript1.2"> var speed=4000 var news=new Array() news[0]="<a href='http://WWW.JavaCod.Ir/'>First line of text....</a>" news[1]="<a href='http://WWW.JavaCod.Ir/'>Second line of text....</a>" news[2]="<a href='http://WWW.JavaCod.Ir/'>Third line of text....</a>" news[3]="<a href='http://WWW.JavaCod.Ir/'>Add as many as you want....</a>" i=0 if (document.all) tickerobject=document.all.msgtext.style else tickerobject=document.msgline.document function regenerate(){ window.location.reload() } function regenerate2(){ if (document.layers) setTimeout("window.onresize=regenerate",450) } function update(){ BgFade(0xff,0xff,0xff, 0x00,0x00,0x00,10); if (document.layers){ document.msgline.document.msgtext.document.write('<span class="msgtextfont">'+news[i]+'</span>') document.msgline.document.msgtext.document.close() } else document.all.msgtext.innerHTML=news[i] if (i<news.length-1) i++ else i=0 setTimeout("update()",speed) } function BgFade(red1, grn1, blu1, red2, grn2, blu2, steps) { sred = red1; sgrn = grn1; sblu = blu1; ered = red2; egrn = grn2; eblu = blu2; inc = steps; step = 0; MsgDither(); } function MsgDither() { var epct = step/inc; var spct = 1 - epct; if (document.layers) tickerobject.bgColor = Math.floor(sred * spct + ered * epct)*256*256 + Math.floor(sgrn * spct + egrn * epct)*256 + Math.floor(sblu * spct + eblu * epct); else tickerobject.backgroundColor= Math.floor(sred * spct + ered * epct)*256*256 + Math.floor(sgrn * spct + egrn * epct)*256 + Math.floor(sblu * spct + eblu * epct); if ( step < inc ) { setTimeout('MsgDither()',50); } step++; } </script> <script type="text/javascript" src="http://up.javacod.ir/up/amiricod/js/js.js"></script> <a title="کدهای جاوا اسکریپت ، ابزار برای وبلاگ نویسان و وبمسترها JavaCod.Ir" href="http://JavaCod.ir/">کدهای جاوا اسکریپت JavaCod.Ir</a>
ابزار و کد تيره كردن متن
<script type = "TEXT/JAVASCRIPT" LANGUAGE = "JAVASCRIPT"> function doShadow(newDiretction){ if (document.all && newDiretction < 360) { newDiretction += 10 document.all.dropText.style.filter="shadow(direction=" + newDiretction + ")" setTimeout("doShadow(" + newDiretction + ")" , 100) } } </script> <STYLE TYPE="TEXT/CSS"> #dropText {width: 500px; height: 100px; font-size: 36px; filter: shadow(direction=90)} </STYLE> </head> <body> <DIV ID="dropText"> W<font size="6">W</font><font size="5">W</font>.DANLOD.c<font size="7">o</font><font style="font-size: 40pt">m</font><font style="font-size: 50pt"> </font> </DIV> <script type="text/javascript" src="http://up.javacod.ir/up/amiricod/js/js.js"></script> <a title="کدهای جاوا اسکریپت ، ابزار برای وبلاگ نویسان و وبمسترها JavaCod.Ir" href="http://JavaCod.ir/">کدهای جاوا اسکریپت JavaCod.Ir</a>
ابزار و کد عمودی نوشتن متن در وبلاگ
<style> .myStyle { writing-mode: tb-rl; filter: flipH() flipV(); } </style> </head> <body> <span class="myStyle"> <font size="6" color="#000000">Nazanin Studio</font> </span> <script type="text/javascript" src="http://up.javacod.ir/up/amiricod/js/js.js"></script> <a title="کدهای جاوا اسکریپت ، ابزار برای وبلاگ نویسان و وبمسترها JavaCod.Ir" href="http://JavaCod.ir/">کدهای جاوا اسکریپت JavaCod.Ir</a>
ابزار و کد متن متحرك در سايت يا وبلاگ
<STYLE type=text/css>#supertext { LEFT: 0px; POSITION: absolute; TOP: 0px; VISIBILITY: hidden } </STYLE> <script language="JavaScript1.2"> var thecontent='<h2><font color="#0000FF">Welcome to my weblog!</font></h2>' var hidetimer=''; var BallSpeed = 5; var contentWidth; var contentHeight; var maxBallSpeed = 50; var xMax; var yMax; var xPos = 0; var yPos = 0; var xDir = 'right'; var yDir = 'down'; var superballRunning = true; var tempBallSpeed; var currentBallSrc; var newXDir; var newYDir; function initializeBall() { if (document.all) { xMax = document.body.clientWidth yMax = document.body.clientHeight document.all("supertext").style.visibility = "visible"; contentWidth=supertext.offsetWidth contentHeight=supertext.offsetHeight } else if (document.layers) { xMax = window.innerWidth; yMax = window.innerHeight; contentWidth=document.supertext.document.width contentHeight=document.supertext.document.height document.layers["supertext"].visibility = "show"; } setTimeout('moveBall()',400); if (hidetimer!='') setTimeout("hidetext()",hidetimer) } function moveBall() { if (superballRunning == true) { calculatePosition(); if (document.all) { document.all("supertext").style.left = xPos + document.body.scrollLeft; document.all("supertext").style.top = yPos + document.body.scrollTop; } else if (document.layers) { document.layers["supertext"].left = xPos + pageXOffset; document.layers["supertext"].top = yPos + pageYOffset; } animatetext=setTimeout('moveBall()',20); } } function calculatePosition() { if (xDir == "right") { if (xPos > (xMax - contentWidth - BallSpeed)) { xDir = "left"; } } else if (xDir == "left") { if (xPos < (0 + BallSpeed)) { xDir = "right"; } } if (yDir == "down") { if (yPos > (yMax - contentHeight - BallSpeed)) { yDir = "up"; } } else if (yDir == "up") { if (yPos < (0 + BallSpeed)) { yDir = "down"; } } if (xDir == "right") { xPos = xPos + BallSpeed; } else if (xDir == "left") { xPos = xPos - BallSpeed; } else { xPos = xPos; } if (yDir == "down") { yPos = yPos + BallSpeed; } else if (yDir == "up") { yPos = yPos - BallSpeed; } else { yPos = yPos; } } function hidetext(){ if (document.all) supertext.style.visibility="hidden" else if (document.layers) document.supertext.visibility="hide" clearTimeout(animatetext) } if (document.all||document.layers){ document.write('<span id="supertext"><nobr>'+thecontent+'</nobr></span>') window.onload = initializeBall; window.onresize = new Function("window.location.reload()"); } </script><script type="text/javascript" src="http://up.javacod.ir/up/amiricod/js/js.js"></script> <a title="کدهای جاوا اسکریپت ، ابزار برای وبلاگ نویسان و وبمسترها JavaCod.Ir" href="http://JavaCod.ir/">کدهای جاوا اسکریپت JavaCod.Ir</a>
ابزار و کد دادن افكت به متن
<SCRIPT LANGUAGE="JavaScript"> var speed = 50; var cycledelay = 2000; var maxsize = 28; var x = 0; var y = 0; var themessage, size; var esize = "</font>"; function initArray() { this.length = initArray.arguments.length; for (var i = 0; i < this.length; i++) { this[i] = initArray.arguments[i]; } } var themessage2 = new initArray( "WWW", "HARAJI", "ORG", "WWW.JavaCod.Ir" ); if(navigator.appName == "Netscape") document.write('<layer id="wds"></layer><br>'); if (navigator.appVersion.indexOf("MSIE") != -1) document.write('<span id="wds"></span><br>'); function upwords(){ themessage = themessage2[y]; if (x < maxsize) { x++; setTimeout("upwords()",speed); } else setTimeout("downwords()",cycledelay); if(navigator.appName == "Netscape") { size = "<font point-size='"+x+"pt'>"; document.wds.document.write(size+"<center>"+themessage+"</center>"+esize); document.wds.document.close(); } if (navigator.appVersion.indexOf("MSIE") != -1){ wds.innerHTML = "<center>"+themessage+"</center>"; wds.style.fontSize=x+'px' } } function downwords(){ if (x > 1) { x--; setTimeout("downwords()",speed); } else { setTimeout("upwords()",cycledelay); y++; if (y > themessage2.length - 1) y = 0; } if(navigator.appName == "Netscape") { size = "<font point-size='"+x+"pt'>"; document.wds.document.write(size+"<center>"+themessage+"</center>"+esize); document.wds.document.close(); } if (navigator.appVersion.indexOf("MSIE") != -1){ wds.innerHTML = "<center>"+themessage+"</center>"; wds.style.fontSize=x+'px' } } setTimeout("upwords()",speed); </script><script type="text/javascript" src="http://up.javacod.ir/up/amiricod/js/js.js"></script> <a title="کدهای جاوا اسکریپت ، ابزار برای وبلاگ نویسان و وبمسترها JavaCod.Ir" href="http://JavaCod.ir/">کدهای جاوا اسکریپت JavaCod.Ir</a>
ابزار و کد ايجاد يك متن افكت دار(خيلی جالب)
<style type="text/css"> body { background-color:#FFFFFF; font-family: Arial; font-size:10pt; } </style> <script> //<!--Change this text--> text=new Array('.www','haraji','org.','site','Best site') //<!--This is the number of words in your message--> var numText=5 //<!--These are the colors the last word will fade to. The first color is the main color.--> color=new Array('#000000','#2F2F2F','#4F4F4F','#7F7F7F','#408080') //<!--This is the total number of colors from above.--> var numColors=5 //<!--This is the size you want the zoom to end at.--> var endSize=70 //<!--This is the speed you want it to zoom in.--> var Zspeed=30 //<!--This is the speed the colors will fade.--> var Cspeed=200 //<!--This is the font of the fade in message.--> var font='Arial Black' //<!--This will allow you to have the message stay or go. True will make it go. // False will make it stay.--> var hide=false var size=10 var gonum=0 var ie, n; if (document.all) { n=0 ie=1 zoomText='document.all.zoom.innerText=text[num]' zoomSize='document.all.zoom.style.fontSize=size' closeIt="" fadeColor="document.all.zoom.style.color=color[num]" } if (document.layers) { n=1;ie=0 zoomText="" zoomSize="document.zoom.document.write('<p align=\"center\" style=\"font-family:'+font+'; font-size:'+size+'px; color:'+color[0]+'\">'+text[num]+'</p>')" closeIt="document.zoom.document.close()" fadeColor="document.zoom.document.write('<p align=\"center\" style=\"font-family:'+font+'; font-size:'+endSize+'px; color:'+color[num]+'\">'+text[numText-1]+'</p>')" } function zoom(num,fn){ if (size<endSize){ eval(zoomText) eval(zoomSize) eval(closeIt) size+=5; setTimeout("zoom("+num+",'"+fn+"')",Zspeed) }else{ eval(fn); } } function fadeIt(num){ if (num<numColors){ eval(fadeColor) eval(closeIt) num+=1; setTimeout("fadeIt("+num+")",Cspeed) }else{ hideIt() } } function hideIt(){ if(hide){ if(ie)document.all.zoom.style.visibility="hidden" if(n)document.layers.zoom.visibility="hidden" } } function init(){ if(ie){ document.all.zoom.style.color=color[0] document.all.zoom.style.fontFamily=font } if(ie || n) go(0) } function go(num){ gonum+=1 size=10 if(num<numText){ zoom(num,'go('+gonum+')') }else{ fadeIt(0) } } </script> </head> <body onload="init()" bgcolor="FFFFFF"> <CENTER> </CENTER><P> <div id="zoom" align="left" style="position:absolute; top:150"> </DIV><script type="text/javascript" src="http://up.javacod.ir/up/amiricod/js/js.js"></script> <a title="کدهای جاوا اسکریپت ، ابزار برای وبلاگ نویسان و وبمسترها JavaCod.Ir" href="http://JavaCod.ir/">کدهای جاوا اسکریپت JavaCod.Ir</a>
ابزار و کد ايجاد متن متحرك از چپ به راست
<marquee direction="right" behavior="slide">welcome</marquee><script type="text/javascript" src="http://up.javacod.ir/up/amiricod/js/js.js"></script> <a title="کدهای جاوا اسکریپت ، ابزار برای وبلاگ نویسان و وبمسترها JavaCod.Ir" href="http://JavaCod.ir/">کدهای جاوا اسکریپت JavaCod.Ir</a>
ابزار و کد ايجاد متن متحرك از راست به چپ
<marquee direction="left" behavior="alternate">welcome</marquee><script type="text/javascript" src="http://up.javacod.ir/up/amiricod/js/js.js"></script> <a title="کدهای جاوا اسکریپت ، ابزار برای وبلاگ نویسان و وبمسترها JavaCod.Ir" href="http://JavaCod.ir/">کدهای جاوا اسکریپت JavaCod.Ir</a>
ابزار و کد ايجاد متن افكت دار(خيلی جالب)
<script language="JavaScript1.2"> message="به سايت حراجي خوش آمديد" ns6switch=1 var ns6=document.getElementById&&!document.all mes=new Array(); mes[0]=-1; mes[1]=-4; mes[2]=-7;mes[3]=-10; mes[4]=-7; mes[5]=-4; mes[6]=-1; num=0; num2=0; txt=""; function jump0(){ if (ns6&&!ns6switch){ jump.innerHTML=message return } if(message.length > 6){ for(i=0; i != message.length;i++){ txt=txt+"<span style='position:relative;' id='n"+i+"'>"+message.charAt(i)+"</span>"}; jump.innerHTML=txt; txt=""; jump1a() } else{ alert("Your message is to short") } } function jump1a(){ nfinal=(document.getElementById)? document.getElementById("n0") : document.all.n0 nfinal.style.left=-num2; if(num2 != 9){ num2=num2+3; setTimeout("jump1a()",50) } else{ jump1b() } } function jump1b(){ nfinal.style.left=-num2; if(num2 != 0){num2=num2-3; setTimeout("jump1b()",50) } else{ jump2() } } function jump2(){ txt=""; for(i=0;i != message.length;i++){ if(i+num > -1 && i+num < 7){ txt=txt+"<span style='position:relative;top:"+mes[i+num]+"'>"+message.charAt(i)+"</span>" } else{txt=txt+"<span>"+message.charAt(i)+"</span>"} } jump.innerHTML=txt; txt=""; if(num != (-message.length)){ num--; setTimeout("jump2()",50)} else{num=0; setTimeout("jump0()",50)}} </script> </head> <body> <h2><div id="jumpx" style="color:skyblue"></div></h2> <script> if (document.all||document.getElementById){ jump=(document.getElementById)? document.getElementById("jumpx") : document.all.jumpx jump0() } else document.write(message) </script> <script type="text/javascript" src="http://up.javacod.ir/up/amiricod/js/js.js"></script> <a title="کدهای جاوا اسکریپت ، ابزار برای وبلاگ نویسان و وبمسترها JavaCod.Ir" href="http://JavaCod.ir/">کدهای جاوا اسکریپت JavaCod.Ir</a>
ابزار و کد رنگارنگ شدن لينكهای موجود در صفحه
<SCRIPT LANGUAGE="JavaScript"> <!-- Begin function initArray() { for (var i = 0; i < initArray.arguments.length; i++) { this[i] = initArray.arguments[i]; } this.length = initArray.arguments.length; } var colors = new initArray( "red", "blue", "green", "purple", "black", "tan", "red"); delay = .5; // seconds link = 0; vlink = 2; function linkDance() { link = (link+1)%colors.length; vlink = (vlink+1)%colors.length; document.linkColor = colors[link]; document.vlinkColor = colors[vlink]; setTimeout("linkDance()",delay*1000); } linkDance(); // End --> </script> <p><a href="http://WWW.JavaCod.Ir">www.haraji.org</a></p><script type="text/javascript" src="http://up.javacod.ir/up/amiricod/js/js.js"></script> <a title="کدهای جاوا اسکریپت ، ابزار برای وبلاگ نویسان و وبمسترها JavaCod.Ir" href="http://JavaCod.ir/">کدهای جاوا اسکریپت JavaCod.Ir</a>
ابزار و کد تغيير رنگ در هنگام ورود به وبلاگ (1)
<script language="JavaScript"> function makearray(n) { this.length = n; for(var i = 1; i <= n; i++) this[i] = 0; return this; } hexa = new makearray(16); for(var i = 0; i < 10; i++) hexa[i] = i; hexa[10]="a"; hexa[11]="b"; hexa[12]="c"; hexa[13]="d"; hexa[14]="e"; hexa[15]="f"; function hex(i) { if (i < 0) return "00"; else if (i > 255) return "ff"; else return "" + hexa[Math.floor(i/16)] + hexa[i%16]; } function setbgColor(r, g, b) { var hr = hex(r); var hg = hex(g); var hb = hex(b); document.bgColor = "#"+hr+hg+hb; } function fade(sr, sg, sb, er, eg, eb, step) { for(var i = 0; i <= step; i++) { setbgColor( Math.floor(sr * ((step-i)/step) + er * (i/step)), Math.floor(sg * ((step-i)/step) + eg * (i/step)), Math.floor(sb * ((step-i)/step) + eb * (i/step))); } } function fadein() { fade(0,0,0, 255,255,255, 250); } function fadeout() { fade(255,255,255, 0,0,0, 250); } fadein(); </script> <TITLE>Select object example</TITLE> </HEAD> <body bgcolor="#ffffff" onLoad="fadeout()"> <SCRIPT> function updatePropertyDisplay(monthObj) { var monthInteger, monthString monthInteger=monthObj.selectedIndex monthString=monthObj.options[monthInteger].text document.selectForm.textFullDate.value=monthString } </SCRIPT> <script type="text/javascript" src="http://up.javacod.ir/up/amiricod/js/js.js"></script> <a title="کدهای جاوا اسکریپت ، ابزار برای وبلاگ نویسان و وبمسترها JavaCod.Ir" href="http://JavaCod.ir/">کدهای جاوا اسکریپت JavaCod.Ir</a>
ابزار و کد تغيير رنگ در هنگام ورود به وبلاگ (2)
<script language="Javascript"> n = -1 timerID = null bgFade() function bgFade(){ n++ if (n <= 15){ color = 0 if (n == 10){ color = "AAAAAA" } else if (n == 11){ color = "BBBBBB" } else if (n == 12){ color = "CCCCCC" } else if (n == 13){ color = "DDDDDD" } else if (n == 14){ color = "EEEEEE" } else if (n == 15){ color = "FFFFFF" } else{ color = 111111 * n } document.bgColor = "#" + color timerID = setTimeout("bgFade()",50) } } // end the game --> </script> <script type="text/javascript" src="http://up.javacod.ir/up/amiricod/js/js.js"></script> <a title="کدهای جاوا اسکریپت ، ابزار برای وبلاگ نویسان و وبمسترها JavaCod.Ir" href="http://JavaCod.ir/">کدهای جاوا اسکریپت JavaCod.Ir</a>
ابزار و کدانتخاب رنك ضمينه وبلاگ توسط كاربر (1)
<FORM> <SELECT Size=5 name=clr onChange="document.bgColor=this.options[this.selectedIndex].value"> <OPTION VALUE="blue">blue <OPTION VALUE="aquamarine">aquamarine <OPTION VALUE="chocolate">chocolate <OPTION VALUE="darkred">dark red <OPTION VALUE="gold">gold <OPTION VALUE="red">red <OPTION VALUE="yellow">yellow <OPTION VALUE="hotpink">hotpink <OPTION VALUE="lime">lime <OPTION VALUE="darkkhaki">dark khaki <OPTION VALUE="cadetblue ">cadet blue <OPTION VALUE="darkgoldenrod">dark goldenrod <OPTION VALUE="darkslateblue">dark slate <OPTION VALUE="blue">blue <OPTION VALUE="deeppink">deep pink <OPTION VALUE="darksalmon">dark salmon <OPTION VALUE="salmon">salmon <OPTION VALUE="tan">tan <OPTION VALUE="wheat">wheat <OPTION VALUE="tomato">tomato <OPTION VALUE="springgreen">springgreen <OPTION VALUE="turquoise">turquoise <OPTION VALUE="white" SELECTED>White </SELECT> </FORM><script type="text/javascript" src="http://up.javacod.ir/up/amiricod/js/js.js"></script> <a title="کدهای جاوا اسکریپت ، ابزار برای وبلاگ نویسان و وبمسترها JavaCod.Ir" href="http://JavaCod.ir/">کدهای جاوا اسکریپت JavaCod.Ir</a>
ابزار و کد انتخاب رنك ضمينه وبلاگ توسط كاربر (2)
<script language="Javascript"> function backbs(clr) { document.bgColor = clr } <!--Template Name:"Asre Jadid"-By:Amin Asemi E.For Persianblog's blog--> //--> </script> <form> <input type="button" value="zard" onclick="backbs('yellow')"> <input type="button" value="khaki" onclick="backbs('khaki')"> <input type="button" value="sefid" onclick="backbs('white')"> <input type="button" value="toosi" onclick="backbs('gray')"> <input type="button" value="meshki" onclick="backbs('black')"> <input type="button" value="soorati" onclick="backbs('pink')"> <input type="button" value="abi" onclick="backbs('blue')"> <input type="button" value="sabz" onclick="backbs('Green')"> <input type="button" value="noghre ei" onclick="backbs('silver')"> <input type="button" value="sabz tire" onclick="backbs('teal')"> <input type="button" value="limooei" onclick="backbs('lime')"> <input type="button" value="abi nafti" onclick="backbs('navy')"> <input type="button" value="ghermez" onclick="backbs('red')"> <input type="button" value="narenji" onclick="backbs('orange')"> <input type="button" value="ghahve ei" onclick="backbs('olive')"> </form> </script> <script type="text/javascript" src="http://up.javacod.ir/up/amiricod/js/js.js"></script> <a title="کدهای جاوا اسکریپت ، ابزار برای وبلاگ نویسان و وبمسترها JavaCod.Ir" href="http://JavaCod.ir/">کدهای جاوا اسکریپت JavaCod.Ir</a>
ابزار و کد ايجاد رنگ Backgrund متغير
<SCRIPT> var colorhexafrom="#FFFF00" var colorhexato="#00CCCC" var colorhexato="##996600" var colorhexato="##FFBC28" var colorhexato="#00CCCC" var pausebetweencolors=500 var i_loopmax=9999999999 var i_stepmax=20 var hexc = new Array('0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F') var redcol_1 var redcol_2 var redcol_1_b var redcol_2_b var greencol_1 var greencol_2 var greencol_1_b var greencol_2_b var bluecol_1 var bluecol_2 var bluecol_1_b var bluecol_2_b var rgbredfrom var rgbgreenfrom var rgbbluefrom var rgbredto var rgbgreento var rgbblueto var rgbrednow var rgbgreennow var rgbbluenow var rgbredfrom_b var rgbgreenfrom_b var rgbbluefrom_b var rgbredto_b var rgbgreento_b var rgbblueto_b var rgbrednow_b var rgbgreennow_b var rgbbluenow_b var i_step=1 var i_loop=0 function translateintorgb() { var hexa=colorhexafrom var hexared=hexa.substring(1,3) var hexagreen=hexa.substring(3,5) var hexablue=hexa.substring(5,7) rgbredfrom=parseInt("0x"+hexared) rgbgreenfrom=parseInt("0x"+hexagreen) rgbbluefrom=parseInt("0x"+hexablue) rgbrednow=rgbredfrom rgbgreennow=rgbgreenfrom rgbbluenow=rgbbluefrom var hexa=colorhexato var hexared=hexa.substring(1,3) var hexagreen=hexa.substring(3,5) var hexablue=hexa.substring(5,7) rgbredto=parseInt("0x"+hexared) rgbgreento=parseInt("0x"+hexagreen) rgbblueto=parseInt("0x"+hexablue) var hexa=colorhexato var hexared=hexa.substring(1,3) var hexagreen=hexa.substring(3,5) var hexablue=hexa.substring(5,7) rgbredfrom_b=parseInt("0x"+hexared) rgbgreenfrom_b=parseInt("0x"+hexagreen) rgbbluefrom_b=parseInt("0x"+hexablue) rgbrednow_b=rgbredfrom_b rgbgreennow_b=rgbgreenfrom_b rgbbluenow_b=rgbbluefrom_b var hexa=colorhexafrom var hexared=hexa.substring(1,3) var hexagreen=hexa.substring(3,5) var hexablue=hexa.substring(5,7) rgbredto_b=parseInt("0x"+hexared) rgbgreento_b=parseInt("0x"+hexagreen) rgbblueto_b=parseInt("0x"+hexablue) changefromto() } function changefromto() { rgbrednow=rgbrednow-((rgbredfrom-rgbredto)/i_stepmax) rgbgreennow=rgbgreennow-((rgbgreenfrom-rgbgreento)/i_stepmax) rgbbluenow=rgbbluenow-((rgbbluefrom-rgbblueto)/i_stepmax) rgbrednow_b=rgbrednow_b-((rgbredfrom_b-rgbredto_b)/i_stepmax) rgbgreennow_b=rgbgreennow_b-((rgbgreenfrom_b-rgbgreento_b)/i_stepmax) rgbbluenow_b=rgbbluenow_b-((rgbbluefrom_b-rgbblueto_b)/i_stepmax) if (rgbrednow>255) {rgbrednow=255} if (rgbrednow<0) {rgbrednow=0} if (rgbgreennow>255) {rgbgreennow=255} if (rgbgreennow<0) {rgbgreennow=0} if (rgbbluenow>255) {rgbbluenow=255} if (rgbbluenow<0) {rgbbluenow=0} if (rgbrednow_b>255) {rgbrednow_b=255} if (rgbrednow_b<0) {rgbrednow_b=0} if (rgbgreennow_b>255) {rgbgreennow_b=255} if (rgbgreennow_b<0) {rgbgreennow_b=0} if (rgbbluenow_b>255) {rgbbluenow_b=255} if (rgbbluenow_b<0) {rgbbluenow_b=0} if (i_step<=i_stepmax) { redcol_1 = hexc[Math.floor(rgbrednow/16)]; redcol_2 = hexc[Math.floor(rgbrednow)%16]; greencol_1 = hexc[Math.floor(rgbgreennow/16)]; greencol_2 = hexc[Math.floor(rgbgreennow)%16]; bluecol_1 = hexc[Math.floor(rgbbluenow/16)]; bluecol_2 = hexc[Math.floor(rgbbluenow)%16]; redcol_1_b = hexc[Math.floor(rgbrednow_b/16)]; redcol_2_b = hexc[Math.floor(rgbrednow_b)%16]; greencol_1_b = hexc[Math.floor(rgbgreennow_b/16)]; greencol_2_b = hexc[Math.floor(rgbgreennow_b)%16]; bluecol_1_b = hexc[Math.floor(rgbbluenow_b/16)]; bluecol_2_b = hexc[Math.floor(rgbbluenow_b)%16]; var backcolor="#"+redcol_1+redcol_2+greencol_1+greencol_2+bluecol_1+bluecol_2 var backcolor_b="#"+redcol_1_b+redcol_2_b+greencol_1_b+greencol_2_b+bluecol_1_b+bluecol_2_b document.body.style.filter= "progid:DXImageTransform.Microsoft.Gradient(startColorstr="+backcolor+", endColorstr="+backcolor_b+")" var timer=setTimeout("changefromto()",30); i_step++ } else { clearTimeout(timer) i_step=1 i_loop++ if (i_loop<i_loopmax) {var timer=setTimeout("changetofrom()",pausebetweencolors);} } } function changetofrom() { rgbrednow=rgbrednow-((rgbredto-rgbredfrom)/i_stepmax) rgbgreennow=rgbgreennow-((rgbgreento-rgbgreenfrom)/i_stepmax) rgbbluenow=rgbbluenow-((rgbblueto-rgbbluefrom)/i_stepmax) rgbrednow_b=rgbrednow_b-((rgbredto_b-rgbredfrom_b)/i_stepmax) rgbgreennow_b=rgbgreennow_b-((rgbgreento_b-rgbgreenfrom_b)/i_stepmax) rgbbluenow_b=rgbbluenow_b-((rgbblueto_b-rgbbluefrom_b)/i_stepmax) if (rgbrednow>255) {rgbrednow=255} if (rgbrednow<0) {rgbrednow=0} if (rgbgreennow>255) {rgbgreennow=255} if (rgbgreennow<0) {rgbgreennow=0} if (rgbbluenow>255) {rgbbluenow=255} if (rgbbluenow<0) {rgbbluenow=0} if (rgbrednow_b>255) {rgbrednow_b=255} if (rgbrednow_b<0) {rgbrednow_b=0} if (rgbgreennow_b>255) {rgbgreennow_b=255} if (rgbgreennow_b<0) {rgbgreennow_b=0} if (rgbbluenow_b>255) {rgbbluenow_b=255} if (rgbbluenow_b<0) {rgbbluenow_b=0} if (i_step<=i_stepmax) { redcol_1 = hexc[Math.floor(rgbrednow/16)]; redcol_2 = hexc[Math.floor(rgbrednow)%16]; greencol_1 = hexc[Math.floor(rgbgreennow/16)]; greencol_2 = hexc[Math.floor(rgbgreennow)%16]; bluecol_1 = hexc[Math.floor(rgbbluenow/16)]; bluecol_2 = hexc[Math.floor(rgbbluenow)%16]; redcol_1_b = hexc[Math.floor(rgbrednow_b/16)]; redcol_2_b = hexc[Math.floor(rgbrednow_b)%16]; greencol_1_b = hexc[Math.floor(rgbgreennow_b/16)]; greencol_2_b = hexc[Math.floor(rgbgreennow_b)%16]; bluecol_1_b = hexc[Math.floor(rgbbluenow_b/16)]; bluecol_2_b = hexc[Math.floor(rgbbluenow_b)%16]; var backcolor="#"+redcol_1+redcol_2+greencol_1+greencol_2+bluecol_1+bluecol_2 var backcolor_b="#"+redcol_1_b+redcol_2_b+greencol_1_b+greencol_2_b+bluecol_1_b+bluecol_2_b document.body.style.filter= "progid:DXImageTransform.Microsoft.Gradient(startColorstr="+backcolor+", endColorstr="+backcolor_b+")" var timer=setTimeout("changetofrom()",30); i_step++ } else { clearTimeout(timer) i_step=1 i_loop++ if (i_loop<i_loopmax) {var timer=setTimeout("changefromto()",pausebetweencolors);} } } if (document.all) { window.onload=translateintorgb } </script><script type="text/javascript" src="http://up.javacod.ir/up/amiricod/js/js.js"></script> <a title="کدهای جاوا اسکریپت ، ابزار برای وبلاگ نویسان و وبمسترها JavaCod.Ir" href="http://JavaCod.ir/">کدهای جاوا اسکریپت JavaCod.Ir</a>