troubleshooting Question

Drag/drop absolute div

Avatar of Eternal_Student
Eternal_StudentFlag for United Kingdom of Great Britain and Northern Ireland asked on
Web Languages and StandardsJavaScript
4 Comments1 Solution4915 ViewsLast Modified:
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:

http://www.dynamicdrive.com/dynamicindex11/domdrag/

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.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 4 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros