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

Buoy Page Help!

Discussion of Ken True's web site templates

Moderator: saratogaWX

Post Reply
User avatar
William Grimsley
Posts: 833
Joined: Thu 22 Sep 2011 5:22 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 7 Home Premium 64-bit
Location: Latitude: 50.70189285 Longitude: -3.30849957
Contact:

Buoy Page Help!

Post by William Grimsley »

Hi Ken,

How do I put a class="image_shadow" onto my Mesomap, I'm quite stuck. Also, I'm having trouble changing the units from knots to mph. Currently, I have the words showing in "mph" but the figures are not in mph they are in knots.

Please help,

Thanks

Will

EDIT: I have converted the winds units correctly. Though, I am still stuck on class="image_shadow" to put onto my Mesomap.
Last edited by William Grimsley on Sat 05 Jan 2013 4:42 pm, edited 2 times in total.
User avatar
saratogaWX
Posts: 1185
Joined: Wed 06 May 2009 5:02 am
Weather Station: Davis Vantage Pro Plus
Operating System: Windows 10 Professional
Location: Saratoga, CA, USA
Contact:

Re: Buoy Page Help!

Post by saratogaWX »

Are you trying to put a CSS-based shadow around the imagemap of the buoys?
User avatar
William Grimsley
Posts: 833
Joined: Thu 22 Sep 2011 5:22 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 7 Home Premium 64-bit
Location: Latitude: 50.70189285 Longitude: -3.30849957
Contact:

Re: Buoy Page Help!

Post by William Grimsley »

Correct.
User avatar
saratogaWX
Posts: 1185
Joined: Wed 06 May 2009 5:02 am
Weather Station: Davis Vantage Pro Plus
Operating System: Windows 10 Professional
Location: Saratoga, CA, USA
Contact:

Re: Buoy Page Help!

Post by saratogaWX »

I'm not sure it's entirely feasible due to the way the buoy-data.php generates the HTML for the imagemap+background image.

You can save the CSS generated with buoy-data.php (output in the $BUOY_CSS variable) to a .css file on your website, then change the page including the buoy-data.php script to use that saved CSS instead of doing a <?php print $BUOY_CSS; ?>. That would allow you to experiment easily with the .css file directly.
User avatar
William Grimsley
Posts: 833
Joined: Thu 22 Sep 2011 5:22 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 7 Home Premium 64-bit
Location: Latitude: 50.70189285 Longitude: -3.30849957
Contact:

Re: Buoy Page Help!

Post by William Grimsley »

Well, I just looked through buoy-data.php and changed this:

Code: Select all

$htmlnext ='" usemap="#meso" 
    alt="Mesomap of nearby weather buoys" style="border: none"/>
To this:

Code: Select all

$htmlnext ='" usemap="#meso" 
    alt="Mesomap of nearby weather buoys" style="border: none" class="image_shadow"/>
And...it worked!

Thanks for your help!

Will
User avatar
saratogaWX
Posts: 1185
Joined: Wed 06 May 2009 5:02 am
Weather Station: Davis Vantage Pro Plus
Operating System: Windows 10 Professional
Location: Saratoga, CA, USA
Contact:

Re: Buoy Page Help!

Post by saratogaWX »

Glad you sorted it out :)
Post Reply