|
|
<A ...><IMG ...>
Most of the code for these two tags is like normal links and images, but each of the tags have some extra information. <IMG SRC="...">
The <A ...>onMouseOveronMouseOutonMouseOverrollover() function, which sets the image for when the mouse is over. onMouseOutrollout(), which sets the image for when the mouse is not over.
rollover() and rollout() each take one parameter: the name of the image. Note that the name of the image should be in single quotes.
The <IMG ...>NAME="home". Each rollover on the page should have a unique name. The scripts use this unique name to refer to the image and change its properties as the mouse moves over and out.
Finally, we follow the <IMG ...>setrollover("../graphics/home_over.gif");<IMG ...>
|
Recommended Resources |
|||
| web hosting tutorials Credit Help |
Search the Internet Search Engine Help |
Low Fat Lifestyle Internet Traffic |
Web
Hosting Web Design |
|
Discount
Hotel Reservations All
Rights Reserved, Copyright © Free-HTML-Tutorials.com 2003 |
|||