image map problem.

Page: 1

Author Post
verlager
Guest
Why doesn't the image map work when this link is clicked? It loads fine into floatbox, but the image map I made of three heads in gimp doesn't work when I mouseover the live areas. How come?

And this <a href="../images/scan0006.jpg" class="floatbox" usemap="#plato" title="blah blah" rev="group:Sverdlovsk width:2560 height:1716" >photo</a> is nice.</p>

<map name="plato" id="plato">
<area shape="circle" coords="688,452,38" alt="one" title="" />
<area shape="circle" coords="1309,494,67" alt="two" title="" />
<area shape="circle" coords="2067,584,76" alt="three" title="" />
</map>
« Last edit by admin on Wed May 27, 2009 8:50 pm. »
Administrator
Registered: Aug 2008
Posts: 3382
There are no href attributes in those area elements.
verlager
Guest
I edited the relevant text:
<map name="plato" id="plato">
<area href="#" shape="circle" coords="688,452,38" alt="one" title="T1" />
<area href="#" shape="circle" coords="1309,494,67" alt="two" title="T2" />
<area href="#" shape="circle" coords="2067,584,76" alt="three" title="T3" />
</map>


But the mouseover still does nothing. Any thoughts would be welcome.
« Last edit by admin on Thu May 28, 2009 7:13 pm. »
Administrator
Registered: Aug 2008
Posts: 3382
Please don't bold all the text in your posts. It feels like you are yelling when you do that.

This forum is not for general html authoring support. It is for floatbox support. An excellent resource for html information is http://www.w3schools.com/. For example, their map/area example can show you that the usemap attribute belongs to an img element, not to an anchor element. You may want to start with one of their working examples and modify it to your content.

Cheers...

Page: 1