Navigator Does Not Support the onMouseOver Event for Images

If you are trying to make an alert box that displays a message when the user passes the mouse over an image, keep in mind that unlike Microsoft Internet Explorer, Netscape Navigator doesn’t support the onMouseOver event for images. However, Navigator does support the event for anchor () tags. The trick is to wrap your image in a set of tags that include your onMouseOver handler, causing your alert box to come up in both browsers. This code shows what I mean:

 
Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: