Re: Redirection with Javascript

by Thomas James Allen <tjallen(at)pipeline.com>

 Date:  Tue, 10 Aug 1999 20:14:13 -0400
 To:  "Rajnish Bhaskar" <9705228b(at)student.gla.ac.uk>
 Cc:  hwg-basics(at)hwg.org
  todo: View Thread, Original
At 08:28 PM 8/10/99 +0100, you wrote:
>Hi all,
>	I've done up a site and have several mouseovers that conform to 
>HTML 4, ie with image arrays, which don't work in NN3.  I currently get 
>around this by using a browser sniffer to disable the mouseovers for that 
>browser.  My question is this: instead of disabling the mouseovers, can I 
>redirect NN3 browsers to another set of pages that work for that browser. 
-----------
Rajnish,
Yes, sniff for the browser NN3,
then if it IS NN3, use the script command:

location.replace("newurl.html")

This will load the NN3-friendly page ("newurl.html") immediately.

Hope this helps,
jimmy

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