Page 845 of 875 FirstFirst ... 345 745 795 835843844845846847 855 ... LastLast
Results 16,881 to 16,900 of 17493

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


Thread: UniAW6.0 for iph4 & iph5

  1. #16881
    Quote Originally Posted by Ian Nicoll View Post
    Working on the touch event, have to keep area clear for the icons, can't think of a better way, opinions/idea's welcome.

    https://www.youtube.com/watch?v=icbB...ature=youtu.be
    Ian maybe when touched to display hourly settings, the hourly settings are single row scrollable from left to right?


    Sent from my iPhone using ModMyi

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

    Ian Nicoll (08-01-2014), jm26200 (08-01-2014)

  3. #16882
    Quote Originally Posted by Ian Nicoll View Post
    Working on the touch event, have to keep area clear for the icons, can't think of a better way, opinions/idea's welcome.

    https://www.youtube.com/watch?v=icbB...ature=youtu.be
    hello Ian congratulations great work all team the best
    thank you for your perseverance !

  4. The Following User Says Thank You to jm26200 For This Useful Post:

    Ian Nicoll (08-01-2014)

  5. #16883
    Looking good Ian.


    Quote Originally Posted by Ian Nicoll View Post
    Working on the touch event, have to keep area clear for the icons, can't think of a better way, opinions/idea's welcome.

    https://www.youtube.com/watch?v=icbB...ature=youtu.be

  6. The Following User Says Thank You to bliken For This Useful Post:

    Ian Nicoll (08-01-2014)

  7. #16884
    Quote Originally Posted by Ian Nicoll View Post
    Working on the touch event, have to keep area clear for the icons, can't think of a better way, opinions/idea's welcome.

    https://www.youtube.com/watch?v=icbB...ature=youtu.be
    shifting that thing up is a great idea

    also, Ian:

    Code:
    <script type='text/cycript'> 
    
    
    
    
    function unlocking(){
    setTimeout(function(){unlockphone()}, 100);
    
    }
    
    
    function unlockphone(){
    
    [^ void () { [[SBLockScreenManager sharedInstance] _finishUIUnlockFromSource:1 withOptions:1] } performSelectorOnMainThread:@selector(invoke) withObject:nil waitUntilDone:NO]
    
    }
    
    function controldim(){
      [[SBBacklightController sharedInstance] preventIdleSleepForNumberOfSeconds:20]
    }
    
    function stopdim(){
      [[SBBacklightController sharedInstance] cancelLockScreenIdleTimer]
    }
    
    
    function dim(){
            [[SBBacklightController sharedInstance] resetLockScreenIdleTimer]
    }
    
    </script>
    This makes the lock screen dim after 20 seconds, but touch events restart the timer. Is what i use in MJSmash for Cydget
    Last edited by MamaJaay; 08-01-2014 at 12:31 PM.

  8. The Following 4 Users Say Thank You to MamaJaay For This Useful Post:

    chevymusclecar (08-01-2014), Ian Nicoll (08-01-2014), King_O_Hill (08-01-2014), NewdestinyX (08-01-2014)

  9. #16885
    Modder & Coder Ian Nicoll's Avatar
    Join Date
    Oct 2008
    Location
    From Scotland, live in the Philippines.
    Posts
    5,404
    Thanks
    8,469
    Thanked 21,619 Times in 4,333 Posts

    Cheers guys,

    Chevy, I thought of scrolling it, had it like that before but decided to try a new way.

    MJ, thanks for the lump of code, I pasted it in already (in the .html right?) will test tomorrow as 2am here. Hope it works with my touch code, it's a bit of a mix up from Oldster, Dacal & me, I put it back in the UniAW.js file & deleted the touch.js, also removed the ChangeClick option as not needed with this:

    This is the touch code (without the css classes).

    In init function:

    Code:
    if ((EnableTouchToDisplayHourlyForecast == true) && (AnimationsOnly == false)) {
            document.getElementById('touch').onclick = touch;
        }


    Then after the end on the init function:

    Code:
    var touchend = false;
    function touch(event) {
        var element = event.currentTarget;
    
        if(touchend){
            touchend=false;
            document.getElementById("forecastContainer").style.opacity="1.0";
            document.getElementById("forecastContainer").style.webkitTransform="scale(1.0,1.0)";
    
            document.getElementById("hourlyForecastContainer").style.opacity="0.0";
            document.getElementById("hourlyForecastContainer").style.webkitTransform="scale(0.0,0.0)";
            
            document.getElementById('WeatherInfoContainer').className = "normal";
            document.getElementById('WeatherInfoBG').className = "normal";
            document.getElementById('clockContainer').className = "normal";
            document.getElementById('fullmoon').style.opacity="1.0";
    
        }else{
    
            touchend=true;
            document.getElementById("forecastContainer").style.opacity="0.0";
            document.getElementById("forecastContainer").style.webkitTransform="scale(0.0,0.0)";
    
            document.getElementById("hourlyForecastContainer").style.opacity="1.0";
            document.getElementById("hourlyForecastContainer").style.webkitTransform="scale(1.0,1.0)";
            
            document.getElementById('WeatherInfoContainer').className = "moveUp";
            document.getElementById('WeatherInfoBG').className = "moveUp";
            document.getElementById('clockContainer').className = "moveUp";
            document.getElementById('fullmoon').style.opacity="0.0";
        }	 
    }

    "If it's not broken, I'll fix it till it is"

  10. The Following 5 Users Say Thank You to Ian Nicoll For This Useful Post:

    bliken (08-01-2014), chevymusclecar (08-01-2014), jm26200 (08-01-2014), King_O_Hill (08-01-2014), NewdestinyX (08-01-2014)

  11. #16886
    Quote Originally Posted by GroovyCarrot View Post

    GroovyLock will be able to support this kind of configuration however PreferenceLoader's basic plist loading can not
    Hmm, thought so as I was unable to find any reference for this.
    Not to worry!
    Stay with webclip html, jquery-ui and database for code-less configuration.

  12. The Following User Says Thank You to WhatDoIknow For This Useful Post:

    King_O_Hill (08-01-2014)

  13. #16887
    Quote Originally Posted by Ian Nicoll View Post
    Cheers guys,

    Chevy, I thought of scrolling it, had it like that before but decided to try a new way.

    MJ, thanks for the lump of code, I pasted it in already (in the .html right?) will test tomorrow as 2am here. Hope it works with my touch code, it's a bit of a mix up from Oldster, Dacal & me, I put it back in the UniAW.js file & deleted the touch.js, also removed the ChangeClick option as not needed with this:

    This is the touch code (without the css classes).

    In init function:

    Code:
    if ((EnableTouchToDisplayHourlyForecast == true) && (AnimationsOnly == false)) {
            document.getElementById('touch').onclick = touch;
        }


    Then after the end on the init function:

    Code:
    var touchend = false;
    function touch(event) {
        var element = event.currentTarget;
    
        if(touchend){
            touchend=false;
            document.getElementById("forecastContainer").style.opacity="1.0";
            document.getElementById("forecastContainer").style.webkitTransform="scale(1.0,1.0)";
    
            document.getElementById("hourlyForecastContainer").style.opacity="0.0";
            document.getElementById("hourlyForecastContainer").style.webkitTransform="scale(0.0,0.0)";
            
            document.getElementById('WeatherInfoContainer').className = "normal";
            document.getElementById('WeatherInfoBG').className = "normal";
            document.getElementById('clockContainer').className = "normal";
            document.getElementById('fullmoon').style.opacity="1.0";
    
        }else{
    
            touchend=true;
            document.getElementById("forecastContainer").style.opacity="0.0";
            document.getElementById("forecastContainer").style.webkitTransform="scale(0.0,0.0)";
    
            document.getElementById("hourlyForecastContainer").style.opacity="1.0";
            document.getElementById("hourlyForecastContainer").style.webkitTransform="scale(1.0,1.0)";
            
            document.getElementById('WeatherInfoContainer').className = "moveUp";
            document.getElementById('WeatherInfoBG').className = "moveUp";
            document.getElementById('clockContainer').className = "moveUp";
            document.getElementById('fullmoon').style.opacity="0.0";
        } 
    }
    Yes. In the top of the HTML where you call the other JavaScript.


    Sent from my iPhone using ModMyi

  14. The Following User Says Thank You to MamaJaay For This Useful Post:

    King_O_Hill (08-01-2014)

  15. #16888
    Default UniAW6.0 for iph4 & iph5
    Also,

    PreferenceOrganizer7 can be found from the repo Cydia.angelxwind.net and is iOS 7 and arm 64 compatible. Organizes preferences in settings app by App Store/Cydia/Social see pic below.

    ImageUploadedByModMyi1406936737.425361.jpg


    Sent from my iPhone using ModMyi

  16. The Following 6 Users Say Thank You to MamaJaay For This Useful Post:

    Ian Nicoll (08-01-2014), King_O_Hill (08-01-2014), NeilJClements (08-03-2014), NewdestinyX (08-01-2014), rmax67 (08-01-2014), Simon (08-01-2014)

  17. #16889
    Hej june or anyone else who has the knowledge ,

    Good coding here !!!

    Try to fetch weather from the local

    sharedPreferences] localWeatherCity]

    Everything is working but not the forecast and today's high low temperatures which are stored in arrays


    How can I read out these Array variables?

    Thanks
    Thewaytozion

    Here what I am currently working on. Setting the weather Setting is fun now!!!!


    ImageUploadedByModMyi1406983506.492440.jpg

    ImageUploadedByModMyi1406983525.864027.jpg

    ImageUploadedByModMyi1406983538.317235.jpg

    ImageUploadedByModMyi1406983568.533466.jpg




    Gesendet von meinem iPhone mit ModMyi

  18. #16890
    @Ian,
    I think I've tripped across a small bug. If you have a long weather description, it drops part of it down a line and it appears before the start of the scrolling description.
    It's trying to display 'Scattered Thunderstorms' but it obviously doesn't like the long description.
    ImageUploadedByModMyi1406993332.452844.jpg


    Sent from my iPhone using ModMyi

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

    Ian Nicoll (08-02-2014)

  20. #16891
    Modder & Coder Ian Nicoll's Avatar
    Join Date
    Oct 2008
    Location
    From Scotland, live in the Philippines.
    Posts
    5,404
    Thanks
    8,469
    Thanked 21,619 Times in 4,333 Posts

    Quote Originally Posted by NeilJClements View Post
    @Ian,
    I think I've tripped across a small bug. If you have a long weather description, it drops part of it down a line and it appears before the start of the scrolling description.
    It's trying to display 'Scattered Thunderstorms' but it obviously doesn't like the long description.
    ImageUploadedByModMyi1406993332.452844.jpg
    Hi Neil,

    Make the width of the #goldScroll a little wider till it fits, but maybe after this the timing of the animations might need tweaking, depends on how much wider you make it, at present it's width is 620px, try 640px, then 650px if needed. I will check all in next version, thanks.

    On another note:

    OFF TOPIC:

    OUCH!! Looks like I won't be playing guitar for a week or so, nearly lost my finger tonight, I was standing on a chair putting up emergency lights in our bar, when I jumped off the chair my ring caught a screw in the wall, lucky it was a "made in Philippines" screw as it bent which released my ring but not before it cut my finger to the bone.

    Attached Thumbnails Attached Thumbnails -finger.png  
    Last edited by Ian Nicoll; 08-02-2014 at 10:58 AM.

    "If it's not broken, I'll fix it till it is"

  21. The Following 6 Users Say Thank You to Ian Nicoll For This Useful Post:

    BootsBrown (08-04-2014), King_O_Hill (08-02-2014), kristatos (08-02-2014), NeilJClements (08-02-2014), Simon (08-02-2014), VOLTAGExDT (08-04-2014)

  22. #16892
    Ouch Ian.......praying for a speedy recovery.



    OFF TOPIC:

    OUCH!! Looks like I won't be playing guitar for a week or so, nearly lost my finger tonight, I was standing on a chair putting up emergency lights in our bar, when I jumped off the chair my ring caught a screw in the wall, lucky it was a "made in Philippines" screw as it bent which released my ring but not before it cut my finger to the bone.

    [/QUOTE]

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

    Ian Nicoll (08-02-2014)

  24. #16893
    JESUS CHRIST!!! That looks awful!


    Sent from my iPhone using ModMyi

  25. The Following User Says Thank You to NeilJClements For This Useful Post:

    Ian Nicoll (08-02-2014)

  26. #16894
    Quote Originally Posted by Ian Nicoll View Post
    Hi Neil,

    Make the width of the #goldScroll a little wider till it fits, but maybe after this the timing of the animations might need tweaking, depends on how much wider you make it, at present it's width is 620px, try 640px, then 650px if needed. I will check all in next version, thanks.

    On another note:

    OFF TOPIC:

    OUCH!! Looks like I won't be playing guitar for a week or so, nearly lost my finger tonight, I was standing on a chair putting up emergency lights in our bar, when I jumped off the chair my ring caught a screw in the wall, lucky it was a "made in Philippines" screw as it bent which released my ring but not before it cut my finger to the bone.
    OH MY GOD, IAN!!!!! OOUUUUCH!!!!! Please tell me that you can get 'stitches' in the country you're in?!? You shouldn't just try and let that heal on its own... So sorry!!!
    Here to help if I can. If I can't I know someone who can!

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

    Ian Nicoll (08-02-2014)

  28. #16895
    Oh and I will have a play with the code lol


    Sent from my iPhone using ModMyi

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

    Ian Nicoll (08-02-2014)

  30. #16896
    Quote Originally Posted by NeilJClements View Post
    @Ian,
    I think I've tripped across a small bug. If you have a long weather description, it drops part of it down a line and it appears before the start of the scrolling description.
    It's trying to display 'Scattered Thunderstorms' but it obviously doesn't like the long description.
    Another small bug that needs fixing is the abbreviations after 1 and 2 for the date of the month. Currently, in English, it says 1th and 2th - instead of 1st and 2nd.
    Here to help if I can. If I can't I know someone who can!

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

    Ian Nicoll (08-02-2014)

  32. #16897
    Omg. Holy sh1t. That's awful. Hope you get that fixed Ian


    Sent from my iPhone using ModMyi

  33. The Following User Says Thank You to MamaJaay For This Useful Post:

    Ian Nicoll (08-02-2014)

  34. #16898
    Quote Originally Posted by NewdestinyX View Post
    Another small bug that needs fixing is the abbreviations after 1 and 2 for the date of the month. Currently, in English, it says 1th and 2th - instead of 1st and 2nd.
    Good job you put the correct use of the syntax to save Ian having to Google it 😉 lol


    Sent from my iPhone using ModMyi

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

    Ian Nicoll (08-02-2014), NewdestinyX (08-02-2014)

  36. #16899
    Your lucky it would be hard to hit some chords with 3 fingers and a thumb. :P to soon?


    Sent from my iPhone using ModMyi

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

    BootsBrown (08-04-2014), Ian Nicoll (08-02-2014)

  38. #16900
    My iPhone is a Part of Me Mary48336's Avatar
    Join Date
    Apr 2012
    Location
    Farmington, Michigan, United States
    Posts
    837
    Thanks
    8,230
    Thanked 1,133 Times in 543 Posts

    OFF TOPIC:

    OUCH!! Looks like I won't be playing guitar for a week or so, nearly lost my finger tonight, I was standing on a chair putting up emergency lights in our bar, when I jumped off the chair my ring caught a screw in the wall, lucky it was a "made in Philippines" screw as it bent which released my ring but not before it cut my finger to the bone.

    [/QUOTE]

    Yuck!! I hope it heals quickly for you, your lucky you didn't lose your finger. Saying prayers for a speedy recovery

  39. The Following User Says Thank You to Mary48336 For This Useful Post:

    Ian Nicoll (08-02-2014)

Page 845 of 875 FirstFirst ... 345 745 795 835843844845846847 855 ... 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
  •