Drag bgcolor="#FFFFFF">

drag.lib
(Requires kernel.lib and events.lib)

Drag:This function will enable users to drag a DIV around the screen. The DIV can also be instructed only to move inside a specified DIV or a specified area.
div("name").drag()
div("name")Drag("div")
div("name")Drag(x,y,width,height)

Stop drag:This function will stop the dragging ability of a DIV.
div("name").dragStatic()

onTop:This function will return true if a DIV is currently on top of another.
div("name").onTop("div")

dragging:This function will capture the name of the DIV that is being dragged.
function dragging("div being dragged"){}

dragStart:This function will capture the name of the DIV that is clicked on to be dragged.
Function dragStart("div being dragged"){}

dragStop:This function will capture the name of the DIV once it has finished being dragged.
Function dragStop("div being dragged"){}