Vermeld in iedere vraag duidelijk:
- De versie van Joomla! 2.5 die je gebruikt
- De volledige url van je website indien mogelijk.
- De versie van de extensie waar de vraag over gaat.
opgelost Html code snelheidsberekening triatlon
Html code snelheidsberekening triatlon
25 mrt 2013 16:12
Beste
Als ik bijgevoegde code wil aanpassen werkt ze niet meer. Kan iemand me verderhelpen hoe ik dit kan doen.
Groeten
Als ik bijgevoegde code wil aanpassen werkt ze niet meer. Kan iemand me verderhelpen hoe ik dit kan doen.
Groeten
Code:
<html>
<head>
<title>Triathlon Conversion Calculators</title>
<!-- Brought to you by http://www.bx3.com/phil/tri/ Phil Barnes -->
<style tyle="text/css">
body, p {
font: 12px arial, helvetica;
}
h1 {
font: bold 16px arial, helvetica;
border-bottom: #000000 solid 1px;
}
h2 {
font: bold 14px arial, helvetica;
border-bottom: #000000 solid 1px;
}
table.inputTable td {
font: 12px arial, helvetica;
border: #000000 solid 1px;
width: 508px;
}
table.inputTable th {
text-align: left;
font: bold 12px arial, helvetica;
border: #000000 solid 1px;
background-color: #ffffcc;
width: 200px;
}
table.inputTable caption {
font: bold 12px arial, helvetica;
text-align: left;
}
input.result {
border: none;
font: 12px arial, helvetica;
width: 60px;
}
</style>
<script language="JavaScript">
<!--
function SymError()
{
return true;
}
window.onerror = SymError;
var SymRealWinOpen = window.open;
function SymWinOpen(url, name, attributes)
{
return (new Object());
}
window.open = SymWinOpen;
//-->
</script>
<script type="text/javascript">
function swimPaceCompute() {
// convert distances to kilometers
var distanceSwim = document.frmSwim.swimDistance.value;
if (document.frmSwim.swimDistanceUnits[0].checked) {
distanceSwim = distanceSwim / 1000;
} else if (document.frmSwim.swimDistanceUnits[1].checked) {
distanceSwim = distanceSwim * .9144 / 1000;
} else if (document.frmSwim.swimDistanceUnits[3].checked) {
distanceSwim = convertMilesToKm(distanceSwim);
}
//var secondsSwim = document.frmSwim.swimTimeHours.options[document.frmSwim.swimTimeHours.selectedIndex].value * 60 * 60 + document.frmSwim.swimTimeMinutes.options[document.frmSwim.swimTimeMinutes.selectedIndex].value * 60 + document.frmSwim.swimTimeSeconds.options[document.frmSwim.swimTimeSeconds.selectedIndex].value * 1;
var secondsSwim = document.frmSwim.swimHH.value * 60 * 60 + document.frmSwim.swimMM.value * 60 + document.frmSwim.swimSS.value * 1;
var speedSwim = distanceSwim / secondsSwim * 60 * 60;
var paceSwim = secondsSwim / distanceSwim;
if(document.frmSwim.swimPaceUnits[0].checked) {
// /100m
paceSwim = paceSwim / 1000 * 100;
} else {
paceSwim = paceSwim / 1000 * 100 * 0.9144;
}
document.frmSwim.swimPace.value = secondsToTime(paceSwim);
if(document.frmSwim.swimSpeedUnits[1].checked) {
// convert from km to miles
speedSwim = convertKmToMiles(speedSwim);
}
document.frmSwim.swimSpeed.value = speedSwim;
}
function bikeSpeedCompute() {
//var secondsBike = document.frmBike.bikeTimeHours.options[document.frmBike.bikeTimeHours.selectedIndex].value * 60 * 60 + document.frmBike.bikeTimeMinutes.options[document.frmBike.bikeTimeMinutes.selectedIndex].value * 60 + document.frmBike.bikeTimeSeconds.options[document.frmBike.bikeTimeSeconds.selectedIndex].value * 1;
var secondsBike = document.frmBike.bikeHH.value * 60 * 60 + document.frmBike.bikeMM.value * 60 + document.frmBike.bikeSS.value * 1;
var speedBike = document.frmBike.bikeDistance.value / secondsBike * 60 * 60;
if(document.frmBike.bikeDistanceUnits[0].checked && document.frmBike.bikeSpeedUnits[1].checked) {
// convert from km to miles
speedBike = convertKmToMiles(speedBike);
} else if (document.frmBike.bikeDistanceUnits[1].checked && document.frmBike.bikeSpeedUnits[0].checked) {
//convert from miles to km
speedBike = convertMilesToKm(speedBike);
}
document.frmBike.bikeSpeed.value = speedBike;
}
function runPaceCompute() {
//var secondsRun = document.frmRun.runTimeHours.options[document.frmRun.runTimeHours.selectedIndex].value * 60 * 60 + document.frmRun.runTimeMinutes.options[document.frmRun.runTimeMinutes.selectedIndex].value * 60 + document.frmRun.runTimeSeconds.options[document.frmRun.runTimeSeconds.selectedIndex].value * 1;
var secondsRun = document.frmRun.runHH.value * 60 * 60 + document.frmRun.runMM.value * 60 + document.frmRun.runSS.value * 1;
var paceRun = secondsRun / document.frmRun.runDistance.value
if(document.frmRun.runDistanceUnits[0].checked && document.frmRun.runPaceUnits[1].checked) {
paceRun = convertMilesToKm(paceRun);
} else if (document.frmRun.runDistanceUnits[1].checked && document.frmRun.runPaceUnits[0].checked) {
paceRun = convertKmToMiles(paceRun);
}
paceRun = secondsToTime(paceRun)
document.frmRun.runPace.value = paceRun;
var speedRun = document.frmRun.runDistance.value / secondsRun * 60 * 60;
if(document.frmRun.runDistanceUnits[0].checked && document.frmRun.runSpeedUnits[1].checked) {
// convert from km to miles
speedRun = convertKmToMiles(speedRun);
} else if (document.frmRun.runDistanceUnits[1].checked && document.frmRun.runSpeedUnits[0].checked) {
//convert from miles to km
speedRun = convertMilesToKm(speedRun);
}
document.frmRun.runSpeed.value = speedRun;
}
function secondsToTime(secs) {
var ret = ""; // Return value
var s = Math.floor(secs); // Whole seconds
var m = Math.floor(s/60); // Whole minutes
var h = Math.floor(m/60); // Whole hours
if (h < 10)
ret += "0";
ret += h;
ret += ":";
var m = m%60;
if (m < 10)
ret += "0";
ret += m;
var s = s%60;
ret += ":";
if (s < 10)
ret += "0";
ret += s;
return ret;
}
function convertMilesToKm(inputValue) {
return inputValue * 1.609344;
}
function convertKmToMiles(inputValue) {
return inputValue * 0.621371192;
}
function convertMToYd(inputValue) {
return inputValue / 0.9144;
}
function convertYdToM(inputValue) {
return inputValue * 0.9144;
}
function distanceCompute() {
var inputDistance = document.frmDistance.inputDistance.value;
// convert everything back to meters
if (document.frmDistance.inputDistanceUnits[1].checked) {
inputDistance = convertYdToM(inputDistance);
} else if (document.frmDistance.inputDistanceUnits[2].checked) {
inputDistance = inputDistance * 1000;
} else if (document.frmDistance.inputDistanceUnits[3].checked) {
inputDistance = convertMilesToKm(inputDistance) * 1000;
}
if (document.frmDistance.outputDistanceUnits[1].checked) {
outputDistance = convertMToYd(inputDistance)
} else if (document.frmDistance.outputDistanceUnits[2].checked) {
outputDistance = inputDistance / 1000;
} else if (document.frmDistance.outputDistanceUnits[3].checked) {
outputDistance = convertKmToMiles(inputDistance / 1000);
} else {
outputDistance = inputDistance;
}
document.frmDistance.outputDistance.value = outputDistance;
}
function runPaceConvert() {
var timeSeconds = document.frmRunPace.runHH.value * 60 * 60 + document.frmRunPace.runMM.value * 60 + document.frmRunPace.runSS.value * 1;
var secondsPerKM = timeSeconds;
// If Min/Mile entered, convert to seconds per Km
if (document.frmRunPace.runPaceUnits0[1].checked) {
secondsPerKM = convertKmToMiles(secondsPerKM);
}
var outputSeconds = secondsPerKM;
// If Min/Mile requested, convert to Min/Mile
if (document.frmRunPace.runPaceUnits[1].checked) {
outputSeconds = convertMilesToKm(secondsPerKM);
}
// Output converted pace time
document.frmRunPace.runPace.value = secondsToTime(outputSeconds);
var kPH = 1 / (secondsPerKM / 60 / 60 );
var outputSpeed = kPH;
// If MPH, then convert
if (document.frmRunPace.runSpeedUnits[1].checked) {
outputSpeed = convertKmToMiles(outputSpeed);
}
document.frmRunPace.runSpeed.value = outputSpeed;
}
</script>
<!--mstheme--><link rel="stylesheet" type="text/css" href="../_themes/compass/comp1111.css"><meta name="Microsoft Theme" content="compass 1111, default">
</head>
<body>
<h1>Triathlon Conversion Calculators</h1>
<noscript>
</noscript>
<form name="frmDistance">
<table class="inputTable" cellpadding="3" cellspacing="2" border="0">
<caption>Convert Distances</caption>
<tr>
<th>
Input Distance:
</th>
<td>
<input type="text" name="inputDistance" size="20">
<label for="inputUnit1"><input id="inputUnit1" type="radio" name="inputDistanceUnits" value="m">m</label>
<label for="inputUnit2"><input id="inputUnit2" type="radio" name="inputDistanceUnits" value="yd">yds</label>
<label for="inputUnit3"><input id="inputUnit3" type="radio" name="inputDistanceUnits" value="km" checked>KM</label>
<label for="inputUnit4"><input id="inputUnit4" type="radio" name="inputDistanceUnits" value="mi">Miles</label>
</td>
</tr>
<tr>
<th><br></th>
<td>
<input type="button" onclick="distanceCompute()" value="Compute Converted Distance">
</td>
</tr>
<tr>
<th>
Output Distance:
</th>
<td>
<input type="text" name="outputDistance" size="20">
<label for="outputUnit1"><input id="outputUnit1" type="radio" name="outputDistanceUnits" value="m">m</label>
<label for="outputUnit2"><input id="outputUnit2" type="radio" name="outputDistanceUnits" value="yd">yds</label>
<label for="outputUnit3"><input id="outputUnit3" type="radio" name="outputDistanceUnits" value="km">KM</label>
<label for="outputUnit4"><input id="outputUnit4" type="radio" name="outputDistanceUnits" value="mi" checked>Miles</label>
</td>
</tr>
</table>
</form>
<br>
<form name="frmRunPace">
<table class="inputTable" cellpadding="3" cellspacing="2" border="0">
<caption>Convert Running Pace (e.g. Min/Mile to Min/Km or MPH)</caption>
<tr>
<th>
Time to Run 1 km or 1 mile:
</th>
<td>
HH
<input type="text" name="runHH" value="00" size="3" maxlength="2">
MM
<input type="text" name="runMM" value="00" size="3" maxlength="2">
SS
<input type="text" name="runSS" value="00" size="3" maxlength="2">
<label for="runPaceUnit01"><input id="runPaceUnit01" type="radio" name="runPaceUnits0" value="km" checked>Time/Km </label>
<label for="runPaceUnit02"><input id="runPaceUnit02" type="radio" name="runPaceUnits0" value="mi">Time/Mile </label>
</td>
</tr>
<tr>
<th><br></th>
<td>
<input type="button" onclick="runPaceConvert()" value="Convert Run Pace and Speed">
</td>
</tr>
<tr>
<th>
Run Pace:
</th>
<td>
<input type="text" name="runPace" readonly size="20">
<label for="runPaceUnit1"><input id="runPaceUnit1" type="radio" name="runPaceUnits" value="km">Min/Km </label>
<label for="runPaceUnit2"><input id="runPaceUnit2" type="radio" name="runPaceUnits" value="mi" checked>Min/Mile </label>
</td>
<tr>
<th>
Run Speed:
</th>
<td>
<input type="text" name="runSpeed" readonly size="20">
<label for="runSpeedUnit1"><input id="runSpeedUnit1" type="radio" name="runSpeedUnits" value="km" checked>KM/hr </label>
<label for="runSpeedUnit2"><input id="runSpeedUnit2" type="radio" name="runSpeedUnits" value="mi">Miles/hr </label>
</td>
</tr>
</tr>
</table>
</form>
<form name="frmSwim">
<table class="inputTable" cellpadding="3" cellspacing="2" border="0">
<caption>Calculate Swimning Pace Based on Distance and Time</caption>
<tr>
<th>
Swim Distance:
</th>
<td>
<input type="text" name="swimDistance" size="20">
<label for="swimUnit1"><input id="swimUnit1" type="radio" name="swimDistanceUnits" value="m" checked>m</label>
<label for="swimUnit2"><input id="swimUnit2" type="radio" name="swimDistanceUnits" value="yd">yds</label>
<label for="swimUnit3"><input id="swimUnit3" type="radio" name="swimDistanceUnits" value="km">KM</label>
<label for="swimUnit4"><input id="swimUnit4" type="radio" name="swimDistanceUnits" value="mi">Miles</label>
</td>
</tr>
<tr>
<th>
Swim Time:
</th>
<td>
<!--
<select name="swimTimeHours">
<option value="00">00</option>
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>
<option value="08">08</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
<option value="32">32</option>
<option value="33">33</option>
<option value="34">34</option>
<option value="35">35</option>
<option value="36">36</option>
<option value="37">37</option>
<option value="38">38</option>
<option value="39">39</option>
<option value="40">40</option>
<option value="41">41</option>
<option value="42">42</option>
<option value="43">43</option>
<option value="44">44</option>
<option value="45">45</option>
<option value="46">46</option>
<option value="47">47</option>
<option value="48">48</option>
<option value="49">49</option>
<option value="50">50</option>
<option value="51">51</option>
<option value="52">52</option>
<option value="53">53</option>
<option value="54">54</option>
<option value="55">55</option>
<option value="56">56</option>
<option value="57">57</option>
<option value="58">58</option>
<option value="59">59</option>
</select>
:
<select name="swimTimeMinutes">
<option value="00">00</option>
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>
<option value="08">08</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
<option value="32">32</option>
<option value="33">33</option>
<option value="34">34</option>
<option value="35">35</option>
<option value="36">36</option>
<option value="37">37</option>
<option value="38">38</option>
<option value="39">39</option>
<option value="40">40</option>
<option value="41">41</option>
<option value="42">42</option>
<option value="43">43</option>
<option value="44">44</option>
<option value="45">45</option>
<option value="46">46</option>
<option value="47">47</option>
<option value="48">48</option>
<option value="49">49</option>
<option value="50">50</option>
<option value="51">51</option>
<option value="52">52</option>
<option value="53">53</option>
<option value="54">54</option>
<option value="55">55</option>
<option value="56">56</option>
<option value="57">57</option>
<option value="58">58</option>
<option value="59">59</option>
</select>
:
<select name="swimTimeSeconds">
<option value="00">00</option>
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>
<option value="08">08</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
<option value="32">32</option>
<option value="33">33</option>
<option value="34">34</option>
<option value="35">35</option>
<option value="36">36</option>
<option value="37">37</option>
<option value="38">38</option>
<option value="39">39</option>
<option value="40">40</option>
<option value="41">41</option>
<option value="42">42</option>
<option value="43">43</option>
<option value="44">44</option>
<option value="45">45</option>
<option value="46">46</option>
<option value="47">47</option>
<option value="48">48</option>
<option value="49">49</option>
<option value="50">50</option>
<option value="51">51</option>
<option value="52">52</option>
<option value="53">53</option>
<option value="54">54</option>
<option value="55">55</option>
<option value="56">56</option>
<option value="57">57</option>
<option value="58">58</option>
<option value="59">59</option>
</select>
-->
HH
<input type="text" name="swimHH" value="00" size="3" maxlength="2">
MM
<input type="text" name="swimMM" value="00" size="3" maxlength="2">
SS
<input type="text" name="swimSS" value="00" size="3" maxlength="2">
</td>
</tr>
<tr>
<th><br></th>
<td>
<input type="button" onclick="swimPaceCompute()" value="Compute Swim Pace and Speed">
</td>
</tr>
<tr>
<th>
Swim Pace:
</th>
<td>
<input type="text" name="swimPace" readonly size="20">
<label for="swimPaceUnit1"><input id="swimPaceUnit1" type="radio" name="swimPaceUnits" value="m" checked>/100 m</label>
<label for="swimPaceUnit2"><input id="swimPaceUnit2" type="radio" name="swimPaceUnits" value="yd">/100 yds</label>
</td>
<tr>
<th>
Swim Speed:
</th>
<td>
<input type="text" name="swimSpeed" readonly size="20">
<label for="swimSpeedUnit1"><input id="swimSpeedUnit1" type="radio" name="swimSpeedUnits" value="km" checked>KM/hr </label>
<label for="swimSpeedUnit2"><input id="swimSpeedUnit2" type="radio" name="swimSpeedUnits" value="mi">Miles/hr </label>
</td>
</tr>
</tr>
</table>
</form>
<br>
<form name="frmBike">
<table class="inputTable" cellpadding="3" cellspacing="2" border="0">
<caption>Calculate Average Speed based on Distance and Time</caption>
<tr>
<th>
Bike Distance:
</th>
<td>
<input type="text" name="bikeDistance" size="20">
<label for="bikeUnit1"><input id="bikeUnit1" type="radio" name="bikeDistanceUnits" value="km" checked>KM</label>
<label for="bikeUnit2"><input id="bikeUnit2" type="radio" name="bikeDistanceUnits" value="mi">Miles</label>
</td>
</tr>
<tr>
<th>
Bike Time:
</th>
<td>
<!--
<select name="bikeTimeHours">
<option value="00">00</option>
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>
<option value="08">08</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
<option value="32">32</option>
<option value="33">33</option>
<option value="34">34</option>
<option value="35">35</option>
<option value="36">36</option>
<option value="37">37</option>
<option value="38">38</option>
<option value="39">39</option>
<option value="40">40</option>
<option value="41">41</option>
<option value="42">42</option>
<option value="43">43</option>
<option value="44">44</option>
<option value="45">45</option>
<option value="46">46</option>
<option value="47">47</option>
<option value="48">48</option>
<option value="49">49</option>
<option value="50">50</option>
<option value="51">51</option>
<option value="52">52</option>
<option value="53">53</option>
<option value="54">54</option>
<option value="55">55</option>
<option value="56">56</option>
<option value="57">57</option>
<option value="58">58</option>
<option value="59">59</option>
</select>
:
<select name="bikeTimeMinutes">
<option value="00">00</option>
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>
<option value="08">08</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
<option value="32">32</option>
<option value="33">33</option>
<option value="34">34</option>
<option value="35">35</option>
<option value="36">36</option>
<option value="37">37</option>
<option value="38">38</option>
<option value="39">39</option>
<option value="40">40</option>
<option value="41">41</option>
<option value="42">42</option>
<option value="43">43</option>
<option value="44">44</option>
<option value="45">45</option>
<option value="46">46</option>
<option value="47">47</option>
<option value="48">48</option>
<option value="49">49</option>
<option value="50">50</option>
<option value="51">51</option>
<option value="52">52</option>
<option value="53">53</option>
<option value="54">54</option>
<option value="55">55</option>
<option value="56">56</option>
<option value="57">57</option>
<option value="58">58</option>
<option value="59">59</option>
</select>
:
<select name="bikeTimeSeconds">
<option value="00">00</option>
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>
<option value="08">08</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
<option value="32">32</option>
<option value="33">33</option>
<option value="34">34</option>
<option value="35">35</option>
<option value="36">36</option>
<option value="37">37</option>
<option value="38">38</option>
<option value="39">39</option>
<option value="40">40</option>
<option value="41">41</option>
<option value="42">42</option>
<option value="43">43</option>
<option value="44">44</option>
<option value="45">45</option>
<option value="46">46</option>
<option value="47">47</option>
<option value="48">48</option>
<option value="49">49</option>
<option value="50">50</option>
<option value="51">51</option>
<option value="52">52</option>
<option value="53">53</option>
<option value="54">54</option>
<option value="55">55</option>
<option value="56">56</option>
<option value="57">57</option>
<option value="58">58</option>
<option value="59">59</option>
</select>
-->
HH
<input type="text" name="bikeHH" value="00" size="3" maxlength="2">
MM
<input type="text" name="bikeMM" value="00" size="3" maxlength="2">
SS
<input type="text" name="bikeSS" value="00" size="3" maxlength="2">
</td>
</tr>
<tr>
<th><br></th>
<td>
<input type="button" onclick="bikeSpeedCompute()" value="Compute Bike Speed">
</td>
</tr>
<tr>
<th>
Bike Speed:
</th>
<td>
<input type="text" name="bikeSpeed" readonly size="20">
<label for="bikeSpeedUnit1"><input id="bikeSpeedUnit1" type="radio" name="bikeSpeedUnits" value="km" checked>KM/hr </label>
<label for="bikeSpeedUnit2"><input id="bikeSpeedUnit2" type="radio" name="bikeSpeedUnits" value="mi">Miles/hr </label>
</td>
</tr>
</table>
</form>
<br>
<form name="frmRun">
<table class="inputTable" cellpadding="3" cellspacing="2" border="0">
<caption>Calculate Running Pace Based on Distance and Time</caption>
<tr>
<th>
Run Distance:
</th>
<td>
<input type="text" name="runDistance" size="20">
<label for="runUnit1"><input id="runUnit1" type="radio" name="runDistanceUnits" value="km" checked>KM</label>
<label for="runUnit2"><input id="runUnit2" type="radio" name="runDistanceUnits" value="mi">Miles</label>
</td>
</tr>
<tr>
<th>
Run Time:
</th>
<td>
<!--
<select name="runTimeHours">
<option value="00">00</option>
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>
<option value="08">08</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
<option value="32">32</option>
<option value="33">33</option>
<option value="34">34</option>
<option value="35">35</option>
<option value="36">36</option>
<option value="37">37</option>
<option value="38">38</option>
<option value="39">39</option>
<option value="40">40</option>
<option value="41">41</option>
<option value="42">42</option>
<option value="43">43</option>
<option value="44">44</option>
<option value="45">45</option>
<option value="46">46</option>
<option value="47">47</option>
<option value="48">48</option>
<option value="49">49</option>
<option value="50">50</option>
<option value="51">51</option>
<option value="52">52</option>
<option value="53">53</option>
<option value="54">54</option>
<option value="55">55</option>
<option value="56">56</option>
<option value="57">57</option>
<option value="58">58</option>
<option value="59">59</option>
</select>
:
<select name="runTimeMinutes">
<option value="00">00</option>
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>
<option value="08">08</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
<option value="32">32</option>
<option value="33">33</option>
<option value="34">34</option>
<option value="35">35</option>
<option value="36">36</option>
<option value="37">37</option>
<option value="38">38</option>
<option value="39">39</option>
<option value="40">40</option>
<option value="41">41</option>
<option value="42">42</option>
<option value="43">43</option>
<option value="44">44</option>
<option value="45">45</option>
<option value="46">46</option>
<option value="47">47</option>
<option value="48">48</option>
<option value="49">49</option>
<option value="50">50</option>
<option value="51">51</option>
<option value="52">52</option>
<option value="53">53</option>
<option value="54">54</option>
<option value="55">55</option>
<option value="56">56</option>
<option value="57">57</option>
<option value="58">58</option>
<option value="59">59</option>
</select>
:
<select name="runTimeSeconds">
<option value="00">00</option>
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>
<option value="08">08</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
<option value="32">32</option>
<option value="33">33</option>
<option value="34">34</option>
<option value="35">35</option>
<option value="36">36</option>
<option value="37">37</option>
<option value="38">38</option>
<option value="39">39</option>
<option value="40">40</option>
<option value="41">41</option>
<option value="42">42</option>
<option value="43">43</option>
<option value="44">44</option>
<option value="45">45</option>
<option value="46">46</option>
<option value="47">47</option>
<option value="48">48</option>
<option value="49">49</option>
<option value="50">50</option>
<option value="51">51</option>
<option value="52">52</option>
<option value="53">53</option>
<option value="54">54</option>
<option value="55">55</option>
<option value="56">56</option>
<option value="57">57</option>
<option value="58">58</option>
<option value="59">59</option>
</select>
-->
HH
<input type="text" name="runHH" value="00" size="3" maxlength="2">
MM
<input type="text" name="runMM" value="00" size="3" maxlength="2">
SS
<input type="text" name="runSS" value="00" size="3" maxlength="2">
</td>
</tr>
<tr>
<th><br></th>
<td>
<input type="button" onclick="runPaceCompute()" value="Compute Run Pace and Speed">
</td>
</tr>
<tr>
<th>
Run Pace:
</th>
<td>
<input type="text" name="runPace" readonly size="20">
<label for="runPaceUnit1"><input id="runPaceUnit1" type="radio" name="runPaceUnits" value="km" checked>Min/Km </label>
<label for="runPaceUnit2"><input id="runPaceUnit2" type="radio" name="runPaceUnits" value="mi">Min/Mile </label>
</td>
<tr>
<th>
Run Speed:
</th>
<td>
<input type="text" name="runSpeed" readonly size="20">
<label for="runSpeedUnit1"><input id="runSpeedUnit1" type="radio" name="runSpeedUnits" value="km" checked>KM/hr </label>
<label for="runSpeedUnit2"><input id="runSpeedUnit2" type="radio" name="runSpeedUnits" value="mi">Miles/hr </label>
</td>
</tr>
</tr>
</table>
</form>
<p> </p>
<hr>
<p>The metric/imperial <strong>distance converter</strong> allows you to calculate distances and make conversions from meters to yards, meters to kilometers, meters to miles, yards to meters, yards to kilometers, yards to miles, kilometers to meters, kilometers to yards, kilometers to miles.</p>
<p>The <strong>Swim Pace calculator</strong> allows you to enter in the swim distance (meters, yards, kilometers or miles), and the swim time - it will then compute your pace /100m, /100yds as well as an average swim speed in km/hr or miles/hr (MPH).</p>
<p>The <strong>Bike Speed Calculator</strong> allows you to enter in the bike distance (kilometers or miles), and the biking time - it will then compute your average bike speed in kilometers/hour (km/hr) or miles per hour (MPH).</p>
<p>The <strong>Running Pace Calculator</strong> allows you to enter in the run distance (kilometers or miles), and your running time - it will then compute your running pace in minutes per kilometer (min/km) or minutes per mile (min/mile) as well as your average run speed in kilometers per hour (km/hr) or Miles per hour (MPH).</p>
<hr>
<p>Why not check out this <a href="tritime.php">Triathlon Time Management Calculator. Click Here</a></p>
<script type="text/javascript"><!--
google_ad_client = "pub-0907184520295119";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</body>
</html>
<script language="JavaScript">
<!--
var SymRealOnLoad;
var SymRealOnUnload;
function SymOnUnload()
{
window.open = SymWinOpen;
if(SymRealOnUnload != null)
SymRealOnUnload();
}
function SymOnLoad()
{
if(SymRealOnLoad != null)
SymRealOnLoad();
window.open = SymRealWinOpen;
SymRealOnUnload = window.onunload;
window.onunload = SymOnUnload;
}
SymRealOnLoad = window.onload;
window.onload = SymOnLoad;
//-->
</script>
- Guy
- Heeft onderwerp gestart
- Regelmatige bezoeker van Joomla!NL
- Berichten: 231
Html code snelheidsberekening triatlon
25 mrt 2013 16:20
Wat wil je precies doen?
Kan vanalles zijn........Als ik bijgevoegde code wil aanpassen werkt ze niet meer.
Groetjes, Astrid
Gebruik de zoekfunctie van dit forum voordat je een nieuwe vraag plaatst. Vragen uitsluitend via dit forum. yndi.nl - kvk 17157725 | Is je vraag beantwoord? Dan kan je het draadje zelf
sluiten
. Wil je Joomla!NL steunen? Dat kan met een donatie. |
- Astrid
- Moderator + Technisch team
- Berichten: 37456
Html code snelheidsberekening triatlon
25 mrt 2013 17:10 - 25 mrt 2013 20:03
Hoi
Ik had graag de tekst bovenaan willen aanpassen:
Triathlon Conversion Calculators
En deze link willen verwijderen:
En de tekst onderaan willen verwijderen:
The metric/imperial distance converter allows you to calculate distances and make conversions from meters to yards, meters to kilometers, meters to miles, yards to meters, yards to kilometers, yards to miles, kilometers to meters, kilometers to yards, kilometers to miles.
The Swim Pace calculator allows you to enter in the swim distance (meters, yards, kilometers or miles), and the swim time - it will then compute your pace /100m, /100yds as well as an average swim speed in km/hr or miles/hr (MPH).
The Bike Speed Calculator allows you to enter in the bike distance (kilometers or miles), and the biking time - it will then compute your average bike speed in kilometers/hour (km/hr) or miles per hour (MPH).
The Running Pace Calculator allows you to enter in the run distance (kilometers or miles), and your running time - it will then compute your running pace in minutes per kilometer (min/km) or minutes per mile (min/mile) as well as your average run speed in kilometers per hour (km/hr) or Miles per hour (MPH).
Why not check out this Triathlon Time Management Calculator. Click Here
Groeten
Guy
Edit Jelle. Ik heb de code tussen codetags geplaatst, volgende keer graag zelf doen.
Ik had graag de tekst bovenaan willen aanpassen:
Triathlon Conversion Calculators
En deze link willen verwijderen:
Code:
<!-- Brought to you by http://www.bx3.com/phil/tri/ Phil Barnes -->
<style tyle="text/css">
En de tekst onderaan willen verwijderen:
The metric/imperial distance converter allows you to calculate distances and make conversions from meters to yards, meters to kilometers, meters to miles, yards to meters, yards to kilometers, yards to miles, kilometers to meters, kilometers to yards, kilometers to miles.
The Swim Pace calculator allows you to enter in the swim distance (meters, yards, kilometers or miles), and the swim time - it will then compute your pace /100m, /100yds as well as an average swim speed in km/hr or miles/hr (MPH).
The Bike Speed Calculator allows you to enter in the bike distance (kilometers or miles), and the biking time - it will then compute your average bike speed in kilometers/hour (km/hr) or miles per hour (MPH).
The Running Pace Calculator allows you to enter in the run distance (kilometers or miles), and your running time - it will then compute your running pace in minutes per kilometer (min/km) or minutes per mile (min/mile) as well as your average run speed in kilometers per hour (km/hr) or Miles per hour (MPH).
Why not check out this Triathlon Time Management Calculator. Click Here
Groeten
Guy
Edit Jelle. Ik heb de code tussen codetags geplaatst, volgende keer graag zelf doen.
- Guy
- Heeft onderwerp gestart
- Regelmatige bezoeker van Joomla!NL
- Berichten: 231
Html code snelheidsberekening triatlon
25 mrt 2013 17:19
En waarom lukt dat niet dan? Overigens wordt die link niet getoond en getuigt het van respect naar de makers als je hem in de broncode laat staan. Maar verder is het gewoon een html document en kan je alle teksten aanpassen. Zolang je maar niet aan de javascript codes komt........
Groetjes, Astrid
Gebruik de zoekfunctie van dit forum voordat je een nieuwe vraag plaatst. Vragen uitsluitend via dit forum. yndi.nl - kvk 17157725 | Is je vraag beantwoord? Dan kan je het draadje zelf
sluiten
. Wil je Joomla!NL steunen? Dat kan met een donatie. |
- Astrid
- Moderator + Technisch team
- Berichten: 37456
Html code snelheidsberekening triatlon
25 mrt 2013 17:22
Beste
Geen idee, van het moment dat ik ook maar iets verander aan deze code werken de tellers niet meer.
Ik gebruik de jce editor
Guy
Geen idee, van het moment dat ik ook maar iets verander aan deze code werken de tellers niet meer.
Ik gebruik de jce editor
Guy
- Guy
- Heeft onderwerp gestart
- Regelmatige bezoeker van Joomla!NL
- Berichten: 231
Html code snelheidsberekening triatlon
25 mrt 2013 17:30
Pas je bestand aan met notepad++. Sla het op als bijvoorbeeld tria.htm. Zet het in de root van je site en controleer eerst of het dan wel werkt.
Dus dan jouwsite.nl/tria.htm
Als dat werkt, dan weet je dat je aanpassingen werken, maar dat je het dus ergens anders moet zoeken.
En ik kan me sowieso niet voorstellen dat je javascript zomaar in JCE kunt plakken en dat het dan gaat werken. Dus dan zal je toch jumi of sourcerer moeten gaan gebruiken denk ik.
Dus dan jouwsite.nl/tria.htm
Als dat werkt, dan weet je dat je aanpassingen werken, maar dat je het dus ergens anders moet zoeken.
En ik kan me sowieso niet voorstellen dat je javascript zomaar in JCE kunt plakken en dat het dan gaat werken. Dus dan zal je toch jumi of sourcerer moeten gaan gebruiken denk ik.
Groetjes, Astrid
Gebruik de zoekfunctie van dit forum voordat je een nieuwe vraag plaatst. Vragen uitsluitend via dit forum. yndi.nl - kvk 17157725 | Is je vraag beantwoord? Dan kan je het draadje zelf
sluiten
. Wil je Joomla!NL steunen? Dat kan met een donatie. |
- Astrid
- Moderator + Technisch team
- Berichten: 37456
Tijd voor maken pagina: 0.816 seconden