Submit FAQs Awards Usage Terms Contact
Categories
Partners
DaniWeb is an exciting community for web developers, Internet marketers, and technology enthusiasts.
Other Sections
Sweet Ads
Compatibility
Bookmark online:

NS4

Generic Drag Layer

Description: This is a great drag-layer script that allows you to enable any layer to be dragable! Very easy to install and degrades well with all browsers.

Demo:

 

 

Layer 1

Layer 2

Layer 3


Directions: Developer's View

Simply add the below code to the <head> section of your page:

Select All

Now, to make a layer dragable, just add the following onMouseover event handler into the layer tag:

<layer onMouseover="drag_drop(this)">
"
</layer>

Drag away!