"Jun" <ju*********@hotmail.com> wrote in message
news:de**************************@posting.google.c om...
How can I catch onMouseDown event on a frame/frameset?
When I right mouse click at the border area of a frame, I
can still get the Window's standard popup menu.
How can I catch the mouse click to pop up my own menu when use
click at the border?
You don't think that clicking on the border might be a reasonable
indicator that the user does not want to see your menu (given the effort
required lining the moue up)?
Or is the plan to deny the user access to the standard context menu via
the mouse? In which case, don't bother, as that achieves nothing useful.
The behaviour you are describing is not common to all browsers but is a
feature of IE and you are stuck with it (at least in a normal context)
because the script's knowledge of the mouse is restricted to mouse
activity within the display area of the document, and that ends at the
borders.
Richard.