+ Reply
Page 161 of 210 FirstFirst ... 61 111 151159160161162163 171 ... LastLast
Results 3,201 to 3,220 of 4188

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


Thread: Widget Weather

is a discussion within the

File Mods

forums, a part of the

iPhone Modding

section;
Great work Dacal, Thank you for your time and generosity. Durben congrats on the new work gig! Peace Out;@hip5
...
  1. #3201
    My iPhone is a Part of Me Hip5's Avatar
    Join Date
    Apr 2012
    Location
    Toledo,Ohio
    Posts
    761
    Thanks
    13,946
    Thanked 1,007 Times in 495 Posts

    Great work Dacal,
    Thank you for your time and generosity.
    Durben congrats on the new work gig!

    Peace Out;@hip5

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

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

  3. #3202
    ----NewD 2.0---- NewdestinyX's Avatar
    Join Date
    Jan 2012
    Posts
    9,964
    Thanks
    4,268
    Thanked 9,064 Times in 4,557 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!!
    Here to help if I can. If I can't I know someone who can!

  4. #3203
    Green Apple mfisherbsu's Avatar
    Join Date
    Mar 2013
    Posts
    34
    Thanks
    1,000
    Thanked 32 Times in 18 Posts

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

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

    Dacal (03-24-2014), NewdestinyX (03-23-2014)

  6. #3204
    ----NewD 2.0---- NewdestinyX's Avatar
    Join Date
    Jan 2012
    Posts
    9,964
    Thanks
    4,268
    Thanked 9,064 Times in 4,557 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?
    Here to help if I can. If I can't I know someone who can!

  7. #3205
    Green Apple mfisherbsu's Avatar
    Join Date
    Mar 2013
    Posts
    34
    Thanks
    1,000
    Thanked 32 Times in 18 Posts

    It worked for me.

    Widget Weather-photo.png

  8. #3206
    ----NewD 2.0---- NewdestinyX's Avatar
    Join Date
    Jan 2012
    Posts
    9,964
    Thanks
    4,268
    Thanked 9,064 Times in 4,557 Posts

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

    Attachment 663307
    Hmm.. Big mystery.. Still not working for me..
    Here to help if I can. If I can't I know someone who can!

  9. #3207
    Addicted to Code Dacal's Avatar
    Join Date
    Nov 2010
    Posts
    1,891
    Thanks
    2,910
    Thanked 8,488 Times in 1,500 Posts

    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.

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

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

  11. #3208
    2k1
    2k1 is offline
    Sug Luv Super Moderator 2k1's Avatar
    Join Date
    Jan 2011
    Location
    Hammond Louisiana
    Posts
    34,057
    Thanks
    1,815
    Thanked 7,064 Times in 4,206 Posts

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

  12. #3209
    Full Moon Krima's Avatar
    Join Date
    Jul 2011
    Location
    Nashville, Tn
    Posts
    3,100
    Thanks
    3,984
    Thanked 7,724 Times in 2,420 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?

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

    King_O_Hill (03-24-2014)

  14. #3210
    2k1
    2k1 is offline
    Sug Luv Super Moderator 2k1's Avatar
    Join Date
    Jan 2011
    Location
    Hammond Louisiana
    Posts
    34,057
    Thanks
    1,815
    Thanked 7,064 Times in 4,206 Posts

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

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

    King_O_Hill (03-24-2014)

  16. #3211
    Full Moon Krima's Avatar
    Join Date
    Jul 2011
    Location
    Nashville, Tn
    Posts
    3,100
    Thanks
    3,984
    Thanked 7,724 Times in 2,420 Posts

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

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

    King_O_Hill (03-24-2014)

  18. #3212
    2k1
    2k1 is offline
    Sug Luv Super Moderator 2k1's Avatar
    Join Date
    Jan 2011
    Location
    Hammond Louisiana
    Posts
    34,057
    Thanks
    1,815
    Thanked 7,064 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?

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

    King_O_Hill (03-24-2014)

  20. #3213
    Full Moon Krima's Avatar
    Join Date
    Jul 2011
    Location
    Nashville, Tn
    Posts
    3,100
    Thanks
    3,984
    Thanked 7,724 Times in 2,420 Posts

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

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

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

  22. #3214
    2k1
    2k1 is offline
    Sug Luv Super Moderator 2k1's Avatar
    Join Date
    Jan 2011
    Location
    Hammond Louisiana
    Posts
    34,057
    Thanks
    1,815
    Thanked 7,064 Times in 4,206 Posts

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

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

    King_O_Hill (03-24-2014)

  24. #3215
    Full Moon Krima's Avatar
    Join Date
    Jul 2011
    Location
    Nashville, Tn
    Posts
    3,100
    Thanks
    3,984
    Thanked 7,724 Times in 2,420 Posts

    Let me know if that works.

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

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

  26. #3216
    2k1
    2k1 is offline
    Sug Luv Super Moderator 2k1's Avatar
    Join Date
    Jan 2011
    Location
    Hammond Louisiana
    Posts
    34,057
    Thanks
    1,815
    Thanked 7,064 Times in 4,206 Posts

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

  27. #3217
    Superbad Modder-ator Simon's Avatar
    Join Date
    Nov 2007
    Location
    Bermuda
    Posts
    46,533
    Thanks
    6,806
    Thanked 15,227 Times in 6,987 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.

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

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

  29. #3218
    2k1
    2k1 is offline
    Sug Luv Super Moderator 2k1's Avatar
    Join Date
    Jan 2011
    Location
    Hammond Louisiana
    Posts
    34,057
    Thanks
    1,815
    Thanked 7,064 Times in 4,206 Posts

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

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

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

  31. #3219
    ----NewD 2.0---- NewdestinyX's Avatar
    Join Date
    Jan 2012
    Posts
    9,964
    Thanks
    4,268
    Thanked 9,064 Times in 4,557 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... )..
    Here to help if I can. If I can't I know someone who can!

  32. The Following 3 Users Say Thank You to NewdestinyX For This Useful Post:

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

  33. #3220
    Superbad Modder-ator Simon's Avatar
    Join Date
    Nov 2007
    Location
    Bermuda
    Posts
    46,533
    Thanks
    6,806
    Thanked 15,227 Times in 6,987 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?

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

    King_O_Hill (03-24-2014)

LinkBacks (?)

  1. 08-08-2013, 04:14 PM

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts