Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Getting IE6 to recalculate absolute position after BlindDown Re: Getting IE6 to recalculate absolute position after BlindDown

#62686
nulle
Member

Sorry for ressing this post from the dead, but I had similar issue, not with BlindDown, but with simple self-made script that hides / shows divs, and in case someone else stumbles on this, hope it helps.
I solved this problem in IE6 by simply changing the absolutely positioned element’s positioning to relative and immediately changing it back to absolute. The change is not visible, but IE6 gets it.

Code:
// here you do whatever you do to expand / shrink stuff
// ..
x = document.getElementById(“absolutely_positioned”);
x.style.position=”relative”;
x.style.position=”absolute”;