function CalcW1(G, B) { var V = (G*G*B)/11877; return V; }
// heste yngre end 1.5 år. function CalcV2(G, H) { var V2 = H*6.18 + G*2.14 - 903; return V2; }
// heste yngre end 2.5 år. function CalcV3(G) { var V3 = (G*6.42) - 709; return V3; }
function submit_this(form1) { var g = document.forms[0].g_size.value; var b = document.forms[0].b_size.value; document.forms[0].V1.value = CalcV1(g, b); }
function submit_this(form2) { var g = document.forms[0].g_size.value; var h = document.forms[0].h_size.value; document.forms[0].V2.value = CalcV2(g, h); }
function submit_this(form3) { var g = document.forms[0].g_size.value; document.forms[0].V3.value = CalcV3(g, h); }
</SCRIPT> </head>
<body>
<TABLE BORDER=0> <TR> <TD width="273" height="130"> <form name="form1" method="post" action=""> <input name="g_size" type="text" id="g_size" size="3" maxlength="3"> gjordstørrelse i cm.<br> <input name="b_size" type="text" id="b_size" size="3" maxlength="3"> længde i cm fra bringe til hale.<br> <br> <input name="button4" type="button" onClick='submit_this(this.form);' value="Beregn"> <br> <br> <input name="w1" type="text" id="w1" size="4" maxlength="4"> kg. </form>
I lang tid har samarbejdsbranchen fokuseret på at forbedre enhedsfunktioner – bedre kameraer, klarere lyd og smartere software. Men den virkelige forvandling handler ikke om funktioner.
function CalcV1(G, B) { var V = (G*G*B)/11877; return V; }
// heste yngre end 1.5 år. function CalcV2(G, H) { var V2 = H*6.18 + G*2.14 - 903; return V2; }
// heste yngre end 2.5 år. function CalcV3(G) { var V3 = (G*6.42) - 709; return V3; }
function submit_this1() { var g = document.forms[0].g_size1.value; var b = document.forms[0].b_size1.value; document.forms[0].w1.value = CalcV1(g, b); }
function submit_this2() { var g = document.forms[1].g_size2.value; var h = document.forms[1].h_size2.value; document.forms[1].w2.value = CalcV2(g, h); }
function submit_this3() { var g = document.forms[2].g_size3.value; document.forms[2].w3.value = CalcV3(g); }
</SCRIPT> </head>
<body>
<TABLE BORDER=0> <TR> <TD width="273" height="130"> <form name="form1" method="post" action=""> <input name="g_size1" type="text" id="g_size1" size="3" maxlength="3"> gjordstørrelse i cm.<br> <input name="b_size1" type="text" id="b_size1" size="3" maxlength="3"> længde i cm fra bringe til hale.<br> <br> <input name="button4" type="button" onClick='submit_this1();' value="Beregn"> <br> <br> <input name="w1" type="text" id="w1" size="4" maxlength="4"> kg. </form>
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.