New Zealand Local Weather Forum
Management => Questions and Answers => Topic started by: beteljuice on August 24, 2013, 02:57:29 PM
-
Those of you who allow NZLW to collect data for the 'Report Tool' (http://www.localweather.net.nz/smf/nzlwf-member-historical-data/) can have their very own version of the station 'breakdown' (http://www.localweather.net.nz/smf/announcements/minimamaxima-members-website-page-available/) within their own site.
Very nice too ......... ;)
..... but flexibility has been built in so that you can tweak a few things to suit your scheme or just to be a bit different 8)
The html 'format' is in the style of:
<center>
<div>
<iframe frameborder="0" height="1640" width="700" src="http://wairoa.net/releez/stnMonPer.php?target=Mystation&key=123456789abcdef">
<p>Sorry, your browser does not support iframes.</p>
</iframe>
</div>
</center>This bit .. src="http://wairoa.net/releez/stnMonPer.php?target=Mystation&key=123456789abcdef
can be added to in order to suit.
chart / table / both
Default initial page content is chart and table visible.
&chart=1 // chart only initial view
&chart=2 // table only initial view
&chart=3 // chart and table initial view (default)
Nav Menu Style
When going to the forum Station Data (http://www.localweather.net.nz/smf/nzlwf-member-historical-data/) you can see a 'style selector'. You can impose any of the styles listed in the dropdown on your personal page.
&thisStyle=Fusion // set menu style - 1st char is always capital
Note: In all modern browsers the background is 'inherited' from the <div> or page it is inserted in.
So ......
... what do you mean you can't see the black text on your black page ::)
&font=white OR &font=xffffff // set font colour for table and general text
Where 'white' is an accepted css color, or Hex number but use x instead of #
NB: Setting the font to ANY colour will make any style with 'shadows' display inside the buttons instead of outside, so you could set font=black (default) but you have changed the look of the buttons ;)
I did test white text on a black page and it looked surprizingly good.