Sunamena Posted July 30, 2017 Share Posted July 30, 2017 I failed to find an example of something specific i am looking for. This is what i want: <img src="a.jpg" id="1"> <img src="a.jpg" id="2"> <img src="a.jpg" id="3"> <img src="b.jpg" id="dragable-1"> <img src="b.jpg" id="dragable-2"> When a draggable image (as seen in the ID), gets dragged onto another image i want this to happen: <a href="mylink.php?draggable=IDDRAGGABLE1&to=IDOFTHEIMMAGEITGOTDROPPEDINTO"></a> Can i find any tutorial on this? Is this difficult? Thanks in advance =D Link to comment Share on other sites More sharing options...
justsomeguy Posted July 31, 2017 Share Posted July 31, 2017 You want what to happen, an anchor to get created or edited or something? Like with most things, instead of finding something that tells you exactly how to do specifically what you want to do, you need to understand the basics and the theory yourself so that you can apply that to build what you want. You can start here, but there's a lot more information online about dragging and dropping. https://www.w3schools.com/html/html5_draganddrop.asp 1 Link to comment Share on other sites More sharing options...
Sunamena Posted August 8, 2017 Author Share Posted August 8, 2017 Thankyou very much! =D Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now