a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Hosting from $3.99 per month!

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions. dd

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Weather Channel Javascript

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Microsoft FrontPage Help >> Weather Channel Javascript
Page: [1]
 
baguion

 

Posts: 2
Joined: 1/11/2007
Status: offline

 
Weather Channel Javascript - 1/16/2007 20:41:57   
I've added the code from the weather channel to place on my website. What can I do to edit the code so that when users click on it, it opens in a new window? Right now it is in an inline frame and when I click on it to let's say get the 10 day forecast, it opens within the frame. Below is the code generated from the Weather Channel:

<div id="wx_module_4111">
   <a href="http://www.weather.com/weather/local/36066">Prattville, AL (36066) Weather</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 = '36066';

   // 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_4111';

   // 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=FH*LNK=SSNL*UNT=F*BGI=sun*MAP=null|null*DN=riverregionsoccerclub.com*TIER=0*PID=1031932474*MD5=3c677e0d7be4fe1e577c9239959a0ee1';

   document.write('<script src="'+document.location.protocol+'//wow.weather.com/weather/wow/module/'+wx_locID+'?config='+wx_config+'&proto='+document.location.protocol+'&target='+wx_targetDiv+'"></script>');  
   // -->
</script>

Thanks,
Nick
Page:   [1]
OutFront Discoveries

All Forums >> Web Development >> Microsoft FrontPage Help >> Weather Channel Javascript
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts