<map><area style="???">

Discussion in 'JavaScript' started by lostextreme, Feb 7, 2010.

  1. #1
    Hello there, I am new to this forum. I found it usefull and just exactly what I need. Cheers. :)

    I have a question about area tag in image map creation :confused:

    <map name="imagemap">
    <area shape="circle" coords="10,82,126" />
    <area shape="circle" coords="90,58,3" />
    <area shape="circle" coords="124,58,8" />
    </map>

    So we have now three areas on image. What I want to do is then you mouseover on these areas they change the color or at least draw a border. There's a style attribute for area tag, but i don't know how to use it
    <area style="???">

    any help on this? I know what I can do a div on the same coords with the circle image in it to make it visible then mouse hovers it, but this is not what I am looking for. Any help on area style and how to use it? :)
     
    lostextreme, Feb 7, 2010 IP