Closed Bug 111683 Opened 24 years ago Closed 24 years ago

JS onMouseOver/onMouseOut events don't fire when using map

Categories

(Core :: Layout, defect)

x86
Linux
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 110072

People

(Reporter: brianr, Assigned: attinasi)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0) BuildID: 2001101201 When using JS onMouseOver/onMouseOut events to drive imageswapping in an <a href...> tag everything works fine. But add a <img> tag using a client-side image map and in defined areas of the map the JS won't fire. Reproducible: Always Steps to Reproduce: <a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage ('News','','/Images/news2.jpg',1)"><img name="News" border="0" src="/Images/news1.jpg" width="85" height="115" usemap="#NewsMap"></a> (#NewsMap is definaed properly w/o any onMouseOver/onMouseOut events) Actual Results: When the mouse enters/leaves any area UNDEFINED by the imagemap the JS will fire, but for defined areas the JS will not. Expected Results: Since there is no JS event associated with the imagemap, one would presume the JS would fire. If you have to associate the JS with every element of the imagemap you needlessly add to the size of the page.
This sounds like bug 110072. *** This bug has been marked as a duplicate of 110072 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.