Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Can I use different weather icons instead of Yahoo's? [example]
zipcode: '76309',
unit: 'f',
success: function(weather) {
html = '<h2>'', '+weather.region+'</h2>';
html += '<img style="float:left;" width="125px" src="images/weather/'+weather.code+'.png">';
html += '<p>'+weather.temp+'&deg; '+weather.units.temp+'<br /><span>'+weather.currently+'</span></p>';
html += '<a href="''">View Forecast &raquo;</a>';
error: function(error) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.