[jQuery] Order of hiding container-divs and their content matters on IE6,7
In IE, when having elements containing other elements, ie. a div
containing images, when attempting to hide a content-element of a
hidden container-div, this won't work, it won't even be possible
anymore after re-showing the div. This problem occurs:
- only on IE6,7 (didn't try IE8), the problem doesn't occur on FF3,
Op9, Saf3(Win), Chrome
- only when both the container div and the content are absolutely
positioned
(tested both with jQuery 1.2.3 and 1.2.6)
It is demonstrated here:
http://www.justarrangingbits.org/webtech/jquery/demos/hideorder.htm
I guess it is connected to 'hasLayout' on IE, but don't know how
exactly. Struggled nearly a complete day to narrow down to what seems
to be the problematic combination. Am I making a mistake? Is it a
bug?
Thanks for any information or help.