user280659
user280659

Reputation:

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(myriadPro, { 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' });

Upvotes: 0

Views: 747

Answers (3)

hardy613
hardy613

Reputation: 11

wmode: 'transparent', transparent: 'true'

is what I used and it worked. I placed in the sifr-config.js after the css: {...},

Upvotes: 1

Add a comma after transparent.

Upvotes: 0

Mark Wubben
Mark Wubben

Reputation: 3349

Might have something to do with that odd background-color:none property in the CSS.

Upvotes: 0

Related Questions