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 4018) - 28 March 2024

Legacy Cumulus 1 release v1.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

Space Weather

Discussion of Ken True's web site templates

Moderator: saratogaWX

User avatar
gluepack
Posts: 460
Joined: Tue 22 Jan 2013 9:20 pm
Weather Station: PCE-FWS 20
Operating System: Win 7 Pro
Location: Zlatina, Bulgaria

Re: Space Weather

Post by gluepack »

ok, I have modified my version to align (2nd/3rd table) data on %. If you have changed my original then I am not sure if the following will work. Two blocks of code changed...

Code: Select all

.noaatab td{font-weight:bold;padding-left:40px;border:1px solid black;}
.noaatab td.pc{padding-left:30px;padding-right:30px;text-align:right;} 
.noaatab td.first{padding-left:5px;color:red;}

Code: Select all

// split into array based on 2+ blanks in between
		$strdata = preg_split('/  +/',$intable[$j]);
		$strpc = ">";
		if (strpos($strdata[1], '%') !== false) $strpc = 'class="pc">'; 
// format table data row 
		$strtable .= '<tr><td class="first">'.$strdata[0].'</td><td '.$strpc.$strdata[1].'</td><td '.$strpc.$strdata[2].'</td><td '.$strpc.$strdata[3].'</td></tr>';
		}
Any problems will probably relate to changes in alignment code that have been made from my original which was written to suit my environment. Again, my level of knowledge may result in overkill ;)
Image

PWS links: WundergroundIVARNAPR3CWOP/APRSE(W)2048PWSWeatherZLATINABGAwekas10631Twitter@Zlatina_weather
Station type: PCE-FWS 20…Webcam link: View south to edge of Provadisko plateau
User avatar
gluepack
Posts: 460
Joined: Tue 22 Jan 2013 9:20 pm
Weather Station: PCE-FWS 20
Operating System: Win 7 Pro
Location: Zlatina, Bulgaria

Re: Space Weather

Post by gluepack »

This was only from a link on the space weather page but, if you are looking for more content, you could always embed it...

http://services.swpc.noaa.gov/images/sw ... -large.gif

Image
Image

PWS links: WundergroundIVARNAPR3CWOP/APRSE(W)2048PWSWeatherZLATINABGAwekas10631Twitter@Zlatina_weather
Station type: PCE-FWS 20…Webcam link: View south to edge of Provadisko plateau
Post Reply