RasterMouse.showDropBorderOver( element [, borders [, cssCursor]] )

Surrounds the given element with a semi-transparent border used to highlight a drop target area.

This function can be used from within a user-defined dropHandler() function to highlight the drop target as the mouse cursor hovers over a valid target. Drop borders are automatically hidden when after a drop operation is completed, cancelled or the mouse leaves a valid drop area.


Name Type   Description
element object DOM element to be highlighted
borders string optional A String containing any combination of the following characters: 't'=top 'b'=bottom, 'l'=left, and 'r'=right.
cssCursor string optional a valid css cursor name. If this value is not specified, the current cursor is used.
Home Examples Download License
Copyright © 2010-2017 Edwin R. López