View Full Version : IE5+ only
zoobie
11-24-2002, 11:47 PM
Let's see...I'm using that really cool VML for IE5+ and need a little script to let them in and show all other browsers another page...heh heh. :p
I have some snippets...but don't know how to tell it to only allow IE5+ in an if/else statement.
Thanks :D
glenngv
11-25-2002, 01:07 AM
if (document.all && document.getElementById){
}
of course, the better and safest way is to parse the user agent. :D
Quiet Storm
11-25-2002, 02:49 AM
How about this?:
<!--[if gte IE 5]>
<META HTTP-EQUIV=Refresh CONTENT="0; URL=For-IE5-Only.html">
<![endif]-->
IE5+ redirects somewhere else...
All others stay where they are.
zoobie
11-25-2002, 06:48 PM
I'd rather have the others be redirected via the refresh and IE5+ stay put because search engines don't like it. Thanks :p
zoobie
11-26-2002, 01:19 AM
I'd also like it to see if they are runnnings Windows 95+ and if they are, let them in...If they're not running Windows 95+ and IE5+, they get redirected elsewhere. Thanks ;)
glenngv
11-26-2002, 01:32 AM
http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.