Drag area taglib ver. 1.1

    JSP custom taglib lets you define a dragged object in your html code. It could be a div block, an image, a table etc. For example:
 


<%@ taglib uri="taglib.tld" prefix="d" %>

<d:dragArea><div class="bl"> Try to move me</div></d:dragArea>

and you will get some like this (try to move this area):

 Try to move me

Also you can define a name for your JavaScript function that will be called at the end of process. This function must accept one parameter - DHTML id for dragged area.

Tags are:

dragArea

Body tag defines a dragged object (div block, image, table etc.). Attributes are:

1) id Optional attribute. Describes a DHTML id for your code.
2) className Optional attribute. Defines a CSS class for your area.
3) onMove Optional attribute. Defines a name for JavaScript function that will be called after the move.

for downloading:

Library: dragareatag.jar    Description: taglib.tld

© Coldbeans      Comments?

See also Coldtags suite - the largest collection of custom JSP tags.