Site hosted by Angelfire.com: Build your free website today!


Temperature Converter   

(you must click on the opposite box to see the results)

Celsius:  C   = Fahrenheit:  F



http://idiotboxtips.tripod.com/home.htm

View the Ace Color Chart


<.script language="JavaScript">
<.!--
function celsconv() {
document.convert.result.value=Math.round
(((document.convert.temp.value) * 9/5 + 32) *
10) / 10;
}
function fahrconv() {
document.convert.temp.value=Math.round
(((((document.convert.result.value)- 32) * 5)/9)
* 10) / 10;
}
// -->
<./script>
<.form name="convert" onreset="return confirm('Are you sure you want to reset both fields?');">
<.table border="0" width="34%">
<.tr>
<.td width="100%" bgcolor="#3333cc">
<.table width="100%" border=0 cellpadding=0 cellspacing=0><.tr><.td align=center>
<.font color="#ffffff" face="verdana" size="2"><.big><.strong>Temperature Converter<./big><./strong><./font><./td>
<.td align="right" valign="middle">
<./strong><./em><./font><./a>  <./td> <./tr><./table><.BR> <./td>
<./tr>
<./table>
<.font face=verdana size=1><.b>(you must click on the opposite box to see the results)<./b><./font>

<.font face=verdana size=2><.b> Celsius: <.input type="text" size="6" name="temp" value="0" onChange="celsconv()" > C  
=
Fahrenheit: <.input type="text" size="6" name="result" value="32" onChange="fahrconv()" > F

<.input type="reset" value="Reset" action="reset" onClick="clear(this.form);"> <./form>