Zazar Homepage
Forum Home Forum Home > Zazar > Developers
  New Posts New Posts RSS Feed - zWeather unit option doesn't work
  FAQ FAQ  Forum Search   Register Register  Login Login

zWeather unit option doesn't work

 Post Reply Post Reply
Author
Message
dpatriot View Drop Down
Newbie
Newbie
Avatar

Joined: 16 Jul 2015
Location: internet
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpatriot Quote  Post ReplyReply Direct Link To This Post Topic: zWeather unit option doesn't work
    Posted: 16 Jul 2015 at 20:38
I have downloaded the latest 1.3.1 codes. I'm unable to get the zWeather widget to display temperature in Fahrenheit. I posted a question on StackOverflow.com here http://stackoverflow.com/questions/31460055/zweather-unit-parameter-does-not-seem-to-work.

Basically, I used the example_jquerytools.html provided in the latest code. I added unit: 'f' to the call to weatherfeed() function. It didn't work. The sample result is still in Celsius. What am I missing?

Thanks
Back to Top
David View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 Oct 2009
Points: 224
Post Options Post Options   Thanks (0) Thanks(0)   Quote David Quote  Post ReplyReply Direct Link To This Post Posted: 17 Jul 2015 at 07:36
Hi

This works correctly. Ensure you are adding the 'unit' option in the correct place ie

     $('#test').weatherfeed(['UKXX0085','EGXX0011','UKXX0061','CAXX0518','CHXX0049'],{ unit: 'f' },function(e) {
          $("div.scrollable").scrollable({
                  vertical: true,
                  size: 1,
               circular: true
          }).navigator().autoscroll({
               interval: 3000
          });
     });
David Woolston
Zazar Support
Back to Top
dpatriot View Drop Down
Newbie
Newbie
Avatar

Joined: 16 Jul 2015
Location: internet
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpatriot Quote  Post ReplyReply Direct Link To This Post Posted: 17 Jul 2015 at 15:17
Yeah. Thanks David. It's working now.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 10.15
Copyright ©2001-2013 Web Wiz Ltd.