Page 2 of 2 FirstFirst 12
Results 21 to 27 of 27

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


Thread: rWallpaper automatic wallpaper changer

  1. #21
    Code:
    //CHANGE THIS!
    var CHANGESPERHOUR = 2; //Make sure it divides evenly into 60! (aka max of 6)
    
    //DON'T CHANGE BELOW!
    var date = new Date();
    var h = date.getHours();
    var m = date.getMinutes();
    
    document.write(’body{background: white url(' + (h*CHANGESPERHOUR + m%(60/CHANGESPERHOUR)+1) + '.jpg); color: black}”>’);
    I just whipped this up now and haven't tested it but it SHOULD work. Just replace that into the <script> portion of the HTML file. Name your wallpapers IN SEQUENCE starting from 1.jpg all the way to [changes per hour * 24).jpg. (e.g. for 2 changes/hour, name up to 48, 3 name up to 72, etc). Make sure you make CHANGESPERHOUR something that divides nicely into 60, or else it'll break.

  2. #22
    dude, thank you so much. ive posted in about 12 diff forums and no one has gotten back. im gonna try this out tomorrow, i may need more help lol, but ill try to fig it out tomorrow. thanks!!!

    dude, can you repost that code? something is messed up and its all funky when i try to cut and paste it. thanks!
    Last edited by ean101; 10-21-2008 at 05:01 PM. Reason: Automerged Doublepost

  3. #23
    Code:
    //CHANGE THIS!
    var CHANGESPERHOUR = 2; //Make sure it divides evenly into 60! (aka max of 6)
    
    //DON'T CHANGE BELOW!
    var date = new Date();
    var h = date.getHours();
    var m = date.getMinutes();
    
    document.write(’body{background: white url(' + (h*CHANGESPERHOUR + m%(60/CHANGESPERHOUR)+1) + '.jpg); color: black}”>’);
    Here it is again? Don't know if that'll help :P

    /edit: Yeah...turns out that the above code I quickly whipped up DOESN'T work. But, I did release a working version in the Theme releases section (the RIGHT section ).
    Last edited by moogoat; 10-24-2008 at 10:18 PM.

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

    ean101 (10-22-2008)

  5. #24
    What's Jailbreak?
    Join Date
    Aug 2009
    Location
    Melbourne, Australia
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    i cannot find this app anywhere. its not on the i.danstaface source anymore.
    does anyone have the .deb for this?

  6. #25
    this really old thread search for bosspaper in cydia

  7. #26
    Quote Originally Posted by g.xander85 View Post
    i cannot find this app anywhere. its not on the i.danstaface source anymore.
    does anyone have the .deb for this?
    Wallpaper Rotation ToD on Cydia

  8. #27
    What's Jailbreak?
    Join Date
    Aug 2009
    Location
    Melbourne, Australia
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Quote Originally Posted by s1l3nt View Post
    this really old thread search for bosspaper in cydia
    last time i had bosspaper i couldnt select a folder from my photo lib to rotate from. i will check again.

    what i want.

    i have a folder in my library with HD walls from interface lift.
    i want to rotate this on a xx min/hr interval

Page 2 of 2 FirstFirst 12
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •