function planyear (form)
{
form.mercyear1.value = form.year.value*365/88;
form.venyear1.value = form.year.value*365/225;
form.earyear1.value = form.year.value*365/365;
form.maryear1.value = form.year.value*365/687;
form.jupyear1.value = form.year.value/11.86;
form.satyear1.value = form.year.value/29.46;
form.urayear1.value = form.year.value/84;
form.nepyear1.value = form.year.value/164.8;
form.pluyear1.value = form.year.value/247.7;
}
Konwerter wieku [skrypty]
Jaki jest Twój wiek według innych planet? Sprawdź
Wpisz ile masz lat
Merkury
Wenus
Ziemia
Mars
Jowisz
Saturn
Uran
Neptun
Pluton
<SCRIPT LANGUAGE="JavaScript">
function planyear (form)
{
form.mercyear1.value = form.year.value*365/88;
form.venyear1.value = form.year.value*365/225;
form.earyear1.value = form.year.value*365/365;
form.maryear1.value = form.year.value*365/687;
form.jupyear1.value = form.year.value/11.86;
form.satyear1.value = form.year.value/29.46;
form.urayear1.value = form.year.value/84;
form.nepyear1.value = form.year.value/164.8;
form.pluyear1.value = form.year.value/247.7;
}
</SCRIPT>
<form>
<p align="center">
<font face="Arial">
<b>
Wpisz ile masz lat </b> <input type ="text" NAME="year" SIZE=15 ></font><br>
<font face="Arial"><input type = "button" value="Kliknij aby przeliczyć" onClick="planyear(this.form)">
</font>
<div align="center">
<center>
<table border="0" width="163">
<tr>
<td width="22"><font face="Arial"><b>Merkury</b></font></td>
<td width="1"><P><font face="Arial"><input type="text" NAME="mercyear1" SIZE=7 >
</font>
</td>
</tr>
<tr>
<td width="22"><font face="Arial"><b>Wenus</b></font></td>
<td width="1">
<P><font face="Arial"><input type="text" NAME="venyear1" SIZE=7 >
</font>
</td>
</tr>
<tr>
<td width="22"><font face="Arial"><b>Ziemia</b></font></td>
<td width="1">
<P><font face="Arial"><input type="text" NAME="earyear1" SIZE=7 >
</font>
</td>
</tr>
<tr>
<td width="22"><font face="Arial"><b>Mars</b></font></td>
<td width="1">
<P><font face="Arial"><input type="text" NAME="maryear1" SIZE=7 >
</font>
</td>
</tr>
<tr>
<td width="22"><font face="Arial"><b>Jowisz</b></font></td>
<td width="1">
<P><font face="Arial"><input type="text" NAME="jupyear1" SIZE=7 >
</font>
</td>
</tr>
<tr>
<td width="22"><font face="Arial"><b>Saturn</b></font></td>
<td width="1"><P><font face="Arial"><input type="text" NAME="satyear1" SIZE=7 >
</font>
</td>
</tr>
<tr>
<td width="22"><font face="Arial"><b>Uran</b></font></td>
<td width="1">
<P><font face="Arial"><input type="text" NAME="urayear1" SIZE=7 ></font>
</td>
</tr>
<tr>
<td width="22"><font face="Arial"><b>Neptun</b></font></td>
<td width="1">
<P><font face="Arial"><input type="text" NAME="nepyear1" SIZE=7 >
</font>
</td>
</tr>
<tr>
<td width="22"><font face="Arial"><b>Pluton</b></font></td>
<td width="1">
<P><font face="Arial"><input type="text" NAME="pluyear1" SIZE=7 >
</font>
</td>
</tr>
<tr>
<td width="22"></td>
<td width="1">
</td>
</tr>
</table>
</center>
</div>
</FORM>
Wyszukiwarka
Podobne podstrony:
listscript fcgi id=33listscript fcgi id=96listscript fcgi id=2listscript fcgi id=61listscript fcgi id=45listscript fcgi id=6listscript fcgi id=124listscript fcgi id=90listscript fcgi id=87listscript fcgi id=57listscript fcgi id=54listscript fcgi id=22listscript fcgi id=151listscript fcgi id=5listscript fcgi id=39listscript fcgi id=47listscript fcgi id=89listscript fcgi id=157więcej podobnych podstron