TinyPortal
Development => Resources => Topic started by: dry3210 on February 14, 2008, 05:40:21 PM
I've searched and searched and searched....
Is there a weather widget that each user can put in their own zip and have the weather show up in a block each time they sign on?
All I can find are ones that its just one location and thats it..or if you enter a zip it opens a new page.
If anyone knows of one thanks
If you find one that opens a new page that does what you want we can probably modify that to work.
try weather.com they have one offering what you need.. had a demo, but i took a site down last night, I am sorry.. but i think this would be the best ;)
Quote from: IchBinâ,,¢ on February 14, 2008, 07:12:00 PM
If you find one that opens a new page that does what you want we can probably modify that to work.
Theres two
<script type="text/javascript" src="http://weather.ibegin.com/js/us/pa/philadelphia/0/1/1/1/1/custom.js&background_color=ffffff&color=000000&width=165&padding=10&border_width=1&border_color=000000&font_size=11&font_family=Verdana&showicons=1"></script><noscript>View <a href="http://weather.ibegin.com/us/pa/philadelphia/">Weather for Philadelphia, PA</a></noscript>
<div id="wx_module_2883">
<a href="http://www.weather.com/weather/local/19040">Hatboro Weather Forecast, PA (19040)</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 = '19040';
/* 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_2883';
/* 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=728x90*WX=FHW*LNK=RCTN*UNT=F*BGI=seasonal1*MAP=null|null*DN=www.nesportbikes.com*TIER=0*PID=1051849240*MD5=c51ea6c413387b03a49abe8439eb9ec3';
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>
Well, neither of those will work because they load the site. They don't load a custom block of code or anything. If you can find something that returns something you can work with instead of taking you to another site then we can work with that. I thought you were saying the something else so I apologize for the misunderstanding.
Quote from: IchBinâ,,¢ on February 15, 2008, 12:33:01 AM
Well, neither of those will work because they load the site. They don't load a custom block of code or anything. If you can find something that returns something you can work with instead of taking you to another site then we can work with that. I thought you were saying the something else so I apologize for the misunderstanding.
No big, I'll keep lookin
go to http://www.wunderground.com/geo/BannerPromo/US/SC/Una.html (http://www.wunderground.com/geo/BannerPromo/US/SC/Una.html)
maybe it's adaptable for your needs?
that one is set up for my local weather, but if you click the picture it'll take you to the scripts homepage where you can setup your own.
if that one doesn't work, look around at:
http://www.widgetbox.com/search?q=weather
Quote from: Studio1031 on February 15, 2008, 02:26:02 AM
if that one doesn't work, look around at:
http://www.widgetbox.com/search?q=weather
That is what I use. Pretty easy to install, just open up a 'script' block and drop in the code. I've installed the BBC weather centre on mine.