Scriptaculous Drag: How do I offset the dragging element?
        Posted  
        
            by Angus Croll
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Angus Croll
        
        
        
        Published on 2010-03-25T17:01:26Z
        Indexed on 
            2010/03/25
            17:03 UTC
        
        
        Read the original article
        Hit count: 379
        
This is an age old problem - but now I'm using scriptaculous its come back to haunt me. When dragging a tree node over other tree nodes I want mouseover to fire for each node. So I want to position the dragging thing so that its top-left is slightly offset from the mousepointer
I could reposition constantly in the onDrag handler but this is jerky and slow
can anyone help? - thanks
© Stack Overflow or respective owner