Drag-n-Drop | JavaScriptSource

Drag-n-Drop

Randy Bennett Sep 9, 2000
Simply click images on the web page, drag to move, and then drop images anywhere on the web page. A fun way to allow your visitors to interact with your site. And, it is a short script too!
Just click and hold the 4 suit images to the left and then you can move them around the page!

The JavaScript Source: Page Details: Drag-n-Drop

Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!

    

Did you use this script?  Do you like this site?  Please link to us!

Leave a Response

(
2 comments)

Thanks for sharing this code. But if we want to excahnge the positions of two images when one of them is being tried to put over the other ?

manisha Apr 9, 2009

Thank you so much!!! You made my life easier. Now I am going to try it out on some images. I love you. I have been trying all differnt things, I just couldn't get it. Thanks!

Linda Carroll Nov 19, 2008