Namespace BTM.Compatibility.MSIE.Six
Fixes for MSIE v6.x
Defined in: compatibility.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
| Method Attributes | Method Name and Description |
|---|---|
| <static> |
BTM.Compatibility.MSIE.Six.fixBackgroundCache()
Fix the 'background flicker' problem in MSIE6
|
| <static> |
BTM.Compatibility.MSIE.Six.fixFirstChild(element)
Convenience function to automatically add the class "first-child" to an element to mimic :first-child
|
| <static> |
BTM.Compatibility.MSIE.Six.fixHover(element)
Convenience function to automatically add/remove the class "hover" to an element to mimic :hover
|
| <static> |
BTM.Compatibility.MSIE.Six.fixPNG(element)
Fix the display of PNG images with Alpha transperancy
|
| <static> |
BTM.Compatibility.MSIE.Six.fixSELECT(element)
Fix SELECT elements appearing in front of elements with a higher zIndex
|
| <static> |
BTM.Compatibility.MSIE.Six.hideSELECT(element)
Hide a SELECT element when the parent element is has a style of "display: none" dynamically applied in MSIE 6.
|
| <static> |
BTM.Compatibility.MSIE.Six.showSELECT(element)
Show a SELECT element when the parent element is has a style of "display: none" dynamically removed under MSIE 6
Called automatically by BTM.Effect.show and BTM.DOM.setStyle
|
Method Detail
<static>
BTM.Compatibility.MSIE.Six.fixBackgroundCache()
Fix the 'background flicker' problem in MSIE6
Author: Dan Popa.
Author: Dan Popa.
<static>
{HTMLElement}
BTM.Compatibility.MSIE.Six.fixFirstChild(element)
Convenience function to automatically add the class "first-child" to an element to mimic :first-child
- Parameters:
- {HTMLElement|String} element Optional
- an element ID or reference to the element to mimic :first-child on
- Returns:
- {HTMLElement} returns the original element
<static>
{HTMLElement}
BTM.Compatibility.MSIE.Six.fixHover(element)
Convenience function to automatically add/remove the class "hover" to an element to mimic :hover
- Parameters:
- {HTMLElement|String} element Optional
- an element ID or reference to the element to mimic :hover on
- Returns:
- {HTMLElement} returns the original element
<static>
BTM.Compatibility.MSIE.Six.fixPNG(element)
Fix the display of PNG images with Alpha transperancy
- Parameters:
- {HTMLElement|String} element
- element ID or element reference to Image
- Requires:
- BTM.DOM
<static>
{HTMLElement}
BTM.Compatibility.MSIE.Six.fixSELECT(element)
Fix SELECT elements appearing in front of elements with a higher zIndex
- Parameters:
- {HTMLElement|String} element Optional
- an element ID or reference to the element which appears above the SELECT element
- Returns:
- {HTMLElement} returns the original element
<static>
BTM.Compatibility.MSIE.Six.hideSELECT(element)
Hide a SELECT element when the parent element is has a style of "display: none" dynamically applied in MSIE 6. Called automatically by BTM.Effect.hide and BTM.DOM.setStyle
- Parameters:
- {HTMLElement|String} element
- element ID or element reference to SELECT element
<static>
BTM.Compatibility.MSIE.Six.showSELECT(element)
Show a SELECT element when the parent element is has a style of "display: none" dynamically removed under MSIE 6
Called automatically by BTM.Effect.show and BTM.DOM.setStyle
- Parameters:
- {HTMLElement|String} element
- element ID or element reference to SELECT element