|
July 14, 2000 The setCapture() Method Tips: July 2000
Yehuda Shiran, Ph.D.
|
|
Usually, an object fires an event when the event occurs within its physical limits on the page. For example, if you specify an onmousemove event for a DIV element, the appropriate event handler kicks in only when the mouse moves inside the DIV box.
Sometimes, though, you want an object to capture events that occur within other objects. You can do it with the
where flag is an optional parameter equal to either
The following box is designed to capture
Supported mouse events include For more on the event model, go to Column 9, The Navigator Event Model, Column 10, The Internet Explorer Event Model, and Column 11, The Cross Browser Event Model.
People who read this tip also read these tips: Look for similar tips by subject: |