I have been successfully running SteelSeries for some time and am very happy with them (thanks Mark). I am looking forward to the Cloud base gauge.
I decided that I would create a page optimised for my Galaxy S4 so set about removing gauges and reformatting so they would fit nicely. I then discovered that the gauges no longer worked. After testing it turned out that removing the Wind Rose and Solar Radiation gauges while having them turned on in the gauges.js file causes an error.
I want to keep them turned on on my main page (http://www.rhumbline.com.au/weather/index.htm) but not to show them on my mobile page (http://www.rhumbline.com.au/weather/mobile.htm). I also don't want to set up separate configurations for each.
Any help would be appreciated.
Geoff
Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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
How to run one page with Wind Rose & Solar and one without
Moderator: mcrossley
-
- Posts: 3246
- Joined: Sat 13 Aug 2011 9:33 am
- Weather Station: Ecowitt HP2551
- Operating System: Windows 10 64bit
- Location: Burnham-on-Sea
- Contact:
Re: How to run one page with Wind Rose & Solar and one witho
Copy gauges.js to say mgauges.js and then in that version change
to
and in the code for mobile.htm change to
Code: Select all
showUvGauge : true, //Display the UV Index gauge
showSolarGauge : true, //Display the Solar gauge
showRoseGauge : true, //Show the optional Wind Rose gauge
showRoseGaugeOdo : true, //Show the optional Wind Rose gauge Windrun Odometer
Code: Select all
showUvGauge : false, //Display the UV Index gauge
showSolarGauge : false, //Display the Solar gauge
showRoseGauge : false, //Show the optional Wind Rose gauge
showRoseGaugeOdo : false, //Show the optional Wind Rose gauge Windrun Odometer
Code: Select all
<script src="scripts/gauges.js"></script>
Code: Select all
<script src="scripts/mgauges.js"></script>
-
- Posts: 22
- Joined: Fri 11 Feb 2011 11:00 am
- Weather Station: La Crosse 2355
- Operating System: Windows XP
- Location: Asquith, NSW, Australia
Re: How to run one page with Wind Rose & Solar and one witho
Thanks David,
That works
Geoff
That works
Geoff