Re: javascript & hit-stats

by 2Nerotik <2nerotik(at)nisa.net>

 Date:  Mon, 31 Jan 2000 21:21:09 -0800
 To:  hwg-techniques(at)hwg.org
 In-Reply-To:  net
  todo: View Thread, Original
1) To my knowledge you can't direct one only, you will most likely need to 
direct both.

Use a JavaScript to redirect those who have JS enabled. I'd give you the 
code for this but I can't remember it and no longer have a copy but it's 
only one line besides the <SCRIPT> tags

For those who have JS disabled you will need to use the Meta-Refresh tag 
set to switch pages
a couple of seconds longer than it takes the JS to switch pages.

This should only take 1 or 2 seconds to redirect them to the new page using 
the above method.

At 07:16 AM 01/02/2000 +0500, erwin wrote:
>Hi everyone,
>         I'm relatively new to Web designing. I've got a few questions for 
> ya...
>
>1) How do I automatically redirect a visitor to another page if he DOES NOT
>have javascript? Basically, I'm creating two pages - one for javascript
>haves and one for have-nots. Since majority (70%) of my visitors DO have
>javascript, I don't want *them* to be redirected, but instead I want the
>30% have-nots to be redirected. How do I go about this?

.oOo.
|| You have the right to remain silent.
|| Anything you say will be misquoted, then used against you.
||
||  Addicted 2 Swing ---> http://www.nisa.net/~2nerotik/
||  Fontaholic ? ---> http://www.fontsanon.com
||  HTML Writers Guild ---> http://www.hwg.org

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