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'
});
精彩评论