user4211134
user4211134

Reputation:

Make background image clickable

I have a webpage, with world map as background image for whole container.

In map, I have two countries colored RED and all other GREY.

Now, I want to give link to red colored area. So, when I click on Germany area in map, it should redirect me to www.something.de and when on Australia, www.something.com.au

I know mapping can not be used with background images.

Is there any other way to do this?

thanks in advance.

Upvotes: 0

Views: 89

Answers (1)

Nitesh
Nitesh

Reputation: 15749

Create a fully transparent .png and overlay it above the background image. Once done, just map it and you will get your desired result.

Hope this helps.

Upvotes: 3

Related Questions