开发者网络 动网主机 支持论坛 邮局 帮助
当前位置:网络学院ASP技术ASP技巧 → 检测浏览器是否支持有Flash2.0以上或有Flash插件
检测浏览器是否支持有Flash2.0以上或有Flash插件
日期:2000年11月15日 作者: 人气:     [ ]
<html>
<head>
<%
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:
%>
<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
%>
</head>
<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>
</html>

(出处:)

相关文章:
 
·在asp文件中访问flash详细信息
·Flash和Asp数据库的结合应用
·ASP实现播放Flash的例子
·通过ASP在Flash中妙用Cookie
·在FLASH中调用ASP
相关软件:
 
·小哥FLASH吧(温州网通) v1.1
·FlashPicViewer v2.6 简体中文版
·FlashPicViewer v2.6 繁体中文版
·zb86娱乐网Flash v2.0
·超级简单Flash动画在线
·助跑Flash生成系统
·Snow FlashStat v0.2
·Flash综合搜索引擎
·flash日记本和flash留言本 v1.2 Build 0621
·漯河之窗flash欣赏系统
说明:本站部分内容收集于网络,如有侵犯您的权益请来信告知,我们会第一时间进行处理,谢谢
 → 特别推荐
 → 热点TOP10

关于本站 | 诚聘英才 | 业务合作 | 联系我们 | 广告合作 | 收藏本站

海口动网先锋网络科技有限公司版权所有
Copyright ? 2000 - 2003 AspSky.Net
中华人民共和国电信与信息服务业务经营许可证编号 琼 ICP 020077