[thelist] meta refresh or document.location.href

Diane Soini dianesoini at earthlink.net
Thu Apr 22 21:02:48 CDT 2004


Disregarding any issues of whether or not javascript is enabled, 
(assume that it is) which is more reliable a method of redirecting a 
page:
<meta http-equiv="refresh"...
or
onload="document.location.href=...

Does it make a difference if the documents are on the file system 
rather than on a server?

Reason I ask is that I like using the meta tag, but people always say 
to include a link just in case. I don't know under what circumstances 
the meta tag doesn't work. I do not want to include a link because it 
would show a split second before redirection.

Diane

***
Don't be afraid to try something new. An amateur built the ark. 
Professionals built the Titanic. -unknown



More information about the thelist mailing list