Page 159 of 216 FirstFirst ... 59109149157158159160161169209 ... LastLast
Results 3,161 to 3,180 of 4318

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: Widget Weather

  1. #3161
    Code Dependent NewD's Avatar
    Join Date
    Jan 2012
    Location
    Northeast US
    Posts
    5,712
    Thanks
    8,338
    Thanked 16,467 Times in 7,697 Posts

    Quote Originally Posted by Dacal View Post
    Here :
    Thanks Dacal.. But as a "quote" I have no access to the actual text of the code. When I hit Quote I only get the word "here" from above.. And you can't copy from text in a quote in the ModMyI app. Sorry to be a pain. But can you write the code strand again outside a "quote"? Thanks, sir!!

  2. #3162
    document.getElementById("pressureTxt").innerHTML = Math.round(obj.pressure*100/convertP)/100 + " " + pressureunit;

  3. The Following 2 Users Say Thank You to mfisherbsu For This Useful Post:

    Dacal (2014-03-24), NewD (2014-03-24)

  4. #3163
    Code Dependent NewD's Avatar
    Join Date
    Jan 2012
    Location
    Northeast US
    Posts
    5,712
    Thanks
    8,338
    Thanked 16,467 Times in 7,697 Posts

    Quote Originally Posted by mfisherbsu View Post
    document.getElementById("pressureTxt").innerHTML = Math.round(obj.pressure*100/convertP)/100 + " " + pressureunit;
    Thanks for copying this!

    David, I tried the code. But it still only yields a two digit number with no 10ths or 100ths place in the number. Any other thoughts?

  5. #3164

  6. #3165
    Code Dependent NewD's Avatar
    Join Date
    Jan 2012
    Location
    Northeast US
    Posts
    5,712
    Thanks
    8,338
    Thanked 16,467 Times in 7,697 Posts

    Quote Originally Posted by mfisherbsu View Post
    It worked for me.

    -photo.png
    Hmm.. Big mystery.. Still not working for me..

  7. #3166
    Quote Originally Posted by NewdestinyX View Post
    Hmm.. Big mystery.. Still not working for me..
    It's because your pressure is exactly an integer (ie for exemple, 30.00 => 30)...
    Maybe by using .toFixed(2).

    JavaScript toFixed() Method


    My themes : Jade HD, Silex HD, BaSalt HD,ToPaz
    All are on Cydia and/or Theme It.

  8. The Following 9 Users Say Thank You to Dacal For This Useful Post:

    chevymusclecar (2014-03-24), Hip5 (2014-03-25), King_O_Hill (2014-03-24), lostinthemes (2014-03-26), Marty McFly (2014-03-24), mfisherbsu (2014-03-24), NewD (2014-03-24), RKO1195 (2014-03-24), TaJr12 (2014-03-24)

  9. #3167
    Retired Moderator 2k1's Avatar
    Join Date
    Jan 2011
    Location
    Hammond Louisiana
    Posts
    34,023
    Thanks
    1,815
    Thanked 7,065 Times in 4,206 Posts

    When ya git notifications on lock screen does this widget still work for y'all?

  10. #3168
    Livin' the Dream Krima's Avatar
    Join Date
    Jul 2011
    Location
    Nashville, Tn
    Posts
    3,825
    Thanks
    4,960
    Thanked 9,817 Times in 2,987 Posts

    Quote Originally Posted by 2k1 View Post
    When ya git notifications on lock screen does this widget still work for y'all?
    What LS platform are u using?

  11. The Following User Says Thank You to Krima For This Useful Post:

    King_O_Hill (2014-03-24)

  12. #3169
    Retired Moderator 2k1's Avatar
    Join Date
    Jan 2011
    Location
    Hammond Louisiana
    Posts
    34,023
    Thanks
    1,815
    Thanked 7,065 Times in 4,206 Posts

    Quote Originally Posted by Krima View Post
    What LS platform are u using?
    Lockhtml

  13. The Following User Says Thank You to 2k1 For This Useful Post:

    King_O_Hill (2014-03-24)

  14. #3170
    Livin' the Dream Krima's Avatar
    Join Date
    Jul 2011
    Location
    Nashville, Tn
    Posts
    3,825
    Thanks
    4,960
    Thanked 9,817 Times in 2,987 Posts

    Quote Originally Posted by 2k1 View Post
    Lockhtml
    What option do u have select under Widget Position in the LockHTML setting?

  15. The Following User Says Thank You to Krima For This Useful Post:

    King_O_Hill (2014-03-24)

  16. #3171
    Retired Moderator 2k1's Avatar
    Join Date
    Jan 2011
    Location
    Hammond Louisiana
    Posts
    34,023
    Thanks
    1,815
    Thanked 7,065 Times in 4,206 Posts

    Quote Originally Posted by Krima View Post
    What option do u have select under Widget Position in the LockHTML setting?
    Nothing what should I check?

  17. The Following User Says Thank You to 2k1 For This Useful Post:

    King_O_Hill (2014-03-24)

  18. #3172
    Livin' the Dream Krima's Avatar
    Join Date
    Jul 2011
    Location
    Nashville, Tn
    Posts
    3,825
    Thanks
    4,960
    Thanked 9,817 Times in 2,987 Posts

    Quote Originally Posted by 2k1 View Post
    Nothing what should I check?
    Try below notifications.

  19. The Following 4 Users Say Thank You to Krima For This Useful Post:

    2k1 (2014-03-24), Hip5 (2014-03-25), King_O_Hill (2014-03-24), lostinthemes (2014-03-26)

  20. #3173
    Retired Moderator 2k1's Avatar
    Join Date
    Jan 2011
    Location
    Hammond Louisiana
    Posts
    34,023
    Thanks
    1,815
    Thanked 7,065 Times in 4,206 Posts

    Quote Originally Posted by Krima View Post
    Try below notifications.
    Will do thank you!!

  21. The Following User Says Thank You to 2k1 For This Useful Post:

    King_O_Hill (2014-03-24)

  22. #3174
    Livin' the Dream Krima's Avatar
    Join Date
    Jul 2011
    Location
    Nashville, Tn
    Posts
    3,825
    Thanks
    4,960
    Thanked 9,817 Times in 2,987 Posts

    Let me know if that works.

  23. The Following 3 Users Say Thank You to Krima For This Useful Post:

    2k1 (2014-03-24), Hip5 (2014-03-25), King_O_Hill (2014-03-24)

  24. #3175
    Retired Moderator 2k1's Avatar
    Join Date
    Jan 2011
    Location
    Hammond Louisiana
    Posts
    34,023
    Thanks
    1,815
    Thanked 7,065 Times in 4,206 Posts

    Quote Originally Posted by Krima View Post
    Let me know if that works.
    Will do

  25. #3176
    Superbad Modder-ator Simon's Avatar
    Join Date
    Nov 2007
    Location
    Bermuda
    Posts
    48,875
    Thanks
    8,108
    Thanked 17,645 Times in 8,025 Posts

    Quote Originally Posted by NewdestinyX View Post
    Thanks Dacal.. But as a "quote" I have no access to the actual text of the code. When I hit Quote I only get the word "here" from above.. And you can't copy from text in a quote in the ModMyI app. Sorry to be a pain. But can you write the code strand again outside a "quote"? Thanks, sir!!
    You could of just opened his post in safari. Then you could have copied it from there.

  26. The Following 2 Users Say Thank You to Simon For This Useful Post:

    King_O_Hill (2014-03-24), NewD (2014-03-24)

  27. #3177
    Retired Moderator 2k1's Avatar
    Join Date
    Jan 2011
    Location
    Hammond Louisiana
    Posts
    34,023
    Thanks
    1,815
    Thanked 7,065 Times in 4,206 Posts

    Quote Originally Posted by Krima View Post
    Let me know if that works.
    Works thank you

  28. The Following 2 Users Say Thank You to 2k1 For This Useful Post:

    King_O_Hill (2014-03-24), Krima (2014-03-24)

  29. #3178
    Code Dependent NewD's Avatar
    Join Date
    Jan 2012
    Location
    Northeast US
    Posts
    5,712
    Thanks
    8,338
    Thanked 16,467 Times in 7,697 Posts

    Okay guys if you want to see Barometric pressure in Inches of Mercury that way it's expressed normally on weather sites, in Dacal's 2.1 Lockscreen.. Find this code:

    Code:
     document.getElementById("pressureTxt").innerHTML = Math.round(obj.pressure/convertP) + " " + pressureunit;
    ..and replace it with these two lines:
    Code:
    var pressureinches = (obj.pressure*100/convertP)/100;
    document.getElementById("pressureTxt").innerHTML = pressureinches.toFixed(2) + " " + pressureunit;
    Thanks, Dacal for the article. Got me pointed in the right direction! For what it's worth.. We also don't us "inHg". We just use "in" after the number in places that use Inches of Mercury.
    Quote Originally Posted by Simon View Post
    You could of just opened his post in safari. Then you could have copied it from there.
    Tried that too. LOTS of workie... (makes you have to log in.. quote the message... oy... )..

  30. The Following 3 Users Say Thank You to NewD For This Useful Post:

    bliken (2014-03-24), Dacal (2014-03-25), King_O_Hill (2014-03-24)

  31. #3179
    Superbad Modder-ator Simon's Avatar
    Join Date
    Nov 2007
    Location
    Bermuda
    Posts
    48,875
    Thanks
    8,108
    Thanked 17,645 Times in 8,025 Posts

    Quote Originally Posted by NewdestinyX View Post
    Thanks, Dacal for the article. Got me pointed in the right direction! For what it's worth.. We also don't us "inHg". We just use "in" after the number in places that use Inches of Mercury.
    Tried that too. LOTS of workie... (makes you have to log in.. quote the message... oy... )..
    You only have to log in once. Then any time after that you are good. I didn't have to quote anything to copy it. I held my finger down on his quote, it selected the entire box one time and copied it. Very simple and fast. You don't have the mobile view of MMi come up when you are in safari do you?

  32. The Following User Says Thank You to Simon For This Useful Post:

    King_O_Hill (2014-03-24)

  33. #3180
    Code Dependent NewD's Avatar
    Join Date
    Jan 2012
    Location
    Northeast US
    Posts
    5,712
    Thanks
    8,338
    Thanked 16,467 Times in 7,697 Posts

    Quote Originally Posted by Simon View Post
    You only have to log in once. Then any time after that you are good. I didn't have to quote anything to copy it. I held my finger down on his quote, it selected the entire box one time and copied it. Very simple and fast. You don't have the mobile view of MMi come up when you are in safari do you?
    It never stays logged in for me. Even when I use the checkmark. Have to log in every single time (day to day - not WITHIN a given day). This has been true for the MMI app launching Mobile Safari on every phone I've ever owned since I joined. Pain in the butt and why I asked Dacal to paste for me. Regardless of whether you have MMi set up to show Mobile version or Desktop version - have to log in every time - for me, Simon.. And double tapping on the quote text doesn't bring up normal iOS highlighting for copy and paste either. At least not from the mobile view. Clicking to default view doesn't leave you on same page but jumps you to News threads.. uggh..
    Last edited by NewD; 2014-03-24 at 05:56 PM.

  34. The Following User Says Thank You to NewD For This Useful Post:

    King_O_Hill (2014-03-24)

Page 159 of 216 FirstFirst ... 59109149157158159160161169209 ... LastLast
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •