Web Hosting Directory | Web Hosting Resources | Webmaster Resources | Domain Tools | Search Engine Marketing | Forums
  Signup
Today: 414   Yesterday: 1,557   Max: 1,872   Total: 377,689   Current Users : 12 (Member 0) 
DOMAIN TOOLS

WEBMASTER TOOLS

RELATED ARTICLES

SUBMIT AN ARTICLE

Write for us and get publicity, link to your website, and best of all get paid. Please visit our writers page for details.


LINK TO US

Link to us and earn points for each visitor you bring to us. Please visit our link partner page for details.

 

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.php"
   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.php"
   onMouseOut="alert('my alert box')">my page</A>
my page



Copyright 1997-2002 Idocs, Inc. Written by Miko Sullivan.

 
 
What is your major source of website traffic?
 
 
 
 
 
 

ADVERTISEMENT

 
Cheap Web HostingBudget Web HostingEcommerce Web Hosting
Link to UsLink ExchangeAdvertisePrivacy PolicyTerms Of ServiceAbout UsContact UsSitemap
Copyright © 2006 - 2008 Broadband Media, Inc. All rights reserved.