Home Image Effects Here
Dragable elements Script IE
Credits: Dynamic Drive
Description: A versatile script that enables any image(s) and text on a page to be dragable.
Demo:
--------------------------------------------------------------------------------
Directions
Step 1: Insert the following into the
section of your page:
Once the script is installed, enabling any image on the page to be dragable is a snap. Lets take the following html document as an example:


"Hi there
To apply drag-drop capabilities to the first two images above, simply add the line class="drag" into the
tags, like this:


"Hi there
The two images will now move when the mouse drags them.
What about text elements, you say? Well, the engine handles them just as well:


Hi there
Hi there
Notice that the class="drag" declaration is added to the innermost element, the element, and not the element.
Recommend Us!
-
Number of losers, mama's boys, and bastards I have dated.