Events are a different type of Java code because they are built directly into the HTML code. They aren't scripts because their design was to be embedded in the HTML. First I am going to illustrate mouse over/out events.

ALERT MOUSE TEST!

CHANGE BACKGROUND TO BEIGE!

CHANGE BACKGROUND TO AQUA!

CHANGE BACKGROUND!

WINDOW STATUS TRUE TEST!

WINDOW STATUS TEST!

Note: The return true clause allows the default in the window status to be over ridden.