RE: redirecting without JavaScript

by "Ann Ezzell" <amcbainezzell(at)alum.mit.edu>

 Date:  Wed, 5 Jan 2000 12:32:41 -0700
 To:  "'SDJThorin'" <sdjthorin(at)geocities.com>
 Cc:  <hwg-techniques(at)hwg.org>
 In-Reply-To:  geocities
  todo: View Thread, Original
I guess I didn't explain clearly enough. If the user has JavaScript
enabled and is using a version 4 or higher browser, I want them to go
to the main site. If they don't have a version 4 or higher browser, I
want them to go to a "sorry" page. That is happening now, but not if
they have disabled JavaScript.

I guess, if they have a version 4 or higher browser, but have
JavaScript turned off, I want them to see a "you need to enable
JavaScript" message -- on the index.html page or somewhere else -- it
really doesn't matter to me (I don't think). But I don't want this
message to display if they have JavaScript turned on.

Does this make more sense than my original question?


> -----Original Message-----
> From: SDJThorin [mailto:sdjthorin(at)geocities.com]
> Sent: January 05, 2000 10:57 AM
> To: amcbainezzell(at)alum.mit.edu
> Cc: hwg-techniques(at)hwg.org
> Subject: Re: redirecting without JavaScript
>
>
> Hi Again... :-)
>
> Try putting this tag on the page :
>  ----------------------------------------------------------------
>  < META
>    HTTP-EQUIV="Refresh"
>    CONTENT="##;URL=http://www.your.com/obrowser.htm" >
>  ----------------------------------------------------------------
>  ( Broken Down For Readability )
>
> 	Where ## = Number of seconds before redirect.
> 	  ( Just remember that you'll need more than 0, so that
> 	    the JS can execute before the redirect, say 1 or 2 )
>
> 	Then just make up the page(s) you want them to see &
> 	bingo your done.
>
> OR
>
> Alternatively, place a message/link into a NOSCRIPT tag :
>
>  ----------------------------------------------------------------
>  < NOSCRIPT >
>    ...
>    < A HREF="{URL}" >Goto Site Map< /A >
>    ...
>    < A HREF="{URL}" >Find Out Why You're Seeing This Text< /A >
>    ...
>  < /NOSCRIPT >
>  ----------------------------------------------------------------
>  ( Broken Down For Readability )
>
> Happy Coding,
>
> 	Stephen.
>
>
> Ann Ezzell wrote:
> >
> > I tried putting a message on the index page, but it displays
briefly
> > before the redirect, and I don't want that. What I really want is
to
> > be able to redirect without using JavaScript.

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA