Browser <%
Set Objs = Server.CreateObject ("MSWC. BrowserType ")
If Objs.javascript = TRUE Then
' Look for a version of Internet Explorer-supports ActiveX (i.e., one that ' s
' Running on a platform the other than MAC or Windows 3.1) or a browser that supports
' The plugin property of the Navigator object and that has Flash Player 2.0
' Installed:
%>
<script language= "JavaScript" >
<!--
if ((navigator.appname = "Microsoft Internet Explorer" &&
Navigator.appVersion.indexOf ("Mac") = = 1 &&
Navigator.appVersion.indexOf ("3.1") = = 1) | |
(Navigator.plugins && navigator.plugins["Shockwave Flash"])
|| navigator.plugins["Shockwave Flash 2.0"]) {
window.location= ' flashed.htm ';}
else {
window.location= ' nonflashed.htm ';}
-->
</script>
<%
Objs.close
Set Objs = Nothing
End If
%>
<body>
<a href= "flashed.htm" >see the flashed site</a><br>
Requires: <a href= "http://www.macromedia.com/shockwave/download/index.cgi?"
P1_prod_version=shockwaveflash ">flash player</a>
<br>
<a href= "nonflashed.htm" >see the unflashed site</a>
</body>