Hello.
I'm Aleksandar Vacić, professional web developer and wine maker in the making.
Learn more about me or see what I can do for you.
It is a known fact that some browsers can’t draw layers (absolutely positioned) over Flash files or drop-down boxes. To see why that happens, refer to my first WCH post, which was my first tackle with this problem.
Now, after extensive testing in several Windows and Mac browsers, I have much better picture how all this works.
If you look at the example page, you’ll find two sets of tests. First, I wanted to see how browsers handle object (or embed) element which loads Flash file without wmode="transparent" parameter (read more about this in Macromedia tech note). I applied WCH script to second layer only.
In the lower set, I added wmode parameter, and applied WCH again.
It’s an obvious conslusion that WCH can be used only with IE 5.0+ to have any real effect. Since IE/Win rules the end-user market, this script comes very handy.
Conclusion: newer Mac browsers always cover drop-downs (all but Opera 6.03). Flash can be covered if wmode=transparent is used. WCH has no effect in any Mac browser.
WCH script has changed according to findings above. Since it’s usable only in IE/Win, I added the check for this, since its use cause problems in some browsers (Opera, Opera…).
Script uses insertAdjacentHTML, an IE native function, to insert the hiding iFrame. Since script does not deal with any other browser, I have removed almost 3kB of code needed to emulate that method in other browsers. If you need that code (as it is very handy), download it by right-clicking here.
I recommend you always use wmode="transparent" when loading Flash files, and use WCH on for IE/win.
Lots of ramblings on this blog...might be easier for you to find your juice through these tags:
Voices from the crowd, 24 so far
by Chad Smalley
6 years, 2 months after the post
by aleck
6 years, 2 months after the post
by Tim Connor
6 years, 2 months after the post
by aleck
6 years, 2 months after the post
by Tim Connor
6 years, 2 months after the post
by Tim Connor
6 years, 2 months after the post
by Tim Connor
6 years, 2 months after the post
by Tim Connor
6 years, 2 months after the post
by aleck
6 years, 2 months after the post
by Jerry
6 years, 2 months after the post
by Aleksandar
6 years, 2 months after the post
by Austin
6 years, 2 months after the post
by Oliver Stedall
6 years, 2 months after the post
by Aleksandar
6 years, 2 months after the post
by Nick
1 year after the post
by Aleksandar
1 year after the post
by Shweta
1 year after the post
by Bruce
1 year, 1 month after the post
by Yazeed
1 year, 11 months after the post
by Aleksandar
1 year, 11 months after the post
by Curtis
1 year, 11 months after the post
by Curtis
1 year, 11 months after the post
by Curtis
1 year, 11 months after the post
by Vishwesh
2 years after the post