开发者

sIFR text overpowering Thickbox modal background

开发者 https://www.devze.com 2023-02-05 02:14 出处:网络
I\'m using both sIFR (v3) and a Thickbox on some pages of my website.The Thickbox is a modal that shows a p开发者_运维技巧icture of a product. The problem is that when it is opened, the page\'s sIFR\'

I'm using both sIFR (v3) and a Thickbox on some pages of my website. The Thickbox is a modal that shows a p开发者_运维技巧icture of a product. The problem is that when it is opened, the page's sIFR'ed heading does not get covered by the modal's background overlay. It must be a z-index issue, but I can't get it to sit behind the overlay.

Any ideas?


I believe you need to set the 'wmode' parameter of the sIFR embedded Flash to 'opaque'.

So just add this to your 'replace' call:

wmode: 'opaque'

e.g.

sIFR.replace(myFont, {
  selector: 'h1',
  wmode: 'opaque'
});
0

精彩评论

暂无评论...
验证码 换一张
取 消