Re: Two Questions about <noscript>

by "Steven Antonio" <santonio(at)delanet.com>

 Date:  Wed, 19 Apr 2000 01:32:29 -0400
 To:  "hwg-basics" <hwg-basics(at)hwg.org>
 References:  login
  todo: View Thread, Original
> I intend to put a "http-refresh" tag for non-javascript enabled
> browsers to redirect them to a different page automatically.
[snip]
>  any other solution how to do it?
>  If yes anything that i need to keep in mind while doing it?

Yes.  You could do it by using a <meta> refresh like the following:

<head>
  <meta http-equiv="refresh" content="5; url=http://wherever">
</head>

The numeric value of the "content" attribute determines how many seconds
until the refresh will take place.  So, in this example, after five seconds,
a refresh will be executed and redirect the user to the location specified
by the url.  Some older browsers do not support this function, so is good
practice to provide a link on your page to the new location. For instance
you could add something like:

You will be sent to "wherever" in 5 seconds. If not, click "here".

"wherever" and "here" would be links to http://wherever.

Also, <meta> refreshes can render the "Back" button on some browsers
ineffective because the user could get caught in an endless loop if they
don't hit the back button before the next refresh.  This doesn't seem to be
a problem though using IE5.

Steve Antonio
santonio(at)delanet.com

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA