Question

so I'm trying to add integrate a Weather app in my site, this works fine: http://jsfiddle.net/fleeting/a4hbL/light/

The only problem I am having is getting it to output the Weather tomorrow rather than currently. Any ideas? I don't need Geolocation or anything like that (just in case you were wondering), this is a local project. But I do need it to do as I have specified above.

It's this that I need to change:

weather.currently

But I can't seem to figure out how I can add an option to make it display the weather tomorrow...

Thanks!

Était-ce utile?

La solution

If you read the docs, you'd see that there are parameters for tomorrow's date, such as tomorrow.high, tomorrow.highAlt, tomorrow.forecast...

See here: http://jsfiddle.net/a4hbL/2064/

And please read the docs before posting a question here.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top