gpt4 book ai didi

html - 在 flash 顶部带有菜单下拉菜单的 iframe 使 flash 不可点击

转载 作者:行者123 更新时间:2023-11-28 03:47:04 25 4
gpt4 key购买 nike

我创建了一个网站,其中 iframe 调用顶部导航元素,带有 javascript 下拉菜单。我让它在菜单落在中心 flash 元素上的地方工作,但即使菜单没有“落下”- flash 上该区域中的任何元素都不会响应点击。

我已经更改了 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">

最佳答案

听起来您需要将 Flash 对象的窗口模式设置为不透明。我需要查看您的代码才能确切地告诉您如何执行此操作,但基本上是在下面进行设置:

wmode="opaque"

关于html - 在 flash 顶部带有菜单下拉菜单的 iframe 使 flash 不可点击,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4369875/

25 4 0