0

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.

1

1 Answer 1

2

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.