BrowserHawk IQ now available! Click here for the full scoop!
Search:
How to serve IE 6 content to Mozilla/Gecko browsers
Created: 8/9/2002    Updated: 8/9/2002
Q   I want to serve the same content to Mozilla/Gecko browsers as I currently serve to IE 6 users. How can I do this?

A   This can be easily accomplished by using the new Gecko property found in BrowserHawk 6, like this:
   set bh = Server.CreateObject("cyscape.browserObj")
   if (bh.Browser="IE" AND bh.Version >= 6) OR bh.Gecko = True then
      ... content for IE 6 and Gecko go here ...
   else
      ... content for all other browsers (or a redirect) goes here ...
   end if
Note that this requires BrowserHawk 6 or later and version 6.01 or later of the BDF.

    FAQ Home  |  Search FAQ  |  Show New Items  |  Ask a FAQ  |  Notify Me  |  Most Popular     
 
 
Copyright © 1994-2020 cyScape, Inc. All Rights Reserved. ()
ASP, ASP.NET, ColdFusion MX, CFMX, JSP, PHP