大家好,又见面了,我是你们的朋友全栈君。
Set obJS = Server.CreateObject(“MSWC.BrowserType”)
If obJS.javascript = TRUE Then
‘Look for a version of Internet Explorer that supports ActiveX (i.e., one that’s
‘running on a platform 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:
%>
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’;}
// –>
obJS.Close
Set obJS = Nothing
End If
%>
See the Flashed Site
requires: Flash Player
See the unFlashed Site
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/125961.html原文链接:https://javaforall.cn