![]() |
Conversion script not showing results
Hi,
Im need to create a conversion-script for a company that do step-competitions. You should be able to input a time-variable, choose what activity you did from a drop-down meny, click convert ("omvandla" in swedish") and the script prints what that is equal to in steps. I found a code online that does other conversion so i just redid that code to fit my demands. Everything looks alright in the browser, but the script doesnt print anything when i click "omvandla". Forgive me for posting the entire code, which is pretty long. But most of the code is just repetition, cause you have 58 types of activities to choose from. Some words are in swedish, but the only two i think you need to understand is: omvandla= convert nollställ= reset tid= time Please help me! Code:
<!-- RINGESON STEG-KONVERTERARE --> |
Throughout - missing closing bracket:-
if (document.stegKalkylator.cchoice.selectedIndex == 1) { document.stegKalkylator.result.value = Math.round(c1 * 198 ) ; } I understand Motionscykling but what is the Swedish for Underwater Motorcycling? :D I might have a go at Snöskottning - sounds erotic! :D Instructions on a Swedish chainsaw -- "Do not attempt to stop chain with your hands or genitals." |
Quote:
Motionscykling= biking as workout snöskottning: snowshuffling :D very erotic |
Quote:
|
How about this rewrite??
Code:
<script language="JavaScript" type="text/javascript"> |
| All times are GMT +1. The time now is 01:19 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.