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.
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.
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