Weather.com plug in

S

Sarah

Hi there:
I've installed the weather.com tool into my site and thought I had it
working. Note that I want it for 2 locations on 1 page i.e. the weather in
NYC and LA. When I go live with the site, I get a box that says: Your local
forecast available at weather.com, which links through to weather.com but
only to their main page. I was expecting the square live graphic for each
city. Any ideas why this isn't working?

Here's the code I used: (straight copy & paste from weather.com)
<html>

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
<meta name="Microsoft Theme" content="sky 1011, default">
</head>

<body>

<p><font face="Arial" size="5"><b>W E A T H E R <br>
<a href="../Index.htm"><img border="0" src="../HOME.jpg" width="35"
height="35"></a></b></font><br>
<br>
<font face="Arial" size="2">Still working on London & Tokyo weather</font></p>
<p><!--webbot bot="HTMLMarkup" startspan --><div id="wx_module_2550">
<a href="http://www.weather.com/weather/local/06830">Greenwich Weather
Forecast, CT (06830)</a>
</div>

<script type="text/javascript">

/* Locations can be edited manually by updating 'wx_locID' below. Please
also update */
/* the location name and link in the above div (wx_module) to reflect any
changes made. */
var wx_locID = '06830';

/* If you are editing locations manually and are adding multiple modules
to one page, each */
/* module must have a unique div id. Please append a unique # to the div
above, as well */
/* as the one referenced just below. If you use the builder to create
individual modules */
/* you will not need to edit these parameters. */
var wx_targetDiv = 'wx_module_2550';

/* Please do not change the configuration value [wx_config] manually -
your module */
/* will no longer function if you do. If at any time you wish to modify
this */
/* configuration please use the graphical configuration tool found at */
/* https://registration.weather.com/ursa/wow/step2 */
var
wx_config='SZ=300x250*WX=FHW*LNK=SSNL*UNT=F*BGI=boat*MAP=null|null*DN=http';

document.write('<scr'+'ipt
src="'+document.location.protocol+'//wow.weather.com/weather/wow/module/'+wx_locID+'?config='+wx_config+'&proto='+document.location.protocol+'&target='+wx_targetDiv+'"></scr'+'ipt>');
</script><!--webbot bot="HTMLMarkup" endspan --><br>
<br>
<!--webbot bot="HTMLMarkup" startspan --><div id="wx_module_7829">
<a href="http://www.weather.com/weather/local/10017">10017 (New York
Weather Forecast, NY)</a>
</div>

<script type="text/javascript">

/* Locations can be edited manually by updating 'wx_locID' below. Please
also update */
/* the location name and link in the above div (wx_module) to reflect any
changes made. */
var wx_locID = '10017';

/* If you are editing locations manually and are adding multiple modules
to one page, each */
/* module must have a unique div id. Please append a unique # to the div
above, as well */
/* as the one referenced just below. If you use the builder to create
individual modules */
/* you will not need to edit these parameters. */
var wx_targetDiv = 'wx_module_7829';

/* Please do not change the configuration value [wx_config] manually -
your module */
/* will no longer function if you do. If at any time you wish to modify
this */
/* configuration please use the graphical configuration tool found at */
/* https://registration.weather.com/ursa/wow/step2 */
var
wx_config='SZ=300x250*WX=FHW*LNK=SSNL*UNT=F*BGI=boat*MAP=null|null*DN=http';

document.write('<scr'+'ipt
src="'+document.location.protocol+'//wow.weather.com/weather/wow/module/'+wx_locID+'?config='+wx_config+'&proto='+document.location.protocol+'&target='+wx_targetDiv+'"></scr'+'ipt>');
</script><!--webbot bot="HTMLMarkup" endspan --></p>
<p><br>
</p>

</body>

</html>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top