Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Detect browser, but then direct to different external .js files (includes) based on browser/version


Message #1 by "Bradley Wilson" <bwilson@p...> on Wed, 23 Oct 2002 15:23:13
Help!!
I'm well aware of methods to detect browser, version, screen resolution, 
op. system, etc., and perform "page redirects" based on those 
determinations.

However, I don't want to point to a different web page; I want to point to 
a different external .js file.

I'm utilizing external JavaScript files to dynamically write HTML code (in 
other words, "includes"), and I have a situation where I would like to run 
different scripts based on the browser and version.  I've been unable to 
find the property and method to perform this task.

Can somebody help, please.  Thanks.

- Bradley Wilson

  Return to Index