Web Development HTML Guide - Learn HTML
Developer Tutorials
ASP
CGI & Perl
CSS
Flash
HTML
Java
JavaScript
Linux
MySQL
PHP
Photoshop
Python
Wireless
XML



Developer Manuals
Learn HTML
Learn PHP
Learn MySQL
Learn CSS
Learn Pear


Developer Scripts
ASP Scripts
ASP.NET Scripts
CGI & Perl Scripts
Flash Scripts
Java Scripts
JavaScript Scripts
PHP Scripts
Python Scripts
Remotely Hosted Scripts
Tools & Utilities Scripts
XML Scripts

Developer Resources
Developer Tools
Developer News
Developer Forums
Developer Content
Developer Book Reviews
Survey Software

Web Hosting Directory
Budget Web Hosting
ColdFusion Hosting
Dedicated Servers
Domain Hosting
E-Commerce Hosting
Email Hosting
Free Web Hosting
Linux Web Hosting
Managed Hosting
Reseller Hosting
Small Business Hosting
Windows Web Hosting

Attributes for <A ...>
onMouseOver = "script command(s)"
onMouseOut = "script command(s)"

Looking for Information on Rollover Images?

You might want to check out our rollover images tutorial.
onMouseOver and onMouseOut are event handlers that are triggered when the mouse moves over the link and then when it moves out from the link again. The most common use for these event handlers are rollover images, but you put any kind of program in them you want.

So, for example, this code displays an alert box when the mouse moves over the link:

this code produces this
<A 
   HREF="omoexample.html"
   onMouseOver="alert('my alert box')">my page</A>
my page

This code displays an alert box when the mouse moves out from the link:

this code produces this
<A 
   HREF="omoexample.html"
   onMouseOut="alert('my alert box')">my page</A>
my page


Copyright Idocs, Inc. Written by Miko Sullivan











About the NetVisits, Inc Network | Advertise
Developer Tutorials hosted by HostGator.
Copyright ©2007 NetVisits, Inc Network. All Rights Reserved. Privacy Policy.
Visit other NetVisits, Inc. sites: