我创建了一个网站,其中iframe调用顶部导航元素,并带有javascript下拉菜单。我把它放在中央闪存元素的菜单上,但即使菜单没有“掉线” - 闪存上该区域的任何元素都不会响应点击。
我已经更改了z索引,现在我似乎无法将flash文件放到iframe的上面 -
这是一个链接
http://schweigert-effect.com/testing/collections.html
继承人代码 -
<body>
<div id="wrapper"><center>
<div id="headerwrap">
<iframe src="topnav.html" name="topFrame" scrolling="No" noresize="noresize" id="topnav" title=" topFrame" frameborder="0" height="230px" width="900" allowtransparency="true"> <p>Your browser does not support iframes. please update</p>
</iframe>
</div>
<!--
end #header
-->
<div id="page">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="1100" height="650" id="Aico" title="Aico">
<param name="movie" value="flash/home.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="swfversion" value="6.0.65.0" />
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="flash/home.swf" width="1100" height="650">
<!--<![endif]-->
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="swfversion" value="6.0.65.0" />
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
<!-- end #page -->
</div>
以下是iframe html的代码
<body style="background-color:transparent">
<div id="topnav">
<!-- top image -->
<div id="header"> <a href="news.html"><img src="images/topheader.jpg" alt="Home" width="312" height="75" border=0/></a></div>
<!-- top menu -->
<div id="topmenu">
<ul class="menu" id="menu">
答案 0 :(得分:0)
听起来您需要将flash对象上的窗口模式设置为不透明。我需要看到你的代码告诉你如何做到这一点,但它基本上设置如下:
wmode="opaque"