surfer97301
08-08-2004, 08:59 PM
Hi,
Basically I have a background canvas that is the whole userspace. It has an onclick method which causes a rectangle to be place on the top layer. This rectangle has an onclick method that causes a circle to be place inside the rectangle.
When I click the rectangle, the rectangle onclick event is fired followed by the canvas onclick method. What can I do to prevent the canvas onclick method from being called?
Is there an easy way to do this?
Thanks for any tips !!
Basically I have a background canvas that is the whole userspace. It has an onclick method which causes a rectangle to be place on the top layer. This rectangle has an onclick method that causes a circle to be place inside the rectangle.
When I click the rectangle, the rectangle onclick event is fired followed by the canvas onclick method. What can I do to prevent the canvas onclick method from being called?
Is there an easy way to do this?
Thanks for any tips !!