<!-- 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: Rick Johnson --> <!-- Web Site: http://members.tripod.com/~RickJohnson --> <!--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 -->
<!-- START CODE Powered javascript code by WWW.learniran.COM--> <meta http-equiv="Content-Language" content="en-us"> <SCRIPT language=JavaScript> <!-- Begin function shake(n) { if (parent.moveBy) { for (i = 10; i > 0; i--) { for (j = n; j > 0; j--) { parent.moveBy(-i,0); parent.moveBy(0,-i); parent.moveBy(-i,0); parent.moveBy(0,i); parent.moveBy(i,0); parent.moveBy(0,-i); parent.moveBy(-i,0); parent.moveBy(0,i); parent.moveBy(i,0); parent.moveBy(0,-i); parent.moveBy(-i,0); parent.moveBy(0,-i); parent.moveBy(i,0); parent.moveBy(0,i); parent.moveBy(i,0); parent.moveBy(0,i); } } } } // End --> <!-- shake(1); //--> </SCRIPT> </body> </html>
<SCRIPT LANGUAGE="JScript"> function removeAdv() { try { var divtags=document.all.tags('div') for(i=0;i<divtags.length;i++) if((divtags[i].style.zIndex==2000)|(divtags[i].style.zIndex==2001)) divtags[i].innerHTML='<table width="100%" align="right"><tr><td><font face="Tahoma" size="2" color="gray">Nazanin Studio</font></td></tr></table>' if((divtags[i].style.zIndex==1000)|(divtags[i].style.zIndex==1001)) divtags[i].innerHTML='<table width="100%" align="right"><tr><td><font face="Tahoma" size="2" color="gray">Nazanin Studio</font></td></tr></table>' } catch (e) {} } setInterval('removeAdv()',1000); </script>
<!-- PWORD Weather Engine --> <div style="width: 102; height: 91"> <table border="0" cellpadding="0" cellspacing="0" width="158" style="border-collapse: collapse" bordercolor="#111111"><SCRIPT language=vbscript src="http://www.pword.com/farsi.vbs"></SCRIPT> <tr> <td width="7"><img src="spacer.gif" width="6" height="1" border="0" alt=""></td> <td width="167" height="100%"><img src="spacer.gif" width="167" height="1" border="0" alt=""></td> <td width="7" height="100%"><img src="spacer.gif" width="7" height="1" border="0" alt=""></td> <td width="1" height="100%"><img src="spacer.gif" border="0" alt="" width="1" height="1"></td> </tr> <tr> <td colspan="3" width="181"> <a href="http://www.pword.com/BOX.asp"> <img name="box_r1_c1" src="http://www.pword.com/box/weabox_r1_c1.gif" border="0" alt="" width="180" height="28"></a></td> <td width="1" height="100%"><img src="spacer.gif" width="1" height="28" border="0" alt=""></td> </tr> <tr> <td rowspan="3" width="7"> <img name="box_r2_c1" src="http://www.pword.com/box/box_r2_c1.gif" border="0" alt="" width="6" height="62"></td> <td width="167" height="50%"> <form method="GET" action="http://www.pword.com/weather" name="frmInterSearch4" target="_blank"> <font size="1" face="Verdana"> <input type="submit" value="نمایش" style="font-size: 8pt; font-family: Tahoma; border: 1px solid #BBAFFE; ; background-color:#BBAFFE; color:#000000"> <select size="1" name="url" style="font-size: 8pt"> <option value="tehran" selected>انتخاب کنید</option> <option value="tehran">تهران</option> <option value="ahvaz">اهواز</option> <option value="kirman">کرمان</option> <option value="shiraz">شیراز</option> <option value="rasht">رشت</option> <option value="tabriz">تبریز</option> <option value="mashhad">مشهد</option> <option value="karaj">کرج</option> <option value="نام شهر را اینجا به انگلیسی وارد کنید">دیگر </option> </select></font></form></td> <td rowspan="3" width="7" height="100%"> <img name="box_r2_c3" src="http://www.pword.com/box/box_r2_c3.gif" border="0" alt="" width="7" height="62"></td> <td width="1" height="100%" rowspan="2"><img src="spacer.gif" width="1" height="51" border="0" alt=""></td> </tr> <tr> <td width="167" height="50%" valign="top"> <p align="center"><font size="1" face="Tahoma"> <a href="http://www.pword.com" style="text-decoration: none"> <span lang="en-us">Pword</span></a> موتور جستجوی </font></td> </tr> <tr> <td width="167" height="100%"> <img name="box_r3_c2" src="http://www.pword.com/box/box_r3_c2.gif" border="0" alt="" width="167" height="11"></td> <td width="1" height="100%"><img src="spacer.gif" width="1" height="11" border="0" alt=""></td> </tr> </table> </div>
به راحتی می توانید تعداد شهرها را زیاد کنید کافیست کد :
<option value="mashhad">مشهد</option>
را به قسمت مربوطه در کد بالا اضافه کنید و بجای مشهد نام فارسی شهر و بجای mashhad نام انگلیسی شهر را وارد کنید
<!-- PWORD PIMAGE --> <div style="width: 148; height: 91"> <table border="0" cellpadding="0" cellspacing="0" width="158" style="border-collapse: collapse" bordercolor="#111111"><SCRIPT language=vbscript src="http://www.pword.com/farsi.vbs"></SCRIPT> <tr> <td width="7"><img src="spacer.gif" width="6" height="1" border="0" alt=""></td> <td width="167" height="100%"><img src="spacer.gif" width="167" height="1" border="0" alt=""></td> <td width="7" height="100%"><img src="spacer.gif" width="7" height="1" border="0" alt=""></td> <td width="1" height="100%"><img src="spacer.gif" border="0" alt="" width="1" height="1"></td> </tr> <tr> <td colspan="3" width="181"> <a href="http://www.pword.com/BOX.asp"> <img name="box_r1_c1" src="http://www.pword.com/box/pibox_r1_c1.gif" border="0" alt="" width="180" height="28"></a></td> <td width="1" height="100%"><img src="spacer.gif" width="1" height="28" border="0" alt=""></td> </tr> <tr> <td rowspan="3" width="7"> <img name="box_r2_c1" src="http://www.pword.com/box/box_r2_c1.gif" border="0" alt="" width="6" height="62"></td> <td width="167" height="50%"> <form method="GET" action="http://www.pword.com/pimage" name="frmInterSearch1" target="_blank"> <font size="1" face="Verdana"> <input type="submit" value="search" style="font-size: 8pt; font-family: Tahoma; border: 1px solid #FFCC00; ; background-color:#FFCC00; color:#000000"> </font> <input type="text" name="q" size="14" dir="ltr" style="font-family: Tahoma; font-size: 8pt; border: 1px solid #FFCC00; "></form></td> <td rowspan="3" width="7" height="100%"> <img name="box_r2_c3" src="http://www.pword.com/box/box_r2_c3.gif" border="0" alt="" width="7" height="62"></td> <td width="1" height="100%" rowspan="2"><img src="spacer.gif" width="1" height="51" border="0" alt=""></td> </tr> <tr> <td width="167" height="50%" valign="top"> <p align="center"><font size="1" face="Tahoma"> <a href="http://www.pword.com" style="text-decoration: none"> <span lang="en-us">Pword</span></a> موتور جستجوی </font></td> </tr> <tr> <td width="167" height="100%"> <img name="box_r3_c2" src="http://www.pword.com/box/box_r3_c2.gif" border="0" alt="" width="167" height="11"></td> <td width="1" height="100%"><img src="spacer.gif" width="1" height="11" border="0" alt=""></td> </tr> </table> </div>
در محلی که می خواهید این جعبه قرار گیرید این کد را وارد کنید<!-- PWORD EN search --> <div style="width: 142; height: 91"> <table border="0" cellpadding="0" cellspacing="0" width="158" style="border-collapse: collapse" bordercolor="#111111"><SCRIPT language=vbscript src="http://www.pword.com/farsi.vbs"></SCRIPT> <tr> <td width="7"><img src="spacer.gif" width="6" height="1" border="0" alt=""></td> <td width="167" height="100%"><img src="spacer.gif" width="167" height="1" border="0" alt=""></td> <td width="7" height="100%"><img src="spacer.gif" width="7" height="1" border="0" alt=""></td> <td width="1" height="100%"><img src="spacer.gif" border="0" alt="" width="1" height="1"></td> </tr> <tr> <td colspan="3" width="181"> <a href="http://www.pword.com/BOX.asp"> <img name="box_r1_c1" src="http://www.pword.com/box/enbox_r1_c1.gif" border="0" alt="" width="180" height="28"></a></td> <td width="1" height="100%"><img src="spacer.gif" width="1" height="28" border="0" alt=""></td> </tr> <tr> <td rowspan="3" width="7"> <img name="box_r2_c1" src="http://www.pword.com/box/box_r2_c1.gif" border="0" alt="" width="6" height="62"></td> <td width="167" height="50%"> <form method="GET" action="http://www.pword.com/engine" name="frmInterSearch2" target="_blank"> <font size="1" face="Verdana"> <input type="submit" value="SEARCH" style="font-size: 8pt; font-family: Tahoma; border: 1px solid #2540FC; ; background-color:#2540FC; color:#FFFFFF"> </font> <input type="text" name="url" size="14" dir="ltr" style="font-family: Tahoma; font-size: 8pt; border: 1px solid #0000FF; "></form></td> <td rowspan="3" width="7" height="100%"> <img name="box_r2_c3" src="http://www.pword.com/box/box_r2_c3.gif" border="0" alt="" width="7" height="62"></td> <td width="1" height="100%" rowspan="2"><img src="spacer.gif" width="1" height="51" border="0" alt=""></td> </tr> <tr> <td width="167" height="50%" valign="top"> <p align="center"><font size="1" face="Tahoma"> <a href="http://www.pword.com" style="text-decoration: none"> <span lang="en-us">Pword</span></a> موتور جستجوی </font></td> </tr> <tr> <td width="167" height="100%"> <img name="box_r3_c2" src="http://www.pword.com/box/box_r3_c2.gif" border="0" alt="" width="167" height="11"></td> <td width="1" height="100%"><img src="spacer.gif" width="1" height="11" border="0" alt=""></td> </tr> </table> </div>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1256">
<!-- Begin Jostejoogar.com Web Search Code --><iframe src="http://www.jostejoogar.com/products/Add/searchweb.asp" width="190" height="100" frameborder=0 scrolling="no"></iframe><!-- End Jostejoogar.com Web Search Code -->
<table BORDER="0" WIDTH="222" HEIGHT="18"> <tr> <td WIDTH="214" HEIGHT="10"> <form NAME="search" ID="search" ACTION="http://search.msn.com/results.asp" METHOD="get"> <p><a HREF="http://www.msn.com"> <img SRC="http://go.msn.com/AG/E/0.asp" width="61" height="33" BORDER="0" ALT="Go to msn.com"></a><font FACE="arial" SIZE="2"><strong>Search <font COLOR="#808080">the Web for:</font></strong></font><br> <input TYPE="text" ID="q" SIZE="18" MAXLENGTH="251" NAME="q" VCARD_NAME="SearchText"><input TYPE="submit" VALUE="Search" NAME="B1"><input TYPE="hidden" NAME="FORM" VALUE="FRNT"><input TYPE="hidden" NAME="un" VALUE="doc"><input TYPE="hidden" NAME="v" VALUE="1"></p> </form> </td> </tr> <tr> <td WIDTH="214" HEIGHT="21" VALIGN="bottom"> <p ALIGN="center"><font SIZE="1" FACE="arial"> <a HREF="http://search.msn.com/advanced.asp?MT=&RS=CHECKED&Form=FRNT">Use Advanced Search</a></font></td> </tr> </table> <p> </p> </body> </html>
<HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin function mailsome1(){ who=prompt("Enter recipient's email address: ","YOUR EMAIL"); what=prompt("SUBJECT: ","none"); if (confirm("Are you sure you want to mail "+who+" with the subject of "+what+"?")==true){ parent.location.href='mailto:'+who+'?subject='+what+''; } } // End --> </SCRIPT> <!-- CONTINUE --> <BODY> <CENTER> <a href='javascript:mailsome1()'>E-Mail Someone!</a> <FORM> <input type=button value="E-Mail Someone!" onClick="mailsome1()"> </FORM> </CENTER> <!-- END Script Size: 1.02 KB -->