Sandaysoft

Support forum for Cumulus weather station software
It is currently Thu May 23, 2013 5:08 pm
Please click here before posting. Help me to help you!
Useful Links: Cumulus FAQ • Enhancement requests • Wiki (documentation)
Please put your approximate location into your profile
Add your web site to the Cumulus user map
Vantage Pro2 users with firmware 3.00 should upgrade to fw 3.12 and Cumulus 1.9.4

All times are UTC




Post new topic Reply to topic  [ 115 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
Author Message
 Post subject: Re: SteelSeries Radar Plot
PostPosted: Sun Apr 01, 2012 11:05 am 
Offline
User avatar

Joined: Tue Dec 09, 2008 1:37 pm
Posts: 1848
Location: Dudley, West Midlands, UK
Weather Station: None !
Operating System: XP SP3
... and now you've "lost" your steelseries_min.js !

Looking at the now almost empty page, I would think that most of your format problems were 'simple' html - ie. you lost track of the <td></td> count in your <tr>s in your tables.

If you have a broken / test page you want checking - tell us if you subsequently move or change (or if you fix it !) - otherwise the posts don't make any sense and everyone gets frustrated !

_________________
Image
......................Imagine, what you will KNOW tomorrow !


Top
 Profile  
 
 Post subject: Re: SteelSeries Radar Plot
PostPosted: Sun Apr 01, 2012 11:09 am 
Offline

Joined: Mon Nov 28, 2011 2:13 am
Posts: 349
Location: Brisbane, Australia
Weather Station: La Crosse WS 2306
Operating System: Windows 7 64 Bit
Thanks Kerry, I think I will delete it all and start again some other day so until then don't worry about this page. Thanks

_________________
Regards, Matt of Brisbane, Australia
Web Site: http://www.localweatherdata.0glo.com


Top
 Profile  
 
 Post subject: Re: SteelSeries Radar Plot
PostPosted: Mon Apr 02, 2012 10:07 am 
Offline

Joined: Mon Nov 28, 2011 2:13 am
Posts: 349
Location: Brisbane, Australia
Weather Station: La Crosse WS 2306
Operating System: Windows 7 64 Bit
I did the gauges page all over again, so I got the steelseries page working again here: http://www.localweatherdata.0glo.com/gauges-ss.htm.

I have to add the radar again and I hope I get it to work this time.

_________________
Regards, Matt of Brisbane, Australia
Web Site: http://www.localweatherdata.0glo.com


Top
 Profile  
 
 Post subject: Re: SteelSeries Radar Plot
PostPosted: Mon Apr 02, 2012 11:45 am 
Offline
User avatar

Joined: Tue Dec 09, 2008 1:37 pm
Posts: 1848
Location: Dudley, West Midlands, UK
Weather Station: None !
Operating System: XP SP3
One minor html error - you have two closing </td> on your navigation 'menu' :)

_________________
Image
......................Imagine, what you will KNOW tomorrow !


Top
 Profile  
 
 Post subject: Re: SteelSeries Radar Plot
PostPosted: Mon Apr 02, 2012 1:13 pm 
Offline

Joined: Mon Aug 10, 2009 10:16 pm
Posts: 1772
Location: World...
Weather Station: No weather station
Operating System: No operating system
Matt, you did not have to delete and re-build your page - all that was needed were a few modification... :roll:

Other than the additional closing '</td>' tag (as pointed out by beteljuice), in the line 'For an alternative gauges page click here for the standard Cumulus gauges page' it would be better if the 'target="_blank"' attribute was not used for the link to the 'standard' gauges page. ;)


Top
 Profile  
 
 Post subject: Re: SteelSeries Radar Plot
PostPosted: Mon Apr 02, 2012 7:56 pm 
Offline

Joined: Mon Nov 28, 2011 2:13 am
Posts: 349
Location: Brisbane, Australia
Weather Station: La Crosse WS 2306
Operating System: Windows 7 64 Bit
I fixed that extra </td>. Thanks Beteljuice.

And Ray for me with limited knowledge of these gauges and creating a website, I am slowly learning and because I did not really know what caused the problems it is easier for me to do it all over again.

