主题:  网络发布常见问题(四)

魔岩

职务:版主
等级:6
金币:34.0
发贴:4453
#12002/6/8 15:29:02
判断客户浏览器是否安装Authorware Web Player

How to detect the installation of the Web Player?

Issue
I would like to detect the installation of the Authorware Web Player on the end users machine.

Reason

If the Authorware Web Player is not detected I would like to redirect the user to another HTML page.

Solution
The following javascript will detect the installation of the Authorware Web Player on the end users machine. If the Authorware Web Player is not detected, it redirects the browser to another HTML page, which provides a link to the Authorware Web Player download page. If the Authorware Web Player Active-X control is not detected, it is downloaded from Macromedia.com. The script can be copied and pasted between the body tags of your HTML document. Text in the following script that is grey indicates a variable field. Substitute your file information in these fields. We recommend that you have knowledge of javascript if you are going to use this script.

Note: Notes The script is provided "as is", for your information only, without warranty of any kind, either expressed or implied, including, but not limited to, implied warranties of merchantability, fitness for a particular purpose and non-infringement. Macromedia Technical Support provides no support for this script or alterations of this script. Script

CLASSID="CLSID:15B782AF-55D8-11D1-B477-006097098764"
CODEBASE="http://active.macromedia.com/authorware/cabs/awswax.cab#version=5,0,0,50"
WIDTH="640" HEIGHT="480" >









Possible alternate content


GET Shockwave for Authorware





Please get the Shockwave for Authorware Plug-In.



编辑历史:[这消息被Rock编辑过(编辑时间2002-06-08 15:56:03)]