Re: Using Events

by "Martin Clifford" <MLC1(at)nrc.gov>

 Date:  Wed, 03 Jul 2002 16:23:56 -0400
 To:  <hwg-basics(at)hwg.org>,
<gruny(at)netzero.net>
  todo: View Thread, Original
If you want to use JS events on specific areas of an image map, then =
you're either going to have one big headache if you do pull it off, or =
you'll go crazy trying.

You can put <div onmouseover> tags around the map, but I don't believe you =
can do it around each individual shape in the map.

By the way, I notice that you choose to camelcase your eventname.  When =
moving to XHTML, you'll have trouble with that, as the XHTML 1.0 specificat=
ion requires that all attributes, even JavaScript events be lowercase.  =
Just a note for future reference :o)

Martin

>>> "gruny" <gruny(at)netzero.net> 07/03/02 03:54PM >>>
Is there any way to use JavaScript events, onMouseOver, etc., with a
client-side image map? When I try it, onMouseOver triggers when I move off
the area.

Glenn


-------------------------------------------
Introducing NetZero Long Distance
Unlimited Long Distance only $29.95/ month!
Sign Up Today! www.netzerolongdistance.com

HTML Guild: hwg-basics mailing list archives, maintained by Web Professionals @ IWA