Weather.com module insert

C

cmw

I'm having a tough time adding the weather.com module code to a page and
could use some help. The code is below and appears but keeps appearing as a
hyperlink without the graphic. Thanks!

<div id="wx_module_7236">
<a href="http://www.weather.com/weather/local/USMD0034">Bethesda Weather
Forecast, MD</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 = 'USMD0034';

/* 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_7236';

/* 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=180x150*WX=FHW*LNK=SSNL*UNT=F*BGC=003471*MAP=CSC|null*DN=nccpeds.com*TIER=0*PID=1031331667*MD5=3a3e8c2e58049b5abe6207930a3a1d1a';
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>
 
D

David Berry

You need to publish the page to your domain. When you sign up it asks for
your domain name (ex: www.mydomain). The code it generates is looking to
see if that's the domain it's coming from and it pulls in the graphics. If
you look at it locally all you see is the hyperlink. Once you publish it
you'll see the graphic.
 
C

cmw

Thanks. That definitely seemed to help, but the graphic is only visible with
Firefox and Netscape. When I open it up with IE7.0, it says 'loading' but
never does. Any additional thoughts?

David Berry said:
You need to publish the page to your domain. When you sign up it asks for
your domain name (ex: www.mydomain). The code it generates is looking to
see if that's the domain it's coming from and it pulls in the graphics. If
you look at it locally all you see is the hyperlink. Once you publish it
you'll see the graphic.


cmw said:
I'm having a tough time adding the weather.com module code to a page and
could use some help. The code is below and appears but keeps appearing as
a
hyperlink without the graphic. Thanks!

<div id="wx_module_7236">
<a href="http://www.weather.com/weather/local/USMD0034">Bethesda Weather
Forecast, MD</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 = 'USMD0034';

/* 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_7236';

/* 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=180x150*WX=FHW*LNK=SSNL*UNT=F*BGC=003471*MAP=CSC|null*DN=nccpeds.com*TIER=0*PID=1031331667*MD5=3a3e8c2e58049b5abe6207930a3a1d1a';
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>
 
C

Chris Leeds, MVP - FrontPage

you'll have to show us a link.
by the way;
you might want to look at www.wunderground.com they've got real good stuff.

--
Have you seen ContentSeed (www.contentseed.com)?
--
Chris Leeds
Contact: http://chrisleeds.com/contact

NOTE:
This message was posted from an unmonitored email account.
This is an unfortunate necessity due to high volumes of spam sent to email
addresses in public newsgroups.
Sorry for any inconvenience.
cmw said:
Thanks. That definitely seemed to help, but the graphic is only visible
with
Firefox and Netscape. When I open it up with IE7.0, it says 'loading' but
never does. Any additional thoughts?

David Berry said:
You need to publish the page to your domain. When you sign up it asks
for
your domain name (ex: www.mydomain). The code it generates is looking to
see if that's the domain it's coming from and it pulls in the graphics.
If
you look at it locally all you see is the hyperlink. Once you publish it
you'll see the graphic.


cmw said:
I'm having a tough time adding the weather.com module code to a page
and
could use some help. The code is below and appears but keeps appearing
as
a
hyperlink without the graphic. Thanks!

<div id="wx_module_7236">
<a href="http://www.weather.com/weather/local/USMD0034">Bethesda
Weather
Forecast, MD</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 = 'USMD0034';

/* 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_7236';

/* 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=180x150*WX=FHW*LNK=SSNL*UNT=F*BGC=003471*MAP=CSC|null*DN=nccpeds.com*TIER=0*PID=1031331667*MD5=3a3e8c2e58049b5abe6207930a3a1d1a';
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>
 

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

Similar Threads


Top