If you use Cumulus, please donate Image

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

Controling gauges shown on mobile device

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

djenkins
Posts: 2
Joined: Sun Sep 10, 2017 9:26 am
Weather Station: David Vantage Pro
Operating System: Windows 10

Controling gauges shown on mobile device

Postby djenkins » Sun Sep 10, 2017 9:57 am

First off I just came across this the SteelSeries Gauges a few days ago I implemented it on my site. Absolutely brilliant, really pleased with the result.

I however have encountered one problem that I cannot work out how to resolve. I have searched the forum, but could not find anything appropriate to my issue.

First some background
using a Davis Vantage Pro weather station
Using Weather Display v10.37S (b57) to upload data
Displaying SteelGauges page via an iFrame wrapper on a Joomla 3.6.5 website using a Gantry v4.1.32 responsive template

Within the gauges.js file I have disabled the Solar & UV gauges & removed the Odometer from the Wind Rose. This all worked perfectly when you visit the website via a PC (3 across by 10 gauges)

http://www.pdarcs.com.au/index.php/our- ... her-gauges

(the source page by the way is http://pdarcs.com.au/weather/gauges/gauges-ss.htm which is displayed on the above link via an iFrame Wrapper)

However, if I visit the exact same page via a mobile phone (Samsung Galaxy S5) The Solar & UV Sensor are visible & the Odometer is also on the Wind Rose. The gauges are displayed 1X12 gauge wide going down the page, which is great except for the "additional" gauges that have appeared. (fyi visiting the source htm page directly displays the 3x10 layout with the relevant gauges showing as well, which they shouldn't be)

Obviously for mobile viewing I need to change another setting in another file somewhere else, but I don't know which one.

if someone could assist me in advising which file I need to modify to disable the Solar/UV & odometer gauges within a mobile device I would be grateful. (I apologies if this has been answered elsewhere, but I couldn't find that info)

Regards, Daniel

User avatar
mcrossley
Posts: 4944
Joined: Thu Jan 07, 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Jessie Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Controling gauges shown on mobile device

Postby mcrossley » Mon Sep 11, 2017 8:07 pm

I think the page is just being cached on your mobile device - try clearing the data for your site and trying again.

djenkins
Posts: 2
Joined: Sun Sep 10, 2017 9:26 am
Weather Station: David Vantage Pro
Operating System: Windows 10

Re: Controling gauges shown on mobile device

Postby djenkins » Wed Sep 13, 2017 12:39 am

I reloaded the page countless times, but never cleared the cache. :groan:

Cleared the cache & everything works fine now, thank you.


Return to “SteelSeries Gauges”

Who is online

Users browsing this forum: No registered users and 3 guests