Tutorial :sIFR 3.0 and sWmode



Question:

Previous versions of sIFR allowed users to enter "sWmode: 'transparent'" to avoid the common problem of Flash objects being overlayed on regular HTML objects on screen, no matter the z-index of either elements.

How do I replicate this behavior in sIFR 3.0?


Solution:1

Indeed, you can use

wmode: 'transparent'  

or

wmode: 'opaque'  

But also

transparent: true  

or

opaque: true  

Whatever floats your boat :)

Do note that browsers usually have issues with transparent Flash movies, so usually specifying a background color is the better option.


Solution:2

I think you just need to add:

wmode: 'transparent'  

in the object you send into sIFR.replace()


Solution:3

The expressions will not be interpreted all the same way. E.g. in Chrome 10 wmode: 'transparent' will cause a black background behind the replaced text, while wmode: 'opaque' works like it should. Strange!


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »