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

New layout using php and javascript to keep it updated!

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

Moderator: daj

Post Reply
User avatar
Ben1551
Posts: 11
Joined: Mon 15 Dec 2014 4:47 pm
Weather Station: WS1080
Operating System: Windows 8.1 64
Location: Bideford
Contact:

New layout using php and javascript to keep it updated!

Post by Ben1551 »

I have only got halfway round to completing this but i feel it is heading the right way,
Tell me what you think and if i could improve anything.

http://flyingchopservers.co.uk/weather/beta/
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: New layout using php and javascript to keep it updated!

Post by beteljuice »

It's a bit BIG :D

typo: Daylenght:

... and what are the times each side of the graphs 'header' ?
Image
......................Imagine, what you will KNOW tomorrow !
duke

Re: New layout using php and javascript to keep it updated!

Post by duke »

Personally, I think you have wayyyyy too much on the one page, similar to BJ's comments I guess. Also, very heavy on the images, especially for a slow internet or mobile user.

And far easier to validate as you go along ;)
uncle_bob
Posts: 505
Joined: Wed 17 Aug 2011 2:58 pm
Weather Station: WeatherDuino Pro2
Operating System: 2008
Location: Canberra

Re: New layout using php and javascript to keep it updated!

Post by uncle_bob »

Looks great, but yeah, as above and way too slow to load.
Interested in building your own Weather Station? Maybe check out the WeatherDuino Pro Project Here
Conder, Canberra Weather
Image
User avatar
Ben1551
Posts: 11
Joined: Mon 15 Dec 2014 4:47 pm
Weather Station: WS1080
Operating System: Windows 8.1 64
Location: Bideford
Contact:

Re: New layout using php and javascript to keep it updated!

Post by Ben1551 »

Thank you guys for your input, i am with you on the images it kills my phone i may compress them they arnt full size but each one is around 600kb!
And all the stuff being on one page is temporary its going to go into tabs that switch the page without having to load another one
User avatar
Ben1551
Posts: 11
Joined: Mon 15 Dec 2014 4:47 pm
Weather Station: WS1080
Operating System: Windows 8.1 64
Location: Bideford
Contact:

Re: New layout using php and javascript to keep it updated!

Post by Ben1551 »

Also just had a look most of the images were 3000px wide and around 3mb they are now 720px and under 100kb!
water01
Posts: 3670
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: New layout using php and javascript to keep it updated!

Post by water01 »

Interestingly enough I first tried to look at this page when I was staying at a Travelodge over the weekend and their ISP blocked the site as not being suitable for children!!
David
Image
User avatar
Ben1551
Posts: 11
Joined: Mon 15 Dec 2014 4:47 pm
Weather Station: WS1080
Operating System: Windows 8.1 64
Location: Bideford
Contact:

Re: New layout using php and javascript to keep it updated!

Post by Ben1551 »

Thats odd i do have a flash file on there called "fuckit" (sorry if i have broken a rule by swearing)
Other than that it cant see why it would be!
water01
Posts: 3670
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: New layout using php and javascript to keep it updated!

Post by water01 »

Probably the flash file!! Can't you rename it?
David
Image
User avatar
Ben1551
Posts: 11
Joined: Mon 15 Dec 2014 4:47 pm
Weather Station: WS1080
Operating System: Windows 8.1 64
Location: Bideford
Contact:

Re: New layout using php and javascript to keep it updated!

Post by Ben1551 »

I have done lets hope it fixes it!
duke

Re: New layout using php and javascript to keep it updated!

Post by duke »

Not wishing to 'rock the boat' but, I don't see what all the images bring to a weather website :? Personally, when I visit a site I want to see clearly laid out and readily accessible data - facts and figures.
User avatar
Ben1551
Posts: 11
Joined: Mon 15 Dec 2014 4:47 pm
Weather Station: WS1080
Operating System: Windows 8.1 64
Location: Bideford
Contact:

Re: New layout using php and javascript to keep it updated!

Post by Ben1551 »

I don't really know why i put pictures behind i am thinking about changing them to something else as they are abit big and you cant fit much on a screen.
It was just an idea to see how it looked and for the autoupdate
Post Reply