[thelist] Detection Between IE and NS 6./6.0

Paul Backhouse paul.backhouse at 2cs.com
Mon Nov 26 07:41:03 CST 2001


Hi peeps,

doing a site at the moment and i need to use ASP to detect for NS 6/6.0.

Currently using this code for IE and NS (4.x) detection - but i now need to
be more specific as NS 4.x and NS 6.x are behaving differently on a width.

userAgent = Request.ServerVariables( "HTTP_USER_AGENT" )
IF INSTR( userAgent, "MSIE" ) > 0 THEN
IEWidth = ""
Else
NSWidth = ""
End If

Does anyone know how i can find out if it Ns 6.x and show a different width?

Cheers

paul





More information about the thelist mailing list