In article <3FA6B4CA.26892CD@theworld.com>,
mg@theworld.com enlightened
us with...[color=blue]
> Is there a way of reloading a page programatically - for example,
>
> <script language="javascript>
> document.location.reload()
> </script>
>
> BUT NOT HAVING TO MANUALLY CLICK A "RESET" BUTTOM.
>
>
>[/color]
That would do just that.
It would do it ad nauseum, though. :)
You could do it as part of a setTimeout if you wanted it reloaded, say,
every 5 minutes.
Here's mine. I use it with a frameset and this is the top frame, so it
has "self" in it.
<script type="text/javascript" language="javascript">
// settimeout for session expiration - check every 5 minutes
function reloadMe()
{
self.document.location.reload();
}
setTimeout("reloadMe()",1000*60*5);
</script>
-------------------------------------------------
~kaeli~
Jesus saves, Allah protects, and Cthulhu
thinks you'd make a nice sandwich.
http://www.ipwebdesign.net/wildAtHeart http://www.ipwebdesign.net/kaelisSpace
-------------------------------------------------