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

flying birds

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

Post Reply
User avatar
tfavors
Posts: 76
Joined: Wed 22 Aug 2012 9:47 pm
Weather Station: Davis Vantage VUE
Operating System: Windows 8
Location: Georgia USA

flying birds

Post by tfavors »

Send a note to Mark Crossley, who makes the Steelseries gauges (you'll find him on the Sandysoft forum).

https://cumulus.hosiene.co.uk/viewforum.php?f=21

Mark also authored the javascript file that creates the flying birds.

Hi Mark trying to find out how to ad the flying birds on weather website.

Thanks, Terry
sfws
Posts: 1183
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Chas O, Maplin N96FY, N25FR
Operating System: rPi 3B+ with Buster (full)

Re: flying birds

Post by sfws »

(deleted)
Last edited by sfws on Mon 03 Aug 2015 2:55 pm, edited 1 time in total.
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: flying birds

Post by mcrossley »

OK, I think I updated the script some time ago to simplify it, all you need to do is add the script crows.min.js to your HTML page - that's it.

In fact if you put the somewhere accessible on your web server you can test out adding the birds to *any* web page you browse to. Create a browser favourites shortcut called 'Add Crows' that includes the path to your copy of the script with the following content...

Code: Select all

javascript:(function(){var d=document,s=d.createElement('script');if(d.getElementById('bg')){return;}s.src='http://www.YOURWEBSERVER.com/PATH/crows.min.js';d.body.appendChild(s);})();
Then on the page you want to test, just click your new 'Add Crows' browser favourites link - the birds will be added. Refresh the page to remove them.
You do not have the required permissions to view the files attached to this post.
User avatar
tfavors
Posts: 76
Joined: Wed 22 Aug 2012 9:47 pm
Weather Station: Davis Vantage VUE
Operating System: Windows 8
Location: Georgia USA

Re: flying birds

Post by tfavors »

sfws wrote:Instead of sending note to Mark you could just type "birds" into forum search and get https://cumulus.hosiene.co.uk/viewtopic.p ... rds#p61312 the thread that tells you where the birds actually originated...
I did had no luck........
Terry
User avatar
tfavors
Posts: 76
Joined: Wed 22 Aug 2012 9:47 pm
Weather Station: Davis Vantage VUE
Operating System: Windows 8
Location: Georgia USA

Re: flying birds

Post by tfavors »

mcrossley wrote:OK, I think I updated the script some time ago to simplify it, all you need to do is add the script crows.min.js to your HTML page - that's it.

In fact if you put the somewhere accessible on your web server you can test out adding the birds to *any* web page you browse to. Create a browser favourites shortcut called 'Add Crows' that includes the path to your copy of the script with the following content...

Code: Select all

javascript:(function(){var d=document,s=d.createElement('script');if(d.getElementById('bg')){return;}s.src='http://www.YOURWEBSERVER.com/PATH/crows.min.js';d.body.appendChild(s);})();
Then on the page you want to test, just click your new 'Add Crows' browser favourites link - the birds will be added. Refresh the page to remove them.
Thank you so much, Terry
User avatar
tfavors
Posts: 76
Joined: Wed 22 Aug 2012 9:47 pm
Weather Station: Davis Vantage VUE
Operating System: Windows 8
Location: Georgia USA

Re: flying birds

Post by tfavors »

I got some birds testing out here they flying well, lol...

http://www.weathergray.com/weather/gauges-ss.htm
philipg
Posts: 6
Joined: Mon 25 Aug 2014 4:11 am
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Location: Hamilton, New Zealand
Contact:

Re: flying birds

Post by philipg »

Hey.. does this script not work for .php? I've added it to my site but the crows are flying behind the clouds.. :?: Great looking addon though..
Image
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: flying birds

Post by mcrossley »

It shouldn't matter if the page is static html or PHP generated. A link?
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: flying birds

Post by JennyLeez »

philipg wrote:Hey.. does this script not work for .php? I've added it to my site but the crows are flying behind the clouds.. :?: Great looking addon though..
Hi Phil,

When I played with these I decided to turn them white to reflect seagulls as we do not have crows. But they looked all wrong so back to black :)
They are on both my htm and php main pages.

I just added the below under < body > and uploaded both js's

Code: Select all

<script type="text/javascript" src='crows.js'></script>
Cheers
Jenny
Wairoa, Hawkes Bay, New Zealand Weather Station:
http://wairoa.net/weather/index.htm
Cumulus Topsites:
http://cumulussites.net/
Image
Post Reply