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 4019) - 03 April 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

airstrip use

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

Moderator: daj

User avatar
laulau
Posts: 678
Joined: Tue 13 Oct 2009 10:52 pm
Weather Station: WeatherDuino Pro2
Operating System: Win 7
Location: Meyenheim, Alsace, FR
Contact:

Re: airstrip use

Post by laulau »

Laurent

Image
User avatar
JennyLeez
Posts: 316
Joined: Wed 16 Dec 2009 2:32 am
Weather Station: La Crosse WS3083
Operating System: Windows XP, Win7 & Win 10
Location: Wairoa, Hawkes Bay. New Zealand.
Contact:

Re: airstrip use

Post by JennyLeez »

Hi Beteljuice,

and now I need to ask for permission....

May I please add my airfield page to my website, as an include, and publish it.
May I alter the styling code ( a little ) to match the fonts and size for continuity.
May I alter the code slightly to validate the main page only.

Cheers
Jenny
Wairoa, Hawkes Bay, New Zealand Weather Station:
http://wairoa.net/weather/index.htm
Cumulus Topsites:
http://cumulussites.net/
Image
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: airstrip use

Post by beteljuice »

But of course :D
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
JennyLeez
Posts: 316
Joined: Wed 16 Dec 2009 2:32 am
Weather Station: La Crosse WS3083
Operating System: Windows XP, Win7 & Win 10
Location: Wairoa, Hawkes Bay. New Zealand.
Contact:

Re: airstrip use

Post by JennyLeez »

Thank you beteljuice.

Now if I may annoy you one more time, ( for now anyways... lol ) I am not sure what to do with 1 error please.
I managed to fix the rest but this one is a bit beyond me and of course I dont want to muck anything up :)

http://validator.w3.org/check?uri=http% ... 2Fservices

Cheers
Jenny
Wairoa, Hawkes Bay, New Zealand Weather Station:
http://wairoa.net/weather/index.htm
Cumulus Topsites:
http://cumulussites.net/
Image
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: airstrip use

Post by beteljuice »

It's not an error as such.

Allowtransparency (IFrame) is specific to IE but inferred to others. It's something that the validators never really worked out how to handle and didnt bother because they all thought IFrames would become redundant with CSS and ajax.

If the error really annoys you, you will have to make a browser specific IF / ELSE statement.
Identical except for the AllowTransparency bit.

See ... http://www.codefap.com/2013/05/there-is ... validator/
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
JennyLeez
Posts: 316
Joined: Wed 16 Dec 2009 2:32 am
Weather Station: La Crosse WS3083
Operating System: Windows XP, Win7 & Win 10
Location: Wairoa, Hawkes Bay. New Zealand.
Contact:

Re: airstrip use

Post by JennyLeez »

Done and thank you :)
Wairoa, Hawkes Bay, New Zealand Weather Station:
http://wairoa.net/weather/index.htm
Cumulus Topsites:
http://cumulussites.net/
Image
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: airstrip use

Post by beteljuice »

@ all who have lifted the scripts - spotted a new oops !

In the code for the gauges page approx. line #400

Code: Select all

// show now DIRECTION


 		if(wind_kts >= 0.5) { 
		// populate direction nix tubes
// 24 deg Mag offset
nowMag = val2 - 24;
CHANGE to

Code: Select all

// show now DIRECTION


 		if(wind_kts >= 0.5) { 
		// populate direction nix tubes
// get Mag offset
nowMag = val2 - mag_deviation;
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
JennyLeez
Posts: 316
Joined: Wed 16 Dec 2009 2:32 am
Weather Station: La Crosse WS3083
Operating System: Windows XP, Win7 & Win 10
Location: Wairoa, Hawkes Bay. New Zealand.
Contact:

Re: airstrip use

Post by JennyLeez »

Thanks beteljuice, done.

I am just doing credits.
beteljuice would you please check the top of the js page and see what you reckon.
That tag to Pinto's website no longer exists plus maybe this would be the next version modified by yourself in 2013.

I am asking as I wish to add the tributes to the bottom of my page please.

Thanks
Cheers
Jenny
Wairoa, Hawkes Bay, New Zealand Weather Station:
http://wairoa.net/weather/index.htm
Cumulus Topsites:
http://cumulussites.net/
Image
uncle_bob
Posts: 505
Joined: Wed 17 Aug 2011 2:58 pm
Weather Station: WeatherDuino Pro2
Operating System: 2008
Location: Canberra

Re: airstrip use

Post by uncle_bob »

Here's a link for all the other nosey parkers like myself :)
http://wairoa.net/weather/airport.htm

Well done Jenny, that's great work and it looks fab!
Little ol Wairoa looks to have one of the best weather station sites in the world :)
Interested in building your own Weather Station? Maybe check out the WeatherDuino Pro Project Here
Conder, Canberra Weather
Image
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: airstrip use

Post by beteljuice »

It is OLD ....

I suddenly had a thought that there may be conflicts with (your) saratoga template, but I see you've managed to avoid that ;)

Really ALL the variables and the functions need renaming :?

The variable wind routine could be rewritten with the 'new' Cumulus realtime value, then it would show immediately instead of waiting several cycles.

Pinto created the original ajax routine, so leave his name but no link if no longer valid. (No further info in his profile here)

A suggestion ... move your runway arrow out to 358 px left, then it will center up nicely when the wind's in the right direction.

You may also want to change the rose 'title' to MAGNETIC bearings (2014 21.1 E) - the month doesn't mean a lot the year is more important, and why not colour in the river :D
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
JennyLeez
Posts: 316
Joined: Wed 16 Dec 2009 2:32 am
Weather Station: La Crosse WS3083
Operating System: Windows XP, Win7 & Win 10
Location: Wairoa, Hawkes Bay. New Zealand.
Contact:

Re: airstrip use

Post by JennyLeez »

beteljuice wrote: I suddenly had a thought that there may be conflicts with (your) saratoga template, but I see you've managed to avoid that ;)
Yes my main weather site is non saratoga just basic htm with pinched scripts all through it :)
Really ALL the variables and the functions need renaming :?
Why, thats what gives this script character :)
The variable wind routine could be rewritten with the 'new' Cumulus realtime value, then it would show immediately instead of waiting several cycles.
Pinto created the original ajax routine, so leave his name but no link if no longer valid. (No further info in his profile here)
Done.
A suggestion ... move your runway arrow out to 358 px left, then it will center up nicely when the wind's in the right direction.
Done.
You may also want to change the rose 'title' to MAGNETIC bearings (2014 21.1 E) - the month doesn't mean a lot the year is more important.
Done
and why not colour in the river :D
I am not very good at painting :roll:
Thanks beteljuice.
Wairoa, Hawkes Bay, New Zealand Weather Station:
http://wairoa.net/weather/index.htm
Cumulus Topsites:
http://cumulussites.net/
Image
User avatar
ace2
Posts: 679
Joined: Tue 14 Jan 2014 12:38 pm
Weather Station: maxkon ws-1081pc
Operating System: windows 7 & 8
Location: Adelaide, south Australia, Australia
Contact:

