[thelist] Accessible Links in an imagemap

Ken Kogler ken.kogler at cph.org
Fri Jul 19 10:11:01 CDT 2002


Got a client-side imagemap, with 7 <area>s within. When a user clicks on an
area, I'd like a small window to pop up. Sounds simple, right?

onClick is not supported in the <area> tag, so sayeth the w3c
(http://www.w3.org/TR/html401/struct/objects.html#edef-AREA). My testing
supports that, too.

In a simple hyperlink, the thing to do is:

  <a href="foo.bar"
     onClick="window.open('foobar.html','foo bar')">foo bar</a>

So how do I accomplish the same thing using an imagemap?

TIA, evoltarians!

--ken




More information about the thelist mailing list