|
Create an WCH object. This function does nothing if the browser is not IE5.5 or IE6.0. A WCH object is one of the most bizarre tricks to avoid a notorious IE bug: IE normally shows "windowed controls" on top of any HTML elements, regardless of any z-index that might be specified in CSS. This technique is described at: http://www.aplus.co.yu/WCH/
A "WCH object" is actually an HTMLIFrame element having a certain "CSS filter" (proprietary MSIE extension) that forces opacity zero. This object, displayed on top of a windowed control such as a select box, will completely hide the select box, allowing us to place other HTMLElement objects above.
WCH stands for "Windowed Controls Hider".
- Parameters:
-
| element | [HTMLElement, optional] -- Create the WCH IFRAME inside this. |
- Returns:
- [HTMLIFrame or null] a new WCH object if the browser is "supported", null otherwise.
Definition at line 399 of file utils.js. |