ساعت برای وبلاگ2
اینم کد دومیش(این ساعت نوشتاری)
<!-- ONE STEP TO INSTALL PROPER DATE: 1. Add the first code to the BODY of your HTML document --> <!-- STEP ONE: Add the first code to the BODY of your HTML document --> <BODY> <SCRIPT LANGUAGE="JavaScript"> <!-- Original: p.d (wt_tools_p@yahoo.com) --> <!-- Web Site: http://wt.blogfa.com --> <!--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 Size: 1.31 KB -->
add favorit
<SCRIPT language=JavaScript1.2> var bookmarkurl="http://www.wt.blogfa.com" var bookmarktitle="java applet free" function addbookmark(){ if (document.all) window.external.AddFavorite(bookmarkurl,bookmarktitle) } </SCRIPT> <TABLE border=0 width=800> <TR> <TD width=108><a href="javascript:addbookmark()">ADD FAVORIT</a> </TD> <TD width=676> </TD></TR></TBODY></TABLE> </body> </html>
ماشین حساب برای وبلاگ
<!-- TWO STEPS TO INSTALL 5 FUNCTION CALCULATOR: 1. Paste the coding into the HEAD of your HTML document 2. Add the last code into the BODY of your HTML document --> <!-- STEP ONE: Copy this code into the HEAD of your HTML document --> <HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- Original: p.d --> <!-- Web Site: http://www.wt.blogfa.com --> <!--Total Java Scripts 99 - Next Step Software--> <!-- Begin function a_plus_b(form) { a=eval(form.a.value) b=eval(form.b.value) c=a+b form.ans.value = c } function a_minus_b(form) { a=eval(form.a.value) b=eval(form.b.value) c=a-b form.ans.value=c } function a_times_b(form) { a=eval(form.a.value) b=eval(form.b.value) c=a*b form.ans.value=c } function a_div_b(form) { a=eval(form.a.value) b=eval(form.b.value) c=a/b form.ans.value = c } function a_pow_b(form) { a=eval(form.a.value) b=eval(form.b.value) c=Math.pow(a, b) form.ans.value = c } // End --> </SCRIPT> <!-- STEP TWO: Put this code into the BODY of your HTML document --> <BODY> <CENTER> <FORM name="formx"><input type=text size=4 value=12 name="a"> <input type="button" value=" + " onClick="a_plus_b(this.form)"> <input type="button" value=" - " onClick="a_minus_b(this.form)"> <input type="button" value=" x " onClick="a_times_b(this.form)"> <input type="button" value=" / " onClick="a_div_b(this.form)"> <input type="button" value=" ^ " onClick="a_pow_b(this.form)"> <input type="number" size=4 value=3 name="b"> = <input type "number" value=0 name="ans" size=9> </FORM> </CENTER> <!-- Script Size: 1.72 KB power by amirxp -->