我很困惑這個我有一個完整的Flash網站和一個HTML5網站(在Hype中製作) 我想要的是索引文件來檢測Flash是否安裝,如果是的話去flashsite,如果沒有,那麼它應該加載html網站。 這是我的索引文件。我在哪裏放置重定向代碼? 在此先感謝。檢測是否安裝了閃存並重定向到其他域名
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body>
<table style="width:766px;height:750px" align="center">
<tr>
<td>
<object classid="00000000000000000000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
width="766" height="750">
<param name="movie" value="flash/main_v7.swf">
<param name="quality" value="high">
<param name="menu" value="false">
<!--[if !IE]> <-->
<object data="flash/main_v7.swf"
width="766" height="750" type="application/xshockwave-flash">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="pluginurl" value="http://www.macromedia.com/go/getflashplayer">
<!--FAIL (the browser should render some flash content, not this).--!>
</object>
<!--> <![endif]-->
</object>
</td>
</tr>
</table>
</body>
</html>`