[Proto-Scripty] Re: scriptaculous dragdrop left percentage

2009-03-29 Thread Conchur
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

[Proto-Scripty] Re: scriptaculous dragdrop left percentage

2009-03-29 Thread Conchur
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 

[Proto-Scripty] Re: scriptaculous dragdrop left percentage

2009-03-27 Thread Conchur
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