Drag and Drop 2

By JavaScriptSource Staff on May 6, 2005

General

Using a combination of CSS and JavaScript, you can move your images all over the page. Just add the class tag to the link’s attributes – it’s that simple!




Notes

Source Code

Paste this source code into the designated areas.

External file

Paste this code into an external JavaScript file named: dragAndDrop.js


CSS

Paste this code into your external CSS file or in the <style> section within the HEAD section of your HTML document.


Head

Paste this code into the HEAD section of your HTML document.


Body

Paste this code into the BODY section of your HTML document


Comments

Blog comments powered by Disqus