+ Reply
Page 3 of 3 FirstFirst 123
Results 41 to 56 of 56

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


Thread: Test Your Lockscreen, Springboard or iWidget Using Chrome

is a discussion within the

iPhone 5 New Skins / Themes Launches

forums, a part of the

New Skins / Themes Launches

section;
Originally Posted by King_O_Hill Yes, you open the .HTML file. Is it iph4 only, or does it auto detect which device? It is i4 only
...
  1. #41
    Livin the iPhone Life nik1975's Avatar
    Join Date
    Feb 2008
    Location
    Thessaloniki, Greece
    Posts
    1,275
    Thanks
    2,861
    Thanked 925 Times in 568 Posts

    Quote Originally Posted by King_O_Hill View Post
    Yes, you open the .HTML file.

    Is it iph4 only, or does it auto detect which device?
    It is i4 only

  2. #42
    King Kong ain't got nothing on me! King_O_Hill's Avatar
    Join Date
    Apr 2011
    Location
    USA
    Posts
    9,044
    Thanks
    40,143
    Thanked 16,829 Times in 6,148 Posts

    Quote Originally Posted by nik1975 View Post
    It is i4 only
    You would need to resize any images and then adjust the top values in the CSS file.
    Widget-Weather App Now Available! Also with MyLocation Support!
    Check out the thread here - Widget-Weather
    To install the Widget-Weather app, just go to Cydia and install. This will also remove MyLocation, as it is built in!
    Want to protect your JailBreak! Add this repo http://cydia.myrepospace.com/iLEXiNFO/ & Install "iLEX R.A.T."
    It will allow you to bring your phone back to a fresh jailbroken state!

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

    It's Mi (11-01-2013), nik1975 (05-07-2013)

  4. #43
    widget modder RKO1195's Avatar
    Join Date
    Aug 2010
    Location
    Alabama
    Posts
    2,259
    Thanks
    10,203
    Thanked 5,148 Times in 1,750 Posts

    Bump someone looking for this

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

    A11AST3R (08-24-2013), King_O_Hill (05-21-2013)

  6. #44
    Superbad Modder-ator Simon's Avatar
    Join Date
    Nov 2007
    Location
    Bermuda
    Posts
    46,342
    Thanks
    6,714
    Thanked 15,019 Times in 6,925 Posts

    Not sure if you posted this yet King, I took a quick look through the thread but didn't see it (could have missed it). A quick (and dirty) way to test for i4 using your browser. Find the code in your js file that detects i5 or i4 and up the value to 1000. That will make the browser use the i4 version. For example in uniaw in the main js near the top:

    if (screen.height > 500) {var iPhoneType = "iph5";} else {var iPhoneType = "iph4";}

    change to

    if (screen.height > 1000) {var iPhoneType = "iph5";} else {var iPhoneType = "iph4";}

    Just don't forget to change it back after testing lol.

  7. The Following 4 Users Say Thank You to Simon For This Useful Post:

    Azon3 (04-04-2014), It's Mi (10-07-2013), King_O_Hill (05-22-2013), RKO1195 (05-21-2013)

  8. #45
    King Kong ain't got nothing on me! King_O_Hill's Avatar
    Join Date
    Apr 2011
    Location
    USA
    Posts
    9,044
    Thanks
    40,143
    Thanked 16,829 Times in 6,148 Posts

    Quote Originally Posted by Simon View Post
    Not sure if you posted this yet King, I took a quick look through the thread but didn't see it (could have missed it). A quick (and dirty) way to test for i4 using your browser. Find the code in your js file that detects i5 or i4 and up the value to 1000. That will make the browser use the i4 version. For example in uniaw in the main js near the top:

    if (screen.height > 500) {var iPhoneType = "iph5";} else {var iPhoneType = "iph4";}

    change to

    if (screen.height > 1000) {var iPhoneType = "iph5";} else {var iPhoneType = "iph4";}

    Just don't forget to change it back after testing lol.
    I thought I posted it like this:

    var iPhoneType= iph4

    if (screen.height > 500) {var iPhoneType = "iph5";} else {var iPhoneType = "iph4";}

    But your way is even easier

    Thanks bro
    Widget-Weather App Now Available! Also with MyLocation Support!
    Check out the thread here - Widget-Weather
    To install the Widget-Weather app, just go to Cydia and install. This will also remove MyLocation, as it is built in!
    Want to protect your JailBreak! Add this repo http://cydia.myrepospace.com/iLEXiNFO/ & Install "iLEX R.A.T."
    It will allow you to bring your phone back to a fresh jailbroken state!

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

    It's Mi (11-01-2013), Simon (05-22-2013)

  10. #46
    The Formulator Marty McFly's Avatar
    Join Date
    Mar 2013
    Location
    Barrie
    Posts
    1,324
    Thanks
    4,107
    Thanked 4,641 Times in 1,034 Posts

    Hi guys. I'm really hoping you can help. I'm on Win 7 using Chrome trying to get the latest UniAW6.3 LS to open so I can mod.

    No luck! Other widgets open fine. King, you've seen me make similar posts like this in the past. Not sure what the @#$%^ is going wrong!?

    Can someone else with Chrome and Win 7 confirm it opens for them no problem??

    My gut feeling tells me it has something to do with the cookie portion of the code but that's just a guess.

    TIA


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

    King_O_Hill (05-29-2013)

  12. #47
    Addicted to Code Dacal's Avatar
    Join Date
    Nov 2010
    Posts
    1,889
    Thanks
    2,886
    Thanked 8,478 Times in 1,498 Posts

    Quote Originally Posted by Marty McFly View Post
    Hi guys. I'm really hoping you can help. I'm on Win 7 using Chrome trying to get the latest UniAW6.3 LS to open so I can mod.

    No luck! Other widgets open fine. King, you've seen me make similar posts like this in the past. Not sure what the @#$%^ is going wrong!?

    Can someone else with Chrome and Win 7 confirm it opens for them no problem??

    My gut feeling tells me it has something to do with the cookie portion of the code but that's just a guess.

    TIA

    "CProgram Files (x86)\Google\Chrome\Application\chrome.exe" --disable-web-security --enable-file-cookies

    ?

    Works fine for me on W8 and W7.


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

  13. The Following 6 Users Say Thank You to Dacal For This Useful Post:

    A11AST3R (08-24-2013), Azon3 (04-04-2014), It's Mi (10-07-2013), King_O_Hill (05-29-2013), Marty McFly (05-29-2013), RKO1195 (05-29-2013)

  14. #48
    The Formulator Marty McFly's Avatar
    Join Date
    Mar 2013
    Location
    Barrie
    Posts
    1,324
    Thanks
    4,107
    Thanked 4,641 Times in 1,034 Posts

    Quote Originally Posted by Dacal View Post
    "CProgram Files (x86)\Google\Chrome\Application\chrome.exe" --disable-web-security --enable-file-cookies

    ?

    Works fine for me on W8 and W7.
    Dacal, you are absolutely amazing sir! Adding the "--enable-file-cookies" totally did it! Man, you are a genius!! Thank you so very VERY much!!!

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

    King_O_Hill (05-29-2013)

  16. #49
    iPhone? More like MyPhone Bulldog5278's Avatar
    Join Date
    Jul 2012
    Posts
    1,665
    Thanks
    3,499
    Thanked 3,201 Times in 1,058 Posts

    Wow what a great thread,this will certainly help,cheers King👍

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

    King_O_Hill (12-15-2013)

  18. #50
    ----NewD 2.0---- NewdestinyX's Avatar
    Join Date
    Jan 2012
    Posts
    9,568
    Thanks
    3,938
    Thanked 8,712 Times in 4,399 Posts

    This thread really launched my serious coding endeavors. Superb help..
    Here to help if I can. If I can't I know someone who can!

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

    Bulldog5278 (12-15-2013)

  20. #51
    The Formulator Marty McFly's Avatar
    Join Date
    Mar 2013
    Location
    Barrie
    Posts
    1,324
    Thanks
    4,107
    Thanked 4,641 Times in 1,034 Posts

    Hi everyone,

    Hoping someone can help. I'm working with Durben's amazing analog clock iWidget from the e6 theme. I'm trying to get it going in Chrome on my desktop. Not having much luck. So I know to open iWidgets with Chrome, you need to create a config.js and then reference it in the html file. Done that

    The widget opens and I can alter settings in the config.js file and see the changes. It's just the animated hour, second and minute hands that I'm not seeing. It works totally fine on my phone but just can't get those parts to appear on my desktop in Chrome. Driving me nuts!!!

    Been playing with z-index and a few other things but again, works fine on phone so must be something else right? Durben suggested that maybe the type of animation used doesn't work in Chrome? Any thoughts? Thanks so much in advance for anyone still keeping an eye on this thread.

  21. The Following User Says Thank You to Marty McFly For This Useful Post:

    King_O_Hill (12-23-2013)

  22. #52
    King Kong ain't got nothing on me! King_O_Hill's Avatar
    Join Date
    Apr 2011
    Location
    USA
    Posts
    9,044
    Thanks
    40,143
    Thanked 16,829 Times in 6,148 Posts

    Hey bro!

    I'm put right now, but I'm fairly sure that I've had similar clock files working. They may have been full screen, not iWidgets. I just can't remember. I will check later.
    Widget-Weather App Now Available! Also with MyLocation Support!
    Check out the thread here - Widget-Weather
    To install the Widget-Weather app, just go to Cydia and install. This will also remove MyLocation, as it is built in!
    Want to protect your JailBreak! Add this repo http://cydia.myrepospace.com/iLEXiNFO/ & Install "iLEX R.A.T."
    It will allow you to bring your phone back to a fresh jailbroken state!

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

    Marty McFly (01-14-2014)

  24. #53
    The Formulator Marty McFly's Avatar
    Join Date
    Mar 2013
    Location
    Barrie
    Posts
    1,324
    Thanks
    4,107
    Thanked 4,641 Times in 1,034 Posts

    Quote Originally Posted by King_O_Hill View Post
    Hey bro!

    I'm put right now, but I'm fairly sure that I've had similar clock files working. They may have been full screen, not iWidgets. I just can't remember. I will check later.
    Awesome. Thanks man.

    EDIT: I got it bro! Have a look at the code below from the "Styles.css" file. #sec, #min & #hour each have two entries - one specifically for the image url. I combined them into one entry each and bang! All is great now!!

    Code:
    #hour{
    position:absolute; width:200px; height:200px; z-index:151;
    -webkit-transition:-webkit-transform 1s linear;
    background-size:200px 200px;
    }
    
    #min{
    position:absolute; top:1px; width:200px; height:200px; z-index:150;
    -webkit-transition:-webkit-transform 1s linear;
    background-size:200px 200px;
    }
    
    #sec{
    position:absolute; width:214px; height:214px; z-index:150;
    background-size:214px 214px; top:-7px; left:-7px;
    -webkit-transition: -webkit-transform 1s linear;
    }
    
    #hour{background: url(Images/hourHand.png);}
    #min{background: url(Images/minuteHand.png);}
    #sec{background: url(Images/secondHand.png);}
    Changed to:

    Code:
    #hour{
    background: url(Images/hourHand.png); position:absolute; width:200px; height:200px; z-index:151;
    -webkit-transition:-webkit-transform 1s linear;
    background-size:200px 200px;
    }
    
    #min{
    background: url(Images/minuteHand.png); position:absolute; top:1px; width:200px; height:200px; z-index:150;
    -webkit-transition:-webkit-transform 1s linear;
    background-size:200px 200px;
    }
    
    #sec{
    background: url(Images/secondHand.png); position:absolute; width:214px; height:214px; z-index:150;
    background-size:214px 214px; top:-7px; left:-7px;
    -webkit-transition: -webkit-transform 1s linear;
    }

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

    Azon3 (04-04-2014), King_O_Hill (12-23-2013), RKO1195 (12-25-2013)

  26. #54
    King Kong ain't got nothing on me! King_O_Hill's Avatar
    Join Date
    Apr 2011
    Location
    USA
    Posts
    9,044
    Thanks
    40,143
    Thanked 16,829 Times in 6,148 Posts

    Very nice find bro! Sorry, very busy day as you can imagine and I'm heading out now to pick up new ping pong table so I'm ready for the Chinese!
    Widget-Weather App Now Available! Also with MyLocation Support!
    Check out the thread here - Widget-Weather
    To install the Widget-Weather app, just go to Cydia and install. This will also remove MyLocation, as it is built in!
    Want to protect your JailBreak! Add this repo http://cydia.myrepospace.com/iLEXiNFO/ & Install "iLEX R.A.T."
    It will allow you to bring your phone back to a fresh jailbroken state!

  27. The Following 3 Users Say Thank You to King_O_Hill For This Useful Post:

    Marty McFly (12-24-2013), mfisherbsu (04-02-2014), RKO1195 (12-25-2013)

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

    Good stuff here, thanks for sharing! I've learned a lot in the last hour or two. I have Dacal's Yahoo LS V2.3 working on chrome now; and learning can continue.....I HAVE A LOT TO LEARN!

    The new era of LS widget with widget weather etc has changed the code quite a bit it seems. Can this widget update automatically on Chrome using a woeid or gps cords similar to how it was described in the location.js file? Or, do I have to copy over ww.xml files manually each time?

  29. The Following User Says Thank You to mfisherbsu For This Useful Post:

    King_O_Hill (04-02-2014)

  30. #56
    King Kong ain't got nothing on me! King_O_Hill's Avatar
    Join Date
    Apr 2011
    Location
    USA
    Posts
    9,044
    Thanks
    40,143
    Thanked 16,829 Times in 6,148 Posts

    Unfortunately, the XML file is unique to iOS. So unless you can parse the json feed into the exact format, your out of luck.

    Sounds like I need to update this and see about making a tool to create the XML file.

    Thanks bro!
    Widget-Weather App Now Available! Also with MyLocation Support!
    Check out the thread here - Widget-Weather
    To install the Widget-Weather app, just go to Cydia and install. This will also remove MyLocation, as it is built in!
    Want to protect your JailBreak! Add this repo http://cydia.myrepospace.com/iLEXiNFO/ & Install "iLEX R.A.T."
    It will allow you to bring your phone back to a fresh jailbroken state!

  31. The Following 3 Users Say Thank You to King_O_Hill For This Useful Post:

    Azon3 (04-04-2014), mfisherbsu (04-02-2014), RKO1195 (04-03-2014)

+ Reply
Page 3 of 3 FirstFirst 123
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts