12-09-2009, 09:54 AM
Hello.
I have this image, and I'd like to create an image map so that the user can click 'English' to direct them to 'www.xx.com' and '官话' to direct them to 'ww.xx.cn'. However, the problem is that it's a background image controlled via CSS, so there's no <img src>. The code for the image map is as follows (ignore the google links, they're just place holders):
Can anyone think of a way to do this?
I could easily do this in Photoshop or Dreamweaver, but the problem is, it appears you can't set hotspots to a background image. Or maybe I'm missing something..?
Here's a screenshot of the page, for further clarification.
http://i49.tinypic.com/2exya6t.jpg
Thanks
I have this image, and I'd like to create an image map so that the user can click 'English' to direct them to 'www.xx.com' and '官话' to direct them to 'ww.xx.cn'. However, the problem is that it's a background image controlled via CSS, so there's no <img src>. The code for the image map is as follows (ignore the google links, they're just place holders):
Code:
<map id="Languages" name="Languages">
<area shape="rect" alt="" title="" coords="572,12,647,34" href="www.google.com" target="" />
<area shape="rect" alt="" title="" coords="655,14,693,33" href="www.google.cn" target="" />
</map>
Can anyone think of a way to do this?
I could easily do this in Photoshop or Dreamweaver, but the problem is, it appears you can't set hotspots to a background image. Or maybe I'm missing something..?
Here's a screenshot of the page, for further clarification.
http://i49.tinypic.com/2exya6t.jpg
Thanks