Faqts : Computers : Programming : Languages : JavaScript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

6 of 21 people (29%) answered Yes
Recently 4 of 10 people (40%) answered Yes

Entry

Does anyone have a script that refreshes a web page when it is opened and then every 2 minutes

Oct 6th, 2005 04:18
Stephen Stamp, Jean-Bernard Valentaten, Joanna Schock,


Have you ever heard of setInterval()???
That's what it is made for.
HTH
try this works well
<script language="JavaScript">
            NO_OF_SECONDS = 150;
            self.setTimeout('document.location=document.location', 
NO_OF_SECONDS * 1000);
</script>
Regards
SSWarlord