PDA

View Full Version : Can not capture Mouse Click on NS


tuyle
07-03-2002, 03:32 AM
Please help me to capture mouse Click on NS 4.x . I have a page contains <div id="img0" class="bgStyle"><img src="i0000001.png" border="0" width="900" height="600"></div>

I use

document.captureEvents(Event.CLICK|Event.DBLCLICK|Event.MOUSEDOWN|Event.MOUSEUP);

to capture mouse down/up/click/double, but on NS, when I click inside the layer (image), it just captures only mouse down/up/double. But when I click outside (black area), It can capture mouse Click. I don't know why

Please refer at http://www.chonoc.250x.com/page.htm for more detail

Thanks