The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > Design and Media For the iPhone / iPod Touch > Skinning / Themes Discussion
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 12-20-2008, 03:41 AM
What's Jailbreak?
 
Join Date: Dec 2008
Posts: 21
Thanks: 1
Thanked 7 Times in 4 Posts
Lock Screen Refresh Script

Hi,

I have a JS file that runs on my lock screen to display some text (randomizer).

I wish a new bit if text to load on each load of the lock screen. Currently it shows the last one till i go to the springboard and re-lock the phone.

Is there a way to reload on each load without having to go to the lock screen?

Currently i am using this method:

HTML Code:
<script language="JavaScript">
<!--

var sURL = unescape(window.location.pathname);

function doLoad()
{
meta-tag
    setTimeout( "refresh()", 2*1000 );
}

function refresh()
{
    window.location.href = sURL;
}
//-->
</script>

<body onload="doLoad()">
I am unsure what this method will do to the battery life?

So was wondered what method everyone else uses?

Thanks,

CS
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > Design and Media For the iPhone / iPod Touch > Skinning / Themes Discussion

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Go to Top
ModMyI

All times are GMT -6. The time now is 09:48 PM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Privacy Statement / Top