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