In regard to the links on the site, they are used in the same way as the links provided in the standard web pages when I first set it up. For example in the credits, the link to Cumulus (after powered by....) used that same type of mark up tag with the target attribute, so I just copy that. Now you saying just delete that target. Any reason why? Is there someone that makes it not used in the correct way? Thanks for checking it, very helpful of you.

_________________
Regards, Matt of Brisbane, Australia
Web Site: http://www.localweatherdata.0glo.com


Top
 Profile  
 
 Post subject: Re: SteelSeries Radar Plot
PostPosted: Mon Apr 02, 2012 10:40 pm 
Offline

Joined: Mon Aug 10, 2009 10:16 pm
Posts: 1772
Location: World...
Weather Station: No weather station
Operating System: No operating system
Matt, learning can also be accomplished by going through the code and trying to find out where the problem is located - an easy way to do that is to compare the two templates (the one with the modified code with one without any modified code), one line at the time, looking at every entries on every lines until a difference in the code is found - this is the best way to learn - one does not learn much by just deleting everything and starting anew! ;)

Matt, as for the 'target="_blank"' attribute, I was suggesting that you remove the attribute from only ONE line/link, the one that displays the 'For an alternative gauges page click here for the standard Cumulus gauges page' message near the bottom of the SteelSeries gauges page - I never hinted nor mentioned that all the 'target="_blank"' attributes had to be removed from all of the links on all the templates.

The reason for my suggestion to remove the 'target="_blank"' attribute from the one line/link 'For an alternative gauges page click here for the standard Cumulus gauges page' was that there is no purpose in opening the 'standard' gauges page into a new tab/window while keeping the SteelSeries gauges page opened - look at the behaviour of the Cumulus links when any of them are clicked, they open a new page in the same tab/window.

The best use for the 'target="_blank"' attribute is when a link is pointing to another site - this way the user can keep the present page opened as a reference, be able to click on the new tab/window to view the new page, and then returned to the present page when the new link tab/window is closed.


Top
 Profile  
 
 Post subject: Re: SteelSeries Radar Plot
PostPosted: Tue Apr 03, 2012 1:45 am 
Offline

Joined: Mon Nov 28, 2011 2:13 am
Posts: 349
Location: Brisbane, Australia
Weather Station: La Crosse WS 2306
Operating System: Windows 7 64 Bit
Yes checking the code by comparing the two line by line would be the best way and I won't learn from deleting. In this case I deleted it as I most likely I took it too far to work out what was wrong with it. But I am slowly learning, I have been reading the info on the w3schools site, I just was not sure what has really happened. Anyway I got it back up and running.

And with the 'target="_blank"' attribute I was not sure if I was using that correctly on the site, (or even whats its for) thats why I asked. I know you just said just that "one" link should be, I was wondering what I did incorrectly. Thanks for advising on its proper usage. I will delete that bit from the code.

Thank you Ray for your advice and help.

_________________
Regards, Matt of Brisbane, Australia
Web Site: http://www.localweatherdata.0glo.com


Top
 Profile  
 
 Post subject: Re: SteelSeries Radar Plot
PostPosted: Sat Apr 07, 2012 5:34 am 
Offline

Joined: Mon Nov 28, 2011 2:13 am
Posts: 349
Location: Brisbane, Australia
Weather Station: La Crosse WS 2306
Operating System: Windows 7 64 Bit
Tried again and success, and I found the problem was that before as per the instructions that Kerry did and thanks for that, I copied the RGraph.common.core.min, and RGraph.radar.min js files to my steelseries folder and uploaded those two RGraph files to the site. However when I added the links to the scripts in the htm file I used the same names as the instructions which is slightly different from the two RGraph scripts I uploaded and so the uploaded file were different from the link to those two scripts in the htm file. So I changed it from:

<script src="scripts/RGraph.common.core.js"></script>
<script src="scripts/RGraph.radar.js"></script>

And to:

<script src="scripts/RGraph.common.core.min.js"></script>
<script src="scripts/RGraph.radar.min.js"></script>

Now also there are no bad spaces and sits better with the rest of the gauges except that the radar plot has made the last row of gauges slightly off centre. I wish to move the plot with the other wind gauges and put the pressure with the rain gauges. I made the size of the plot to 251 like the rest of them in the htm file, so I not sure what I need to do. But there is a little bit of space below the last row of gauges but that might not be anything to worry about.


It is here: http://www.localweatherdata.0glo.com/gauges-sstest.htm

_________________
Regards, Matt of Brisbane, Australia
Web Site: http://www.localweatherdata.0glo.com


Top
 Profile  
 
 Post subject: Re: SteelSeries Radar Plot
PostPosted: Sat Apr 07, 2012 11:10 am 
Offline
User avatar

Joined: Fri Jun 24, 2011 5:57 pm
Posts: 171
Location: USA
Weather Station: Davis Vantage Pro2
Operating System: Windows XP3
Matt,

Good catch on the instructions. Thanks.

To move the radar plot and pressure gauges, all you need to do is to move the code for the radar plot to the location for the pressure gauge and the pressure gauge to the radar plot location.

Kerry

_________________
http://www.tobyspondweather.com
twitter: @tobyspond


Top
 Profile  
 
 Post subject: Re: SteelSeries Radar Plot
PostPosted: Sat Apr 07, 2012 11:14 am 
Offline

Joined: Mon Nov 28, 2011 2:13 am
Posts: 349
Location: Brisbane, Australia
Weather Station: La Crosse WS 2306
Operating System: Windows 7 64 Bit
Thanks Kerry. Is it just me or is the last row of gauges off centre, thats seems to be the only problem (apart from the space below the last row of gauges). But apart from that it looks like I done it right.

_________________
Regards, Matt of Brisbane, Australia
Web Site: http://www.localweatherdata.0glo.com


Top
 Profile  
 
 Post subject: Re: SteelSeries Radar Plot
PostPosted: Sat Apr 07, 2012 1:40 pm 
Offline
User avatar

Joined: Tue Dec 09, 2008 1:37 pm
Posts: 1848
Location: Dudley, West Midlands, UK
Weather Station: None !
Operating System: XP SP3
I'm not sure why you have TWO guage tables, but the second one (with the radar plot in) has a the first <tr> containing THREE <td>s, whilst the second has TWO <td>s which would contain solar data if you had it.

Try either removing the solar data <tr> .. </tr>, or add <td>&nbsp;</td> between the two solar guages.

_________________
Image
......................Imagine, what you will KNOW tomorrow !


Top
 Profile  
 
 Post subject: Re: SteelSeries Radar Plot
PostPosted: Sat Apr 07, 2012 9:48 pm 
Offline

Joined: Mon Nov 28, 2011 2:13 am
Posts: 349
Location: Brisbane, Australia
Weather Station: La Crosse WS 2306
Operating System: Windows 7 64 Bit
Thanks beteljuice. I have simply added the code for the radar plot and the scripts links at the bottom of the page without making changes to the code of the other gauges, that two tables is the way it was when I downloaded it. So not sure about the code. I have not changed much of it. I just copied what the other gauges code is like and it seems each row of gauges are tr and then each gauge is td. I see what I can do based on your advice.

_________________
Regards, Matt of Brisbane, Australia
Web Site: http://www.localweatherdata.0glo.com


Top
 Profile  
 
 Post subject: Re: SteelSeries Radar Plot
PostPosted: Sat Apr 07, 2012 10:58 pm 
Offline

Joined: Mon Nov 28, 2011 2:13 am
Posts: 349
Location: Brisbane, Australia
Weather Station: La Crosse WS 2306
Operating System: Windows 7 64 Bit
Changing the solar data did not make a difference. Not too sure about the two tables, but one table does not make a difference and the tr and td are the same as when I downloaded it.

But apart from the space at the bottom I changed the size of the radar plot and it lines up perfectly.

_________________
Regards, Matt of Brisbane, Australia
Web Site: http://www.localweatherdata.0glo.com


Top
 Profile  
 
 Post subject: Re: SteelSeries Radar Plot
PostPosted: Sat Apr 07, 2012 11:57 pm 
Offline
User avatar

Joined: Fri Jun 24, 2011 5:57 pm
Posts: 171
Location: USA
Weather Station: Davis Vantage Pro2
Operating System: Windows XP3
Matt,

If you do not have solar or UV in your weather station, then you can remove both the solar and UV from the gauges tables. To place the radar gauge you may be able to add a padding style to the div for the radar gauge. Anyways your gauge page looks good.

Kerry

_________________
http://www.tobyspondweather.com
twitter: @tobyspond


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 115 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group