Gauges in a different directory code
Posted: Mon 06 Jun 2016 11:24 am
Hi all,
I run a website (www.dorsetliveweather.co.uk).
I have gauges running on the first page. I am making a mobile/app website page for any android user or smartphone device.
Easily enough I can just copy and paste the text from gauges-ss.htm into my index.html and it will display the gauges. I have another directory /app which I would like to display the gauges but putting the code - <div class="row">
<div class="gauge">
<div id="tip_0">
<center><canvas id="canvas_temp" class="gaugeSizeStd"></canvas><canvas id="canvas_dew" class="gaugeSizeStd"></canvas></center>
</div>
<input id="rad_temp1" type="radio" name="rad_temp" value="out" checked onclick="gauges.doTemp(this);"><label id="lab_temp1" for="rad_temp1">Outside</label>
<input id="rad_temp2" type="radio" name="rad_temp" value="in" onclick="gauges.doTemp(this);"><label id="lab_temp2" for="rad_temp2">Inside</label>
</div>
For example doesn't work.
Any ideas?
Many Thanks
I run a website (www.dorsetliveweather.co.uk).
I have gauges running on the first page. I am making a mobile/app website page for any android user or smartphone device.
Easily enough I can just copy and paste the text from gauges-ss.htm into my index.html and it will display the gauges. I have another directory /app which I would like to display the gauges but putting the code - <div class="row">
<div class="gauge">
<div id="tip_0">
<center><canvas id="canvas_temp" class="gaugeSizeStd"></canvas><canvas id="canvas_dew" class="gaugeSizeStd"></canvas></center>
</div>
<input id="rad_temp1" type="radio" name="rad_temp" value="out" checked onclick="gauges.doTemp(this);"><label id="lab_temp1" for="rad_temp1">Outside</label>
<input id="rad_temp2" type="radio" name="rad_temp" value="in" onclick="gauges.doTemp(this);"><label id="lab_temp2" for="rad_temp2">Inside</label>
</div>
For example doesn't work.
Any ideas?
Many Thanks