Another newbie question I'm afraid ....
I would like to alter the order that the Gauges are presented in on the template file GaugesT.htm. I want to swap cloudbase and heatindex over and bring the barometer to the top of the screen.
I have tried playing with the html in the frame but have only succeeded in altering the titles. How do you actually shift the graphic - or is this contained in a JS file we cannot edit ?.
John
www.rochester-airport.co.uk/weather
(not live yet)
Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
change order of presentation Instrument view on GaugesT.htm
Moderator: daj
- Flying John
- Posts: 7
- Joined: Wed 18 May 2011 8:52 pm
- Weather Station: Davis VP 2 + Cumulus 1.9.1
- Operating System: Windows XP
- Location: Maidstone (station at Rochester)
- Contact:
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: change order of presentation Instrument view on GaugesT.
If you look near the beginning of the gaugesT.hrm file, you'll see the javascript file referenced:
<script language="JavaScript" src="wz_jsgraphics.js" type="text/javascript"></script>
You can edit the javascript file if you wish (it's one of the files you had to upload when you set up your web site). But to do what you want to do in this instance you just need to change the HTML. The javascript looks for the 'div' names, e.g.
<td align="center" ><div id="barometer">analog</div></td>
So you just need to rearrange the divs to put the gauges where you want them.
<script language="JavaScript" src="wz_jsgraphics.js" type="text/javascript"></script>
You can edit the javascript file if you wish (it's one of the files you had to upload when you set up your web site). But to do what you want to do in this instance you just need to change the HTML. The javascript looks for the 'div' names, e.g.
<td align="center" ><div id="barometer">analog</div></td>
So you just need to rearrange the divs to put the gauges where you want them.
Steve
- Flying John
- Posts: 7
- Joined: Wed 18 May 2011 8:52 pm
- Weather Station: Davis VP 2 + Cumulus 1.9.1
- Operating System: Windows XP
- Location: Maidstone (station at Rochester)
- Contact:
Re: change order of presentation Instrument view on GaugesT.
Thankyou Steve - i'll give that a try.
John
John