On 5/1/07, Rick den Haan <rick.denhaan at gmail.com> wrote: > I need to be able to sort the DIVs through Drag & Drop. When I start > dragging a particular DIV, it should create a clone that moves with the > cursor, and both the original and the clone should become semi-transparent. > When I move it near a droppable location (vertically in between two other > DIVs, or at the top or bottom of any TD), an indicator should be positioned > there (can be an opaque square for the time being) of the exact size of the > DIV that is being dragged. Dropping the DIV should snap it into its new > position, or back to its old position. This is a common problem and a lot of libraries do exactly what you need. See: http://developer.yahoo.com/yui/examples/dragdrop/list.html?mode=dist -- Matt Warden Cleveland, OH, USA http://mattwarden.com This email proudly and graciously contributes to entropy.