dcsimg
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.


Tip of the Day
Language: Web
Expertise: Intermediate
Sep 12, 1998

WEBINAR:

On-Demand

Building the Right Environment to Support AI, Machine Learning and Deep Learning


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 (<A>) tags. The trick is to wrap your image in a set of <A> tags that include your onMouseOver handler, causing your alert box to come up in both browsers. This code shows what I mean:
 
<HTML>
<BODY>
<a href="" onMouseOver="alert('Test');"><img
src="circles.gif"></a>
</BODY>
</HTML>
Boris Feldman
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date