Verrou
04-01-2007, 06:44 AM
I need help :S I can get it to convert credits to dollars but not dollars to credits!
Does someone know how to do it?
<html>
<head><title>Habbo Credit Converter || AndreHamon.com</title>
<body>
<script language="JavaScript">
function talertoeuro( taler ) {
document.rechner.euro.value = taler / 4;
}
function eurototaler( euro ) {
document.rechner.taler.value = euro * 3;
}
</script>
<form name="rechner">
<table align="center">
<tr>
<td width="50%">Credits:</td>
<td width="50%"><input name="taler" type="text" onkeyup="talertoeuro( this.value );" size="30"></td>
</tr>
<tr>
<td width="50%">NZD:</td>
<td width="50%"><input name="euro" type="text" onkeyup="eurototaler( this.value );" size="30"></td>
</tr>
</table>
</form>
</body>
</html>
And it looks like this. (http://andrehamon.evenhosting.com/creditconverter.html)
Help?
Does someone know how to do it?
<html>
<head><title>Habbo Credit Converter || AndreHamon.com</title>
<body>
<script language="JavaScript">
function talertoeuro( taler ) {
document.rechner.euro.value = taler / 4;
}
function eurototaler( euro ) {
document.rechner.taler.value = euro * 3;
}
</script>
<form name="rechner">
<table align="center">
<tr>
<td width="50%">Credits:</td>
<td width="50%"><input name="taler" type="text" onkeyup="talertoeuro( this.value );" size="30"></td>
</tr>
<tr>
<td width="50%">NZD:</td>
<td width="50%"><input name="euro" type="text" onkeyup="eurototaler( this.value );" size="30"></td>
</tr>
</table>
</form>
</body>
</html>
And it looks like this. (http://andrehamon.evenhosting.com/creditconverter.html)
Help?