Yoav Schwartz
Yoav Schwartz

Reputation: 2027

A clickable Map in HTML5/css/JQuery

I'm new to web front end development, I was wandering how would I go about mapping an image so that pressing each part would cause a different function to fire off, note that these will be irregular shapes(map of Europe)

Thanks in advance.

Upvotes: 0

Views: 591

Answers (1)

Tilo
Tilo

Reputation: 160

If your really want to do this with HTML, you could use the "map"-Element (<map>): a little example: http://www.imn.htwk-leipzig.de/~tstoppe/europe.html

But this isn't really clean code, i think it would be easier and better if you use SVG

Upvotes: 2

Related Questions