0
Welcome Guest! Login
0 items Join Now

Weather.com HTML code

  • Weather.com HTML code

    Posted 16 years 9 months ago
    • I want to put the Weather.com badge in a module on the front page. I turned off my editor and pasted the code. It didn't work. All I got on the module was the link to Waco Weather.com with no graphic or anything. Here's the code:

      <div id="wx_module_4964">
      <a href=" www.weather.com/weather/local/76710 ">Waco Weather Forecast, TX (76710)</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 = '76710';

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

      /* 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 */
      /* registration.weather.com/ursa/wow/step2 */
      var wx_config='SZ=300x250*WX=FWC*LNK=HNWL*UNT=F*BGI=sun*MAP=null|null*DN=iparentwaco.com*TIER=0*PID=1066553816*MD5=0aee0491afdbd8ad34e07b70a6f26706';

      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>

      I tried it with all the code and then I deleted the middle part that didn't look like it needed to be there and it did the same thing.

      Anyone made this work or know how I can? Or have an attractive, similar module that does work in Joomla?

Time to create page: 0.069 seconds