Drag and drop script please

I know there are loads out there but I need one that when you drag one div id drags another. I seen a few that do that but they all set the top and left style to “0” and I kneed one that doesn’t do that.

If you don’t know what I mean then I need it to act like a window does on OS’, you drag the top of it and it moves.


A common use for that is to provide a custom dialog. Here is a good jQuery dialog for example.

That’s great thanks!