Previous Example-|-Next Example-|-Return to Chapter Listing
Example 12.20:
Passing event Object Information to a Handler Function
[This example works with Netscape Navigator 3 or Internet Explorer 3. It will not work with Internet Explorer 3.]
The button and link in this page pass the event information to a function, which displays information in a secondary window. Click the button or point at the link.
This is an onmouseover link. Point anywhere in this link and the event information will be passed to the function. Point anywhere in this link and the event information will be passed to the function. Point anywhere in this link and the event information will be passed to the function.
In the HEAD we have this script:
In the BODY of the page we have this:
This is an onmouseover link. Point anywhere in this link and the event information will be passed to the function. Point anywhere in this link and the event information will be passed to the function. Point anywhere in this link and the event information will be passed to the function.
Previous Example-|-Next Example-|-Return to Chapter Listing