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

Ballina nsw weather V2.0

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

pacificblue03
Posts: 425
Joined: Sun 13 Jun 2010 12:35 am
Weather Station: Davis vantage vue
Operating System: windows 11
Location: Sydney Australia

Re: Ballina nsw weather V2.0

Post by pacificblue03 »

Beetlejuice thanks for that i will rename all of the images when i have the chance but in V2 for now V1 will stay as is but soon V2 will replace it with the new and improved code i have almost finnished the index page of V2 so next is the Gauges page, also if i just keep the names as they are on V1 if i copy and replace them cumulus should process them like default shouldnt it?

Antonio.
pacificblue03
Posts: 425
Joined: Sun 13 Jun 2010 12:35 am
Weather Station: Davis vantage vue
Operating System: windows 11
Location: Sydney Australia

Re: Ballina nsw weather V2.0

Post by pacificblue03 »

Update

Ballina nsw weather V2 now has a navigation area

http://www.ballina-nsw-weather-from-sto ... /test.html

and Forecastnumbers for the java



Antonio.
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: Ballina nsw weather V2.0

Post by beteljuice »

Why don't you read what I have written :bash:

YOU DON'T NEED THIS:

Code: Select all

<script type="text/javascript">
var imagen = <#forecastnumber>;
document.write('<img src = "images/'+imagen+'.png"/>');
</script>
You can just code:

Code: Select all

<img src="images/<#forecastnumber>.png" alt="Station forecast" title="Station forecast" />
... and it would nice if it had height and width attributes (assuming all your images are the same size)
Image
......................Imagine, what you will KNOW tomorrow !
pacificblue03
Posts: 425
Joined: Sun 13 Jun 2010 12:35 am
Weather Station: Davis vantage vue
Operating System: windows 11
Location: Sydney Australia

Re: Ballina nsw weather V2.0

Post by pacificblue03 »

OK OK yep i will do this and ill do it in a few hours since im trying the gauges page now and it is giving me the *****

it just wont work!

Antonio
DaveNZ
Posts: 373
Joined: Mon 07 Dec 2009 10:27 pm
Weather Station: Davis VP2
Operating System: Windows 7 64-bit
Location: Howick, Auckland, New Zealand
Contact:

Re: Ballina nsw weather V2.0

Post by DaveNZ »

beteljuice wrote: ... and it would nice if it had height and width attributes (assuming all your images are the same size)
I thought height/width attributes are only necessary if one wants to scale their images to something other than the actual dimensions, correct me if I'm wrong?
User avatar
daj
Posts: 2041
Joined: Tue 29 Jul 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Re: Ballina nsw weather V2.0

Post by daj »

I would avoid height/width if you can. If you set them to something other than the true size of the image you are giving your browser too much work as it will adjust the size after downloading it and before displaying. Always try to have images already saved at the size you need them. Nothing worse than your browser downloading a 2mb pic to show it in a tiny box.

If you want to size the page at load and avoid the visual 'jumps' as images are inserted use a div set to the image size.
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
pacificblue03
Posts: 425
Joined: Sun 13 Jun 2010 12:35 am
Weather Station: Davis vantage vue
Operating System: windows 11
Location: Sydney Australia

Re: Ballina nsw weather V2.0

Post by pacificblue03 »

i need some help badly

i dont know what i am doing wrong i have linked the Javascript file and my weatherstyle2 is linked and i have done a direct copy of my gaugesT page into my gaugesTest but when i go to it the graphics do not show what am i doing wrong?

Antonio
pacificblue03
Posts: 425
Joined: Sun 13 Jun 2010 12:35 am
Weather Station: Davis vantage vue
Operating System: windows 11
Location: Sydney Australia

Re: Ballina nsw weather V2.0

Post by pacificblue03 »

actually i have decided to do something different

i am going to integrate some of the gauges on the index page

Antonio.
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: Ballina nsw weather V2.0

Post by beteljuice »

You are ruining the look of your index page.

What is the url of your gauges test page ?
Image
......................Imagine, what you will KNOW tomorrow !
Synewave
Posts: 642
Joined: Mon 25 Jan 2010 1:55 pm
Weather Station: Watson W-8681
Operating System: Raspian
Location: Brighton, UK
Contact:

Re: Ballina nsw weather V2.0

Post by Synewave »

beteljuice wrote:You are ruining the look of your index page.

What is the url of your gauges test page ?
Totally agree with Beteljuice.

You'll end up having everything on one page. Why not stick to a menu giving users the opprtunity to look furher if they want to? Umless of course it's for your use only, in which case don't call it index.

Also, you have a nice looking larger banner at the top, and the next line almost the same size is Welcome To Ballina NSW Weather in text. This for example pushing all of the important information down the page. Try and keep the index page showing the weather info without users having to scroll down.
captzero
Posts: 363
Joined: Wed 03 Mar 2010 10:20 am
Weather Station: Vantage Pro2 w/ daytime FARS
Operating System: Windows 10
Location: Brisbane, Australia
Contact:

Re: Ballina nsw weather V2.0

Post by captzero »

If you must use a picture instead of text, reduce the width of the Beaufort graphic. Lots of dead space in it. In fact, I'd rather see it as text in the same format as the rest of the table. Why not use the webtag <#beaudesc> ?
Last edited by captzero on Sun 28 Nov 2010 1:02 pm, edited 1 time in total.
Dan

http://www.brisbaneliveweather.com




A man with a thermometer always knows the temperature. A man with two thermometers, not so sure.
pacificblue03
Posts: 425
Joined: Sun 13 Jun 2010 12:35 am
Weather Station: Davis vantage vue
Operating System: windows 11
Location: Sydney Australia

Re: Ballina nsw weather V2.0

Post by pacificblue03 »

captzero wrote:IWhy not use the webtag <#beaudesc> ?
Well i like the Graphic that is why

as far as my index layout goes i will be removing the gauges off it so dont worry i was able to fix the gauges page and now all of my other pages have been converted to V2 have a look

NOTE!!!!

some coding that you see on there now will be modified

and all of my navbuttons will eventually hover like the index page does

Antonio.
captzero
Posts: 363
Joined: Wed 03 Mar 2010 10:20 am
Weather Station: Vantage Pro2 w/ daytime FARS
Operating System: Windows 10
Location: Brisbane, Australia
Contact:

Re: Ballina nsw weather V2.0

Post by captzero »

Feedback is essentail
That graphic puts your whole table out of alignment. But hey... its your site.

You did asked for feedback
Dan

http://www.brisbaneliveweather.com




A man with a thermometer always knows the temperature. A man with two thermometers, not so sure.
Synewave
Posts: 642
Joined: Mon 25 Jan 2010 1:55 pm
Weather Station: Watson W-8681
Operating System: Raspian
Location: Brighton, UK
Contact:

Re: Ballina nsw weather V2.0

Post by Synewave »

pacificblue03 wrote:
captzero wrote:IWhy not use the webtag <#beaudesc> ?
Well i like the Graphic that is why
Antonio,

But it is not a graphic, it is just text in a box! What's so special about the beaufort value?

Also, why do you need three different views of pictures of your weather station sensors on the index page? It's such a waste of space and if visitors are interested in seeing what a weather station looks like, they'll navigate your site and find the picture on an appropriate page.

As I've said before, people visit your website, hopefully because they want to look at the weather info, not at what latest web skills you've recently learnt. And you have learnt so much in the past few months since others and I have been assisting you, but I fear you are losing sight of how a good website should look.

Hope this is not too harsh, but you do keep prompting us for feedback, so here it is.

But then again, it's your website and it is all up to you. I'm just giving you my opinion.
pacificblue03
Posts: 425
Joined: Sun 13 Jun 2010 12:35 am
Weather Station: Davis vantage vue
Operating System: windows 11
Location: Sydney Australia

Re: Ballina nsw weather V2.0

Post by pacificblue03 »

Hey guys i think i broke something

on my gauges page when i click on one of the thumbnails the larger graph does not change

Also on my pages today to gauges the navbar wont hover anymore

Paul those images are going to be removed

Antonio.
Post Reply