我想在我的网站上嵌入一个 Flash 应用程序。在该 Flash 应用程序之上应该有一个 div 层。
但实际情况是 Flash 影片总是出现在图层上。
你能帮我把 div 层放在那个 flash 应用程序上吗?
这是 Flash 应用程序的代码:
<object style="width:420px;height:266px">
<param name="movie" value="http://static.issuu.com/webembed/viewers/style1/v1/IssuuViewer.swf?mode=embed&layout=http%3A%2F%2Fskin.issuu.com%2Fv%2Flight%2Flayout.xml&showFlipBtn=true&documentId=100702013356-a81e1742e2dc46e296b57f933885cfb7&docName=victor_online_201007_e&username=Victor_online_English&loadingInfoText=Victor%20by%20Hasselblad%20(07%2F2010)&et=1284505268784&er=62" />
<param name="allowfullscreen" value="true"/><param name="menu" value="false" />
<embed src="http://static.issuu.com/webembed/viewers/style1/v1/IssuuViewer.swf" type="application/x-shockwave-flash" allowfullscreen="true" menu="false" style="width:420px;height:266px" flashvars="mode=embed&layout=http%3A%2F%2Fskin.issuu.com%2Fv%2Flight%2Flayout.xml&showFlipBtn=true&documentId=100702013356-a81e1742e2dc46e296b57f933885cfb7&docName=victor_online_201007_e&username=Victor_online_English&loadingInfoText=Victor%20by%20Hasselblad%20(07%2F2010)&et=1284505268784&er=62" />
</object>
最佳答案
两件事:
- 尝试将 Flash 影片的 wmode 设置为“透明”
- 将嵌入的 Flash 电影包装在
div
中,并为其指定比内容 div 更低的 z-index。
关于css - Div 图层应放置在 Flash 影片之上,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3713581/