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 4018) - 28 March 2024

Legacy Cumulus 1 release v1.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

Image Slider Doesn't Work on SteelSeries Gauge Page

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

Post Reply
User avatar
krmidas
Posts: 215
Joined: Sat 03 Jul 2010 9:03 pm
Weather Station: Davis Vantage Pro 2
Operating System: Windows 10
Location: Lake Zurich, IL; USA
Contact:

Image Slider Doesn't Work on SteelSeries Gauge Page

Post by krmidas »

I was finally able to (more or less) incorporate the Steel Series gauges into my Weather Blues Template.

Everything seems to look OK (still need to clean a couple of things up), but I can't figure out why the "nivo slider" image rotation doesn't work on this page, but works on all the others. I cut and pasted the code as it appears on the rest of the pages:
Capture.JPG
But it won't work on the gauge page. Any suggestions? Here's the link to the gauge page: http://krmidas.home.comcast.net/~krmida ... gauges.htm. Click on any of the other headers and you'll see the photos cycle at the top of the page.

-Tom
You do not have the required permissions to view the files attached to this post.
Tom Keramidas, Lake Zurich, IL, USA
Image
gemini06720
Posts: 1700
Joined: Mon 10 Aug 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: Image Slider Doesn't Work on SteelSeries Gauge Page

Post by gemini06720 »

Tom, I looked at the source code for your page.

I am not saying/writing this is causing the problem but, the gauges template loads two versions of 'jquery', an older version (1.4.3 - loaded for the 'nivo.slider') and a newer version (1.7.0 - loaded for the SteelSeries gauges).

Tom, you could try moving the following lines to the bottom of the template, just before the '</body> </html>' tags:

Code: Select all

<script type="text/javascript" src="lib/jquery.nivo.slider.pack.js"></script>
<script type="text/javascript">
    $(window).load(function() {
        $('#slider').nivoSlider();
    });
</script>
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Image Slider Doesn't Work on SteelSeries Gauge Page

Post by beteljuice »

You seem to be loading two different versions of jquery (although that may not be the problem).

change line #49 jquery1-4-3 to be like line #172 (jquery17 ...)
then comment out or remove line #172 entry.

Edit: Ooops - Ray replied before I got round to it :oops:

N'eer mind - a result !
Last edited by beteljuice on Thu 19 Jul 2012 1:03 pm, edited 1 time in total.
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
krmidas
Posts: 215
Joined: Sat 03 Jul 2010 9:03 pm
Weather Station: Davis Vantage Pro 2
Operating System: Windows 10
Location: Lake Zurich, IL; USA
Contact:

Re: Image Slider Doesn't Work on SteelSeries Gauge Page

Post by krmidas »

Bingo!

Thank you both for the detective work!
Tom Keramidas, Lake Zurich, IL, USA
Image
gemini06720
Posts: 1700
Joined: Mon 10 Aug 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: Image Slider Doesn't Work on SteelSeries Gauge Page

Post by gemini06720 »

So, Tom, what did you do/modify to get the 'nivo slider' going... :o
User avatar
krmidas
Posts: 215
Joined: Sat 03 Jul 2010 9:03 pm
Weather Station: Davis Vantage Pro 2
Operating System: Windows 10
Location: Lake Zurich, IL; USA
Contact:

Re: Image Slider Doesn't Work on SteelSeries Gauge Page

Post by krmidas »

I had 2 different versions of the nivo slider referenced in the htm file. Once I corrected that, it worked fine. If you need specifics, let me know and I'll open the file...

-Tom
Tom Keramidas, Lake Zurich, IL, USA
Image
Post Reply