Logo Patagonia.png

Diferencia entre revisiones de «Widget:Calculator»

De Wikiexplora
Saltar a: navegación, buscar
Línea 4: Línea 4:
 
               <fieldset>
 
               <fieldset>
 
                 <legend>Calculate the time</legend>                 
 
                 <legend>Calculate the time</legend>                 
                 <label class='radiolabel'><input type="radio"  name="selectedcake" value="RoundTrip" onclick="calculateTotal()" />Is a round trip</label><br/>             
+
                 <label class='radiolabel'><input type="radio"  name="selectedcake" value="RoundTrip" onclick="calculateTotal()" />Is a round trip</label>
 +
         
 
                 <br/>
 
                 <br/>
                 <input type="text"  id="horizontal" name="horizontal" value="Distancia horizontal en metros"  />
+
                <label>Distancia horizontal en metros</label>
                 <input type="text"  id="altitude" name="altitude" value="Mean altitude of the whole route"  />
+
                 <input type="text"  id="horizontal" name="horizontal" value=""  />
 +
                <br/>
 +
                <label>Mean altitude of the whole route</label>  
 +
                 <input type="text"  id="altitude" name="altitude" value=""  />
 +
                <br/>
 +
                <label>Metros de ascenso</label> 
 
                 <input type="text"  id="ascenso" name="ascenso" value="Metros de ascenso"  />
 
                 <input type="text"  id="ascenso" name="ascenso" value="Metros de ascenso"  />
 +
                <br/>
 +
                <label>Metros de descenso</label>
 
                 <input type="text"  id="descenso" name="descenso" value="Metros de descenso"  />
 
                 <input type="text"  id="descenso" name="descenso" value="Metros de descenso"  />
                </p>
+
             
 
                 <div id="totalPrice"></div>
 
                 <div id="totalPrice"></div>
 
                  
 
                  

Revisión del 21:33 18 ago 2017

<form action="" id="calculator" onsubmit="return false;">

              <fieldset>
               <legend>Calculate the time</legend>                
               <label class='radiolabel'><input type="radio"  name="selectedcake" value="RoundTrip" onclick="calculateTotal()" />Is a round trip</label>
         
               
<label>Distancia horizontal en metros</label> <input type="text" id="horizontal" name="horizontal" value="" />
<label>Mean altitude of the whole route</label> <input type="text" id="altitude" name="altitude" value="" />
<label>Metros de ascenso</label> <input type="text" id="ascenso" name="ascenso" value="Metros de ascenso" />
<label>Metros de descenso</label> <input type="text" id="descenso" name="descenso" value="Metros de descenso" />
               </fieldset>


           <input type='submit' id='submit' value='Submit' onclick="calculateTotal()" />
       </div>  

</form>