Re: airstrip use

Post by ace2 »

beteljuice wrote:and why not colour in the river :D
I agree and i want to see fish or a dolphin from time to time!!!! gee.............
CHRIS
Image
web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
User avatar
JennyLeez
Posts: 316
Joined: Wed 16 Dec 2009 2:32 am
Weather Station: La Crosse WS3083
Operating System: Windows XP, Win7 & Win 10
Location: Wairoa, Hawkes Bay. New Zealand.
Contact:

Re: airstrip use

Post by JennyLeez »

ace2 wrote:
beteljuice wrote:and why not colour in the river :D
I agree and i want to see fish or a dolphin from time to time!!!! gee.............
Colour added to the River and Race Course as instructed :)

Look harder ace2, cant you see the whitebait running and the whitebaiters lining the river banks.
White bait season started 15th August and lasts for 15 weeks.
Not sure if you have these up there?

Cheers
You do not have the required permissions to view the files attached to this post.
Wairoa, Hawkes Bay, New Zealand Weather Station:
http://wairoa.net/weather/index.htm
Cumulus Topsites:
http://cumulussites.net/
Image
User avatar
ace2
Posts: 679
Joined: Tue 14 Jan 2014 12:38 pm
Weather Station: maxkon ws-1081pc
Operating System: windows 7 & 8
Location: Adelaide, south Australia, Australia
Contact:

Re: airstrip use

Post by ace2 »

Not really.

If I see some bigger type fish, I might chuck a line in!
CHRIS
Image
web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
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: airstrip use

Post by beteljuice »

Yet another unexpected error - sorry to the guys who lifted the code ..
in the ...Dashboard.ajax.js approx. line 2012

Code: Select all

// varToggle(); // free run a 'blink' mechanism

// function to blink varWindAdvisory and gustAdvisory if populated (both elements MUST exist)
toggleOn = false;
checkToggle = document.getElementById('varWindAdvisory'); // get one of the advisories
function varToggle() {
// toggleOn = true;
	if(checkToggle && checkToggle.style.display == 'none') { // definately got an 'off' state
		set_ajax_uom("varWindAdvisory", true);
		set_ajax_uom("gustAdvisory", false);
	}else{ // might be 'on' or element not found ( set_ajax_uom() does own checks)
		set_ajax_uom("varWindAdvisory", false);
		set_ajax_uom("gustAdvisory", true);
	}
//	switchVarArrowTimer = setTimeout("varToggle()", 1000);

} // END function varToggle()
The checkToggle var is in the wrong place and the alternating wind advisories can behave in unexpected and incomplete ways - here's the correct and neatened up code:

Code: Select all

// function to blink varWindAdvisory and gustAdvisory if populated (both elements MUST exist)
function varToggle() {
	checkToggle = document.getElementById('varWindAdvisory'); // get one of the advisories
	if(checkToggle && checkToggle.style.display == 'none') { // definately got an 'off' state
		set_ajax_uom("varWindAdvisory", true);
		set_ajax_uom("gustAdvisory", false);
	}else{ // might be 'on' or element not found ( set_ajax_uom() does own checks)
		set_ajax_uom("varWindAdvisory", false);
		set_ajax_uom("gustAdvisory", true);
	}
} // END function varToggle()
Took me quite a while to work out the problem ... I'm getting too old for this. :groan:
Image
......................Imagine, what you will KNOW tomorrow !
Post Reply