Need help? Check out our Support site, then


Weather widget not working

  1. Can anyone tell me why the below code won't work in my sidebar?? It sorta works....the actual forecast isn't showing. Thanks!!!

    <div class="wXstickerbody" style="width:180px; height:150px; border:1px black solid; background:url(http://img.weather.weatherbug.com/images/stickers/v2/180x150/bg.gif) no-repeat;">

    <div class="wXstickerforecast" style="margin-top:7px; margin-left:7px;">
    <object type="application/x-shockwave-flash" data="http://weather.weatherbug.com/corporate/products/stickers/v2/MySpace_Sticker_180x150.swf?citycode=69403&ZCode=z5740&StationID=UACC&units=0" height="100" width="166">
    <param name="movie" value="http://weather.weatherbug.com/corporate/products/stickers/v2/MySpace_Sticker_180x150.swf?citycode=69403&ZCode=z5740&StationID=UACC&units=0">
    <param name="allowScriptAccess" value="never">
    <param name="enableJSURL" value="false">
    <param name="enableHREF" value="false">
    <param name="saveEmbedTags" value="true">
    <param name="flashvars" value="citycode=69403&ZCode=z5740&StationID=UACC&units=0">
    <embed src="http://weather.weatherbug.com/corporate/products/stickers/v2/MySpace_Sticker_180x150.swf?citycode=69403&ZCode=z5740&StationID=UACC&units=0" width="166" height="100" FlashVars="citycode=69403&ZCode=z5740&StationID=UACC&units=0"></embed>
    </object>
    </div>

    <div class="wXstickerlinks" style="height:10px; line-height:10px; text-align:center; margin-top:0px; width:180px;">
    <span class="wXstickerlink" style="font-family:Arial, Helvetica; margin-right:3px; font-size:9px;">Forecast</span>
    <span class="wXstickerlink" style="font-family:Arial, Helvetica; margin-right:3px; font-size:9px;">Satellite</span>
    <span class="wXstickerlink" style="font-family:Arial, Helvetica; margin-right:3px; font-size:9px;">Photos</span>
    <div class="wXstickerfooter" style="margin-top:5px;">
    <img src="http://img.weather.weatherbug.com/images/stickers/v2/180x150/wxbug-logo.jpg" style="border:0px;" border="0" alt="WeatherBug" /></div>
    </div>
    </div>

  2. It's flash based.

    Flash/javascript/iframes are all stripped out for security reasons here at wp.com. You'll need a weather widget that's plain html. I don't remember seeing one at weatherbug. On my ESL blog, I use weather pixie. You can see it here... http://esladventures.wordpress.com/

  3. If you're not a fan of WeatherPixie, Wunderground, or an RSS feed of your local weather, you can try http://www.4wx.com. It works for US and Canada locations only.

  4. Thanks for posting this alternative. :-)

  5. Another place to pick up a customizable weather widget in plain html at http://www.weather-forecast.com. It works for mostly US locations. If you're interested in more dynamic weather widgets, such as from iBegin, Simple Weather, etc., you can make a recommendation through the forums (or possibly through the Feedback form) so WordPress can study the possibility.

  6. @fivecats
    Thanks for posting this option.

Topic Closed

This topic has been closed to new replies.

About this Topic