Charl Du Toit
|
| Posted: 01/27/2003, 11:11 PM |
|
Hi All
How do you make a page Auto refresh every 30 seconds or so ?
|
|
|
 |
RonB
|
| Posted: 01/28/2003, 2:44 AM |
|
use javascript.
in the head section place this function:
<script language="JavaScript">
redirTime = "7000";
function reloadTimer() {
self.setTimeout("self.location.reload(true);",redirTime); }
</script>
in the body tag set <body onLoad="reloadTimer()">
redirTime is number of second until next reload.
Ron
"Charl Du Toit" <charl@dkalmin.co.za> schreef in bericht
news:b15aeq$b5k$1@news.codecharge.com...
> Hi All
>
> How do you make a page Auto refresh every 30 seconds or so ?
>
>
|
|
|
 |
Daniel Gaudreault
|
| Posted: 01/28/2003, 8:33 AM |
|
You can also add this to the header of the page.
<META HTTP-EQUIV=Refresh CONTENT="30">
"Charl Du Toit" <charl@dkalmin.co.za> wrote in message
news:b15aeq$b5k$1@news.codecharge.com...
> Hi All
>
> How do you make a page Auto refresh every 30 seconds or so ?
>
>
|
|
|
 |
RonB
|
| Posted: 01/28/2003, 8:43 AM |
|
Yes but this is a soft refresh, if the page is in the cash it will reload
that page. The function is supposed to do a server refresh but I believe
that isn't known to be realy reliable as well.
Ron
"Daniel Gaudreault" <danielg@cadlink.com> schreef in bericht
news:b16bc6$9mp$1@news.codecharge.com...
> You can also add this to the header of the page.
> <META HTTP-EQUIV=Refresh CONTENT="30">
>
> "Charl Du Toit" <charl@dkalmin.co.za> wrote in message
>news:b15aeq$b5k$1@news.codecharge.com...
> > Hi All
> >
> > How do you make a page Auto refresh every 30 seconds or so ?
> >
> >
>
>
|
|
|
 |