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

Apr 5th, 2008 19:29
ha mo, 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
http://www.businessian.com
http://www.computerstan.com
http://www.financestan.com
http://www.healthstan.com
http://www.internetstan.com
http://www.moneyenews.com
http://www.technologystan.com
http://www.zobab.com
http://www.healthinhealth.com