zclip not working inside table

2019-02-11 21:33发布

I put my example code here http://jsfiddle.net/8epWm/2/

I want to enable zClip on an element inside a table and it's not working. Any ideas?

标签: jquery zclip
2条回答
我命由我不由天
2楼-- · 2019-02-11 22:30

Table elements have trouble with absolute positioning, and zClip uses absolute positioning to place the flash movie on top of the target element.

To work around this you can wrap a block level element (I used a <div>) around the target element, and give that position: relative.

Edit: See http://jsfiddle.net/dloewen/Ny9We/2/ for a working example.

查看更多
劫难
3楼-- · 2019-02-11 22:30

I might also add -- I found that if a z-index is set on the target element, it breaks the functionality of zClip (it's covering the flash element).

查看更多
登录 后发表回答