Can't make wmode: 'transparent' work on sIFR 3
I've been trying to use sIFR to change some text in my webpage. It works fine until I try to get it to use a transparent canvas. The code I'm using is as follow. I have no idea to fix it. I've seen a lot of people make this questions about wmode: 'transparent' and it all seems to work but mine. Can someone give me a hand???
Without the wmode: 'transparent' property it works fine. When I include the property it doesn't activate sIFR and we get the page as the normal HTML.
sIFR.replace(myri开发者_开发问答adPro, { selector: '#title1,#title3,#title5,#title7,#title9,#title11,#title13,#title15,#title17,#title19', css: [ '.sIFR-root {background-color:none;font-size:45px;visibility:visible;text-decoration:none;color:#4C4843;cursor:pointer;}' ], wmode: 'transparent' });
wmode: 'transparent', transparent: 'true'
is what I used and it worked. I placed in the sifr-config.js after the css: {...},
Might have something to do with that odd background-color:none
property in the CSS.
Add a comma after transparent.
精彩评论