devxlogo

Navigator Does Not Support the onMouseOver Event for Images

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:

 
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist