Hi, everyone. I'm having a really difficult time pasting in generated code from the Weather Channel for a weather sticker for my webpage. This was the code sent to me via email:
<!-- cut and paste the below code into your HTML editor --><div id="wx_module_2384"> <a href="http://www.weather.com/weather/local/15904">Johnstown, PA (15904) 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 = '15904'; /* 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_2384'; /* 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=FWC*LNK=SSNL*UNT=F*BGI=se asonal1*MAP=null|null*DN=www.getitwritesolutions.c om*TIER=0*PID=1024403000*MD5=4cf3598911b9cbfe242fc c4db995732d'; 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><!-- cut and paste the above code into your HTML editor -->
I've tried this about 6 times and have made sure that my code starts and ends with the "script" tag, but I can't get it to work. I'm frustrated. Can anyone just help me to get the "important stuff" out of this code to I can insert this? It looks like there's a whole lot of additional text "notes" in here I don't really need, as well.
I appreciate any and all help...
Your frustrated newbie,
Dawn