문제

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!

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top