ok, so I am making a weather and news widget using html5 geo-location and google's secret weather, and news api. I don't know why I started this because I know pretty much nothing about javascript. so my question is:
how do you add a js variable on the end of a url to put into an iframe.
how do you get geo-location to return a city, instead of coordinates.
how do you replace spaces with a +.
if you wanna play around with google's secret (No Documentation (Used for IGoogle Gadgets))
Code:google.com/ig/api?weather=Town+STATE google.com/ig/api?news=Town+STATE google.com/ig/api?stock=stockname