Hi
I want to know where I can find the script for weather display live for it to work on my website and if you can maybe tell me how I get it on my website.
Sorry if this is already has been asked.
Hi
I want to know where I can find the script for weather display live for it to work on my website and if you can maybe tell me how I get it on my website.
Sorry if this is already has been asked.
Weather Display Live is a purchased Flash application … the only script I know of is the JavaScript to embed it in your page. All other modifications to WDL are made in the configuration XML file.
The swfobject.js script (available here ) is included on the page you want to display the WDL application with
<script type="text/javascript" src="swfobject.js"></script>
then something like this is used to actually include it on your page
<div id="flashcontent" align="center" class="autosize"><b>Weather Display Live</b>
You need to install v8, or greater, of Flash Player from <a href="http://www.adobe.com">Adobe</a> to view Weather Display Live.</div>
<script type="text/javascript">
//
//Enter your details here!!
//
var pathToWdlconfig = "http://saratoga-weather.org/wdlconfig6_02.xml";
var widthOfWdl = "610";
var heightOfWdl = "470";
var backgroundColourOfWdl = "#ffffff"
var versionOfWdl = "wdlv6_02.swf";
//
//
var so = new SWFObject(versionOfWdl+"?"+pathToWdlconfig, versionOfWdl, widthOfWdl, heightOfWdl, "8", backgroundColourOfWdl);
so.addParam("quality", "high");
so.addParam("wmode", "transparent");
so.write("flashcontent");
</script>
Is this what you were looking for?
Best regards,
Ken
There is example webpage code and the .js included in the WDL download.
Thanks for your help.
Do I put the codes all in one script box or put them in seperate if so in which order?
Ive uploaded the files to my website and if I get the script in order then should it work?
Im new to this and dont have a clue :dontknow:
There is great documentation included with the software, I suggest you follow the steps in there and if it doesn’t work post the URL of the page here and we can help you fix it.
Hi I got some help and this is the result http://www.barraweather.com/page7.php
I think something in the script is wrong?
Your code appears wrong…
Replace this line:
var pathToWdlconfig = “ftp://barraweather.com/public_html/attachments/WDL1.xml”
With this:
var pathToWdlconfig = “http://www.barraweather.com/attachments/WDL1.xml”
-Bob
Hi,
You appear to be missing the actual flash object on your page
wdlv6_02.swf
This should be in the same directory as the xml file.
Steven
Hi
Thanks for your help but theres still something wrong
http://barraweather.com/page7.php
There is a message at the end saying thats it couldnt find the file.
You have the wrong URL for your config file…you have…
http://barraweather.com/attachments/wdlconfig.xml
and it should be…
I also noticed the some of your pages use www and some dont. The WDL serial you got will only work on how you first registered it.
Hi thanks for your help.
How would I fix the serial number problem? reinstall it?
your config file will either use www or without…do you remember how you registered your site for the serial number?
It uses www. so should i change everything to www.?
Yes…
I put in www. and it said that the file is on another domain.
Sometimes it still says the serial number error.
This http://barraweather.com/wdlv6_03.swf?http://www.barraweather.com/wdlconfig.xml
It wont let me edit this part http://barraweather.com/wdlv6_03.swf? to change it to www,
How do i do that?