لرزش موقت در صفحه سایت
<!-- START CODE Powered java code by WwW.IranGamer.Com--> <br> <br><meta http-equiv="Content-Language" content="en-us"> <br>< language=Java> <br><!-- Begin <br>function shake(n) { <br>if (parent.moveBy) { <br>for (i = 10; i > 0; i--) { <br>for (j = n; j > 0; j--) { <br> <br>parent.moveBy(-i,0); <br>parent.moveBy(0,-i); <br>parent.moveBy(-i,0); <br>parent.moveBy(0,i); <br>parent.moveBy(i,0); <br>parent.moveBy(0,-i); <br>parent.moveBy(-i,0); <br>parent.moveBy(0,i); <br>parent.moveBy(i,0); <br>parent.moveBy(0,-i); <br>parent.moveBy(-i,0); <br>parent.moveBy(0,-i); <br>parent.moveBy(i,0); <br>parent.moveBy(0,i); <br>parent.moveBy(i,0); <br>parent.moveBy(0,i); <br> } <br> } <br> } <br> <br> <br>} <br>// End --> <br> <br><!-- <br>shake(1); <br>//--> <br></> <br><p align="center"><font size="7" color="#FF0000">salam irani</font></p> <br> <br><!-- END CODE Powered java code by WwW.IranGamer.Com--> <br>
نشان دهنده مدت زمان حضور کاربر در سایت
<!--Powered <br>java code by WwW.IranGamer.Com--> <br></> <br><meta http-equiv="Content-Language" content="en-us"> <br><P align=left> <br><a target="_blank" href="http://WwW.IranGamer.Com" <br>style="text-decoration: none"> <br><span style="font-size: 9pt">Tarfandestan.com< <br>lang=Java> <br>day = new Date(); <br>miVisit = day.getTime(); <br>function clock() { <br>dayTwo = new Date(); <br>hrNow = dayTwo.getHours(); <br>mnNow = dayTwo.getMinutes(); scNow = dayTwo.getSeconds(); <br>miNow = dayTwo.getTime(); <br>if (hrNow == 0) { <br>hour = 12; <br>ap = " AM"; <br>} else if(hrNow <= 11) { <br>ap = " AM"; <br>hour = hrNow; <br>} else if(hrNow == 12) { <br>ap = " PM"; <br>hour = 12; <br>} else if (hrNow >= 13) { <br>hour = (hrNow - 12); <br>ap = " PM"; <br>} <br>if (hrNow >= 13) { <br>hour = hrNow - 12; <br>} <br>if (mnNow <= 9) { <br>min = "0" + mnNow; <br>} <br>else (min = mnNow) <br>if (scNow <= 9) { <br>secs = "0" + scNow; <br>} else { <br>secs = scNow; <br>} <br>time = hour + ":" + min + ":" + secs + ap; <br>document.form.button.value = time; <br>setTimeout("clock()", 1000); <br>} <br>function timeInfo() { <br>milliSince = miNow; <br>milliNow = miNow - miVisit; <br>secsVisit = Math.round(milliNow / 1000); <br>minsVisit = Math.round((milliNow / 1000) / 60); <br>alert(+ minsVisit + "; " <br>+ secsVisit + "Seconds , You Are In Tarfandestan.com "); <br>} document.write("<form name=\"form\">" <br>+ "<input type=button style="cursor=help" style="border=blue" <br>style="height=20" style="background=#ff0033" style="color=white" <br>value=\"Click for info!\"" <br>+ " name=button onClick=\"timeInfo()\"></form>"); <br>onError = null; <br>clock(); </></body></span></a>
کد نمایش جملات از کوچک به بزرگ
< LANGUAGE="Java"> <br><!-- Web Site: http://khafankadeh.7p.com --> <br> <br><!-- Begin <br>var speed = 50; <br>var cycledelay = 2000; <br>var maxsize = 28; <br> <br>var x = 0; <br>var y = 0; <br>var themessage, size; <br>var esize = "</font>"; <br> <br>function initArray() { <br>this.length = initArray.arguments.length; <br>for (var i = 0; i < this.length; i++) { <br>this[i] = initArray.arguments[i]; <br> } <br>} <br>var themessage2 = new initArray( <br>"HI", <br>"WELCOME", <br>"TO MY", <br>"WEBLOG" <br>); <br>if(navigator.appName == "Netscape") <br>document.write("<layer id="wds"></layer><br>"); <br>if (navigator.appVersion.indexOf("MSIE") != -1) <br>document.write("<span id="wds"></span><br>"); <br>function upwords(){ <br>themessage = themessage2[y]; <br>if (x < maxsize) { <br>x++; <br>setTimeout("upwords()",speed); <br>} <br>else setTimeout("downwords()",cycledelay); <br> <br>if(navigator.appName == "Netscape") { <br>size = "<font point-size=""+x+"pt">"; <br>document.wds.document.write(size+"<center>"+themessage+"</center>"+esize); <br>document.wds.document.close(); <br>} <br>if (navigator.appVersion.indexOf("MSIE") != -1){ <br>wds.innerHTML = "<center>"+themessage+"</center>"; <br>wds.style.fontSize=x+"px" <br> } <br>} <br>function downwords(){ <br>if (x > 1) { <br>x--; <br>setTimeout("downwords()",speed); <br>} <br>else { <br>setTimeout("upwords()",cycledelay); <br>y++; <br>if (y > themessage2.length - 1) y = 0; <br>} <br>if(navigator.appName == "Netscape") { <br>size = "<font point-size=""+x+"pt">"; <br>document.wds.document.write(size+"<center>"+themessage+"</center>"+esize); <br>document.wds.document.close(); <br>} <br>if (navigator.appVersion.indexOf("MSIE") != -1){ <br>wds.innerHTML = "<center>"+themessage+"</center>"; <br>wds.style.fontSize=x+"px" <br> } <br>} <br>setTimeout("upwords()",speed); <br>// End --> <br></> <br></body> <br></html> <br>
کد فرم گذاری برای سایت
<!-- TWO STEPS TO INSTALL CUSTOMIZED WINDOW: <br> <br> 1. Paste the coding into the HEAD of your HTML document <br> 2. Put the last code into the BODY of your HTML document --> <br> <br><!-- STEP ONE: Copy this code into the HEAD of your HTML document --> <br> <br><HEAD> <br> <br>< LANGUAGE="Java"> <br> <br> <br><!-- Begin <br>function customize(form) { <br>var address = document.form1.url.value; <br>var op_tool = (document.form1.tool.checked== true) ? 1 : 0; <br>var op_loc_box = (document.form1.loc_box.checked == true) ? 1 : 0; <br>var op_dir = (document.form1.dir.checked == true) ? 1 : 0; <br>var op_stat = (document.form1.stat.checked == true) ? 1 : 0; <br>var op_menu = (document.form1.menu.checked == true) ? 1 : 0; <br>var op_scroll = (document.form1.scroll.checked == true) ? 1 : 0; <br>var op_resize = (document.form1.resize.checked == true) ? 1 : 0; <br>var op_wid = document.form1.wid.value; <br>var op_heigh = document.form1.heigh.value; <br>var option = "toolbar="+ op_tool +",location="+ op_loc_box +",directories=" <br>+ op_dir +",status="+ op_stat +",menubar="+ op_menu +",scrollbars=" <br> <br>+ op_scroll +",resizable=" + op_resize +",width=" + op_wid +",height="+ op_heigh; <br>var win3 = window.open("", "what_I_want", option); <br>var win4 = window.open(address, "what_I_want"); <br>} <br>function clear(form) { <br>document.form1.wid.value=""; <br>document.form1.heigh.value=""; <br>} <br>// End --> <br></> <br> <br><!-- STEP TWO: Copy this code into the BODY of your HTML document --> <br> <br> <br> <br><CENTER> <br><h4>Please choose from the following selections to customize your window</h4> <br><br> <br><TABLE cellpadding=5 border><TR><TD><PRE> <br><FORM name=form1 ACTION="java:" METHOD="POST"> <br><INPUT TYPE="text" NAME="url" value="http://www.khafankadeh.7p.com" >: URL <br><INPUT TYPE="checkbox" NAME="tool">: Toolbar <br><INPUT TYPE="checkbox" NAME="loc_box">: Location <br><INPUT TYPE="checkbox" NAME="dir">: Directories <br><INPUT TYPE="checkbox" NAME="stat">: Status <br><INPUT TYPE="checkbox" NAME="menu">: Menubar <br><INPUT TYPE="checkbox" NAME="scroll">: Scrollbars <br><INPUT TYPE="checkbox" NAME="resize">: Resizable <br><INPUT TYPE="text" NAME="wid" value= >: Width <br><INPUT TYPE="text" NAME="heigh" value=>: Height <br><BR><CENTER> <br><INPUT TYPE="button" VALUE="=ENTER=" OnClick="customize(this.form)"> <br><INPUT TYPE="reset" VALUE="=RESET=" onClick="clear(this.form)"> <br></PRE></TD></TR></TABLE> <br></FORM> <br></CENTER><p><center> <br><font face="arial, helvetica" size="-2"> <br> <br><!-- Size: 2.54 KB --> <br></font></center></center>
کد جستجو گوگل و وبلاگ همزمان
</div> <div style="padding:5px"></div> <div <br>style="width:100%;border: 1px dashed #cdd2d6;"> <div <br>style="border-bottom:1px solid <br>#d9dee1;width:100%;height:24px;background-image: <br>url("http://www.blogfa.com/Layouts/silver/Nvbg.gif"); <br>background-repeat: repeat-x; background-position-y: top"> <div <br>class="posttitle" align=center >جستجوگر</div> </div> <br><div style="padding-top:3px;;padding-right:3px" align="center"> <br><FORM action=http://www.google.com/search method=get <br>target="_blank"> <br><INPUT maxLength=200 size=15 name=q dir="rtl"> <br><INPUT type=hidden value=iranit.blogfa.com <br>name=domains><br><INPUT type=radio value="" <br>name=sitesearch> <FONT <br>color=#000><b>وبلاگ</b></FONT> <INPUT <br>type=radio CHECKED value=java-mo.blogfa.com name=sitesearch> <br><FONT color=#000><b>گوگل</b></FONT> <br><br><br><INPUT type=submit value=" جستجو " <br>name=btnG><INPUT type=hidden value=UTF-8 name=ie><INPUT <br>type=hidden value=UTF-8 name=oe> </FORM> </div> <br></div>