Re: How to get rectangle under the mouse?




OK, here is what exactly I am trying to do...


Is it any arbitrary HTML table? or something you always create for the
user. The first problem is gonna be the rubber band thing. Thats going
to get in a wobbly fight with the regular text selection since there is
no rubber band thing built in and you are going to have to invent that.
Trying to modify the way the mouse down action works is a pretty tall
order. So, there would need to be a way to differentiate your rubber
banding and a regular text selection. Could you render the table as an
image and use a specific ID for the image to differentiate it from a
normal image? Then you might stand a better chance of rubber banding.
There may be some way to do this with javascript too. Flimsy, but there
may be a way?

.