Author Topic: Useful advice from the old forum  (Read 3422 times)

0 Members and 1 Guest are viewing this topic.

Offline SteveF2

  • Member
  • *
  • Posts: 11
    • RVSCOnline
Useful advice from the old forum
« on: October 02, 2008, 03:59:52 PM »
I copied the following advice from the old forum.
I offer it here as I found it very useful.

1. to add a second page to WF

There are two ways to create a new page in WeatherFlash.

1) copy the index.htm page and rename to name.htm. Then edit the code in the page, locate the two entries for "Loader.swf?bgcolor=#FFFFFF" and change them both to read "Loader.swf?bgcolor=#FFFFFF&Page=name". Then fire up this name.htm page and it should load up a new blank WxFlash page ready for you to ad things to.

2) From within WxFlash, pick a component that you will use as the link to your new page. In its URL enter #name (the # symbol tells it that its an internal page name rather than an external URL). Lock the page. Now click on the linked component and a new blank page will open up. Edit this as normal.

Should you need to produce links back to the main page then it is called Page1 by default so a link on your second WxFlash page back to the main page would use the URL #Page1.

2. to get WF in a table

you would use it like this

<table border="0" width="100%" cellspacing="0" cellpadding="0" height="640">
    <tr>
    <td>
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH="100%" HEIGHT="100%" id="Loader"  >
<PARAM NAME=movie VALUE="Loader.swf?bgcolor=#FFFFFF"> <PARAM NAME=menu VALUE=true> <PARAM NAME=quality VALUE=high>
<PARAM NAME=wmode VALUE=transparent>
<PARAM NAME=bgcolor VALUE=#FFFFFF><PARAM NAME="SCALE" VALUE="exactfit"><PARAM NAME="ALIGN" VALUE="Top"><PARAM NAME="SALIGN" VALUE="T"> 
<EMBED src="Loader.swf?bgcolor=#FFFFFF"
menu=true quality=high bgcolor=#FFFFFF 
WIDTH="100%" HEIGHT="100%" NAME="Loader" ALIGN="Top" SALIGN="T" SCALE="exactfit" wmode="transparent"
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>
    </td>
    </tr>
</table>

Hope you find this useful.


Regards, Steve

Offline jay_hoehn

  • WxElement panel
  • Forecaster
  • *****
  • Posts: 656
    • Jay's Woodcrafts
Re: Useful advice from the old forum
« Reply #1 on: October 03, 2008, 10:32:11 AM »
Steve,

Great post!  Thanks for saving it.
Davis Vantage Pro2 Plus
VVP
Weather Display


Offline Axelvold

  • Forecaster
  • *****
  • Posts: 1704
    • Axelvold's weather and photo
Re: Useful advice from the old forum
« Reply #2 on: January 24, 2009, 08:07:29 AM »
Thanks Steve, this was useful.
Lars Magnusson
Axelvold / Sweden
55° 57' 41" N / 13° 6' 1" E
WX Station: Davis Vantage Pro2 Plus