[thelist] looking for IE Identity string
Peter-Paul Koch
gassinaumasis at hotmail.com
Sat Jun 16 06:49:18 CDT 2001
>I am looking for the browser ID string for IE 6 for a javascript redirect.
var nav = navigator.userAgent;
var ind = nav.indexOf('MSIE');
if (ind > 0)
{
var ver = nav.charAt(ind+5);
if (ver > 5) location.replace('the_ie6_redirect.html');
}
// everything OK, proceed
ppk
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
More information about the thelist
mailing list