This repository has been archived by the owner on Jan 23, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 147
Home
jamesfleeting edited this page Sep 14, 2010
·
17 revisions
Welcome to the jquery.simpleWeather wiki!
$.simpleWeather({
“);
zipcode: ‘76309’,
unit: ‘f’,
success: function(weather) {
$(“#weather”).append(“
$(”#weather").append("Today’s High: “weather.high”° “weather.units.temp” – Today’s Low: “weather.low”° “weather.units.temp”
“);
$(”#weather").append("Current Temp: “weather.temp”° “weather.units.temp”
“);
$(”#weather").append("Wind: “weather.wind.direction” “weather.wind.speed” “weather.units.speed”
“);
$(”#weather").append("Currently: “weather.currently” – Forecast: “weather.forecast”
“);
$(”#weather").append(‘’weather.image‘“>
’);
$(“#weather”).append("Sunrise: “weather.sunrise” – Sunset: “weather.sunset”
“);
$(”#weather").append("Last updated: “weather.updated”
“);
$(”#weather").append(‘’weather.link‘“>View forecast at Yahoo! Weather
’);
},
error: function(error) {
alert(error);
}
});