Rather then using jQuery to update the position, tut the absolutely positioned element in a relatively positioned container, that will grow/shrink as the page grows (such as the wrapper). If you are using a z-index on the absolutely positioned element then IE will ignore it because it is in a relatively positioned container, which is a really annoying bug.

ricardoe wrote:
Hi everyone,

I'm developing a little code that position absolutely an element in a
page, but now I'm adding some events to the rest of the elements, some
slides, nothing very fancy. But, now my element is misplaced because
the rest of the page reacts to the change caused by my effect (this
is, when an elements "slides" up, the next elements will be
repositioned where my element was displayed).

Is there a good elegant way to detect when the page has changed its
dimensions? (not the window, the document).
I know I can make a setInterval and check and check again, but I don't
know... I'll leave that option as my last resource.

Regards :)

Reply via email to