无法将HTML元素放在Flash的顶部 [英] Cannot put HTML element on top of flash

查看:147
本文介绍了无法将HTML元素放在Flash的顶部的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无论z-index的值是什么,我都不能在我的html div(或者img)元素上覆盖这个flash动画(见左上角):

http://www.resident.co .il / aspx / places.aspx?t = 4& a = 1



有什么想法?

解决方案

请参阅此问题一>。诀窍是添加参数 wmode

 < param name =wmodevalue =opaque/> 

如果完全需要,只需添加透明度 -intensive:

 < param name =wmodevalue =transparent/> 

看这个演示

No matter what values of z-index I try, I cannot overlay my html div (or img) element on top of this flash animation (see top left corner):

http://www.resident.co.il/aspx/places.aspx?t=4&a=1

Any ideas ?

解决方案

See this question. The trick is to add the param wmode:

<param name="wmode" value="opaque" />

Only add transparency if you absolutely need it, as it is more processor-intensive:

<param name="wmode" value="transparent" />

Also see this demonstration.

这篇关于无法将HTML元素放在Flash的顶部的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