Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Javascript (http://www.velocityreviews.com/forums/f68-javascript.html)
-   -   mark a rectangle (http://www.velocityreviews.com/forums/t932724-mark-a-rectangle.html)

Lammi 09-06-2007 07:35 AM

mark a rectangle
 
hi,

i need to mark an area in a div. the idea is, that a user clicks a
startpoint, moves the mouse to an endpoint and in the div a matching
rectangle will be colored while he moves the mouse. that's not so
difficult.
once the user has marked an area in the div, this area should be
"restricted". if the user tries to mark that area again or a new
rectangle laps over the existing, an error should be thrown or better,
the new rectangle should end and the border of the old one. i need
some hints how to realize that. does anybody know a similar example
script?

thanx in advance



All times are GMT. The time now is 07:47 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.