Re: DIV does not relocate at window resize in IE7
at first I'd like to thank all involved people for the great job they're doing with developing PIE! In my opinion this is a GREAT tool - if not *the* tool for making developing for ie less painful!
Now the bad news:
I had to face this bug too when inserting a div using an animation. The Elements with pie-background move away after properly inserting and showing the div - unfortunately not the background.
Finally I read Bug #67 'updatePos function in RootRenderer calculates position incorrectly' and I tried calling updatePos with a delay > animation-timespan+x and it works.
I'm not that into IE-Internals (tried to avoid this whereever possible
), but for me it seems that MS in its full glory forgot to fire the event that triggers 'updatePos' after any DOM-Manipulation took place and so the updatePos recalculates the background-position exactly to the place where the element has been before.
I'm into the PIE sourcecode for just a few minutes now, so the first (definitely dirty) workaround I came across was to call update-Pos again with some delay after updatePos really took place. Of course this is not a real solution to the problem and maybe a more advanced PIE-Developer could look into this?
I'd appreciate any help and would be glad to help where-/whenever possible! This bug is crucial for some of our projects, so time is crucial (as always..).