Yeah, the clean-up has to happen onmousedown, rather than onEnd as I
said previosuly. I did some more testing and found I still needed to
catch the onEnd event to clean-up after unusual cases such as when the
element is dragged off screen in IE...
In the end I added a boolean flag to test if
I meant to add that the method detailed above starts and ends with the
elements in % layout (even if element is clicked but not dragged), so
resizing the window is handled as expected by the CSS declarations.
There's no need for a window resize event listener.
HTH,
Conchur.
On Mar 28, 11:17
I've just come up against the same issue, making percentage-based
positioned elements draggable without flickering.
The scriptaculous startDrag function doesn't notify the draggable
element of the onStart method until after the left/right co-ordinates
have been initialised, so there's no