+ Reply
Results 1 to 10 of 10
  1. #1
    What's Jailbreak?
    Join Date
    Aug 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Server Lock Screen Example REVEALED!

    Well so far no one has been interested in it but i have! =)

    This is what ive found.

    Winterboard has this
    LockBackground.html

    This is what is displayed when enabled.
    So its a simple HTML Page

    LockBackground.html (http://sidonuke.com/lock/lockbackground.html)
    HTML Code:
    <html><head>
    </head><body style="
         padding: 0;
         margin: 0;
    ">
    
    <div style="
         height: 480px;
         width: 320px;
    "><iframe
         frameborder="0"
         width="320"
         height="480"
         src="http://cydia.saurik.com/lock/"
    ></iframe></div>
    
    </body></html>

    http://cydia.saurik.com/lock/
    HTML Code:
    <html><head>
        <meta name="viewport" content="width=320, minimum-scale=1.0, maximum-scale=1.0"/>
    
        <style>
            body {
                background-color: transparent;
                margin: 0;
                height: 480px;
                padding: 0;
                width: 320px;
            }
    
            body > div {
                height: 270px;
                position: absolute;
                top: 115px;
                width: 320px;
            }
    
            body > div {
                color: white;
                text-align: center;
            }
        </style>
    </head><body><div>
    This doesn't really do anything yet, but it /did/ get loaded off the server ;P. (Awesome, huh?)
    </div><script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
    var pageTracker = _gat._getTracker("UA-5388184-1");
    pageTracker._trackPageview();
    </script>
    
    <</body></html>
    Right now im investigating this and ill make a website for making your own messages without too much hassle. More to come in the future im still exploring this.

    Anyways if you want to edit the built in example goto
    /Library/Themes/Server Lock Example.theme/LockBackground.html

    Enjoy =)
    Last edited by Sidonuke; 09-17-2008 at 01:37 PM.

  2. #2
    Livin the iPhone Life CaptainChaos's Avatar
    Join Date
    Sep 2008
    Location
    In a van down by the river
    Posts
    4,831
    Thanks
    551
    Thanked 515 Times in 427 Posts

    And this does what? I have often wondered about it as I scroll past it in Winterboard.

  3. #3
    What's Jailbreak?
    Join Date
    Aug 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Ill have Iphone pix soon right now im inside a huge building with no interwebs for the phone.

  4. #4
    iPhone? More like MyPhone
    Join Date
    Aug 2008
    Posts
    161
    Thanks
    31
    Thanked 9 Times in 6 Posts

    Quote Originally Posted by CaptainChaos View Post
    And this does what? I have often wondered about it as I scroll past it in Winterboard.
    It displays data on the iPhone's lock screen. Similar to Intelliscreen.

  5. #5
    iPhone? More like MyPhone
    Join Date
    Jul 2008
    Location
    Yonkers, NY
    Posts
    123
    Thanks
    10
    Thanked 8 Times in 6 Posts

    i try to make my own but it just shows the actual html code on the lock screen...

  6. #6
    What's Jailbreak?
    Join Date
    Jun 2008
    Posts
    4
    Thanks
    0
    Thanked 2 Times in 1 Post
    I messed around with this a tad bit... Used a php random image script, linked the server lock example to it and bam - random wallpapers for the phone. pretty cool if you ask me...

  7. #7
    What's Jailbreak?
    Join Date
    Oct 2009
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Can you post your example?
    please.

  8. #8
    Livin the iPhone Life CaptainChaos's Avatar
    Join Date
    Sep 2008
    Location
    In a van down by the river
    Posts
    4,831
    Thanks
    551
    Thanked 515 Times in 427 Posts

    ^his post was from a year ago so you probably won't get a reply.

  9. The Following User Says Thank You to CaptainChaos For This Useful Post:

    Frantyk (11-09-2009)

  10. #9
    What's Jailbreak?
    Join Date
    Nov 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Since I only have iPod Touch and may not be in WiFi area, I used server lock example to change my lock screen (before, just showed battery). I stored a photo in unused flash memory directory (/mobile/myidrive/myphotos/) and wrote html page that looks at this directory for photo.

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML>
    <HEAD>
    <TITLE> Server Lockscreen </TITLE>
    <META NAME="Generator" CONTENT="">
    <META NAME="Author" CONTENT="">
    <META NAME="Keywords" CONTENT="">
    <META NAME="Description" CONTENT="">
    </HEAD>

    <BODY bgcolor=#6600CC>
    <IMG SRC="/mobile/myidrive/myphotos/myphoto.png" WIDTH="320" HEIGHT="480" BORDER="0" ALT="">
    </BODY>
    </HTML>

  11. #10
    iPhone? More like MyPhone matthew1111's Avatar
    Join Date
    Aug 2009
    Location
    Texas
    Posts
    240
    Thanks
    40
    Thanked 6 Times in 6 Posts

    And does this help us in any way?
    That Thanks button is there for a reason!


Posting Permissions

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