
December 27th, 2002
03:14 PM
Neverside Newbie
Status: Offline!
Need Auto ReFresh!
I have a page with a Cheap Hosting Company. Sometimes when the page loads some pictures don't show up unless you hit refresh. Instead of messing around try'n to get it fixed, I figured I would just add a "Auto Refresh" script. Has anyone got one? Like after the page loads it waits a few seconds and then refreshes itself. I don't want something that links back to itself, I want a real refresh comand.
Thanks.

December 28th, 2002
05:11 AM
Yes, meta tags would be decent to use.
Reload current page in 5 seconds: (can be set to any interval)
<META HTTP-EQUIV = "Refresh" CONTENT = "5">
Redirect to certain page in 5 seconds:
<META HTTP-EQUIV = "Refresh" CONTENT = "5; URL=http://www.yahoo.com">
Or, you could use JavaScript:
<script language = "javascript" type = "text/javascript">
var url = "http://www.yahoo.com";
var int = 5;
window.setTimeout("location.href=url;", eval(int*1000));
</script>
___________________
