Secondly, you must keep in mind that not every event is applicable to every element. This also varies between browsers. Mastering event handling is most certainly a topic unto itself, a topic which we will cover in more browser-specific detail in a future article. At the surface, handling basic events is simple, as you've seen. When the mouse moves off the element is reverts to a more subdued state.
Rollovers commonly use changes in either image or style.
As with any introduction, we hope that much of what's been written serves as inspiration for your own ideas. This is a major reason why cross-browser coding is such a challenge. The promise of a standardized DOM adopted by both browsers seems an ever distant possibility, even with fifth generation browsers. Copyright 2001 INT Media Group, Incorporated All Rights Reserved.