using the mouseover/mouse out commands - using the mouseover/mouse out commands with image maps?
Can I use the mouseover/mouseout commands with image maps like I cna with links?
Can I use the mouseover/mouseout commands with image maps like I cna with links?
John Pollock posted this at 18:15 — 14th May 1999.
He has: 628 posts
Joined: Mar 1999
I'm not sure if there is a way that works for both browsers, but I think you can use a standard mouseover script (in IE) by adding the onMouseover command to the AREA tags, ie:
<AREA SHAPE="RECT" COORDS="0,0,99,40" HREF="table1.htm" onMouseover="lightup('pic1')">
The onMouseover is used to call your rollover script.
SOmeone else may know more on image maps and have a better solution for you.
----------
John Pollock
http://www.pageresource.com
Java Script: A Beginner's Guide
Page Resource
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.