Starr Duskk
asked on
How to create popup that you can drag on mobile devices?
I am trying to create a popup that is draggable on the screen. I have been able to get it to drag on all devices except mobile and tablet.
Here is a simplified version of my code on jsfiddle:
https://jsfiddle.net/rfctn2zk/47/
I tried adding ontouchstart but it didn't seem to work. How can I get the popup to drag for both desktop and handheld devices?
Here is a simplified version of my code on jsfiddle:
https://jsfiddle.net/rfctn2zk/47/
I tried adding ontouchstart but it didn't seem to work. How can I get the popup to drag for both desktop and handheld devices?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
you welcome
ASKER