I have a div that is positioned absolutely and it has some content inside including a scrolling div which contains unordered lists which contain links.
What I want to do is be able to drag this div and drop it [so only the container div is draggable.
I tried this script:
But when I try and scroll the inner div it attempts to drag when really all I want to do is scroll. So it seems that all of the child divs and elements have the drag too. I thought the z-index would hide the container div from the other divs.