Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HTML Client-Side Image Map

 
Graeme Byers
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To create a client-side image map , include the usemap attribute as part of the img tag.
Its value is the URL of a <map> segment in an HTML document that contains the map coordinates and related link URLs.
The document in the URL identifies the HTML document containing the map ; the fragment identifier in the URL identifies the map
itself.

Most often , the map is the same document as the image , and the URL can be reduced to the fragment identifier : a pound sign #
followed by the map name. HTML & XHTML : The Definitive Guide page 192.

I can code the second as follows (below) but how do I code the first ?

Thank you.



 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please repost your code and check the "Disable HTML in this message" checkbox

Eric
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any tutorial should show you how to do it

http://www.javascriptkit.com/howto/imagemap.shtml

In this day in age, I would not use an image map.

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic