On image im mark rooms:
- sold out
- reserved
- for sale
Each group has its own color. When I hover one room with "for sale" this highlight all rooms within this group. But I want to highlight just this one.
This is HTML code:
<img src="" alt="" id="myimagemap" usemap="#imagemap" />
<map name="imagemap">
<area shape="poly" href="room,1.html" alt="Mieszkanie 01" id="mieszkanie-01" color="red" coords="18,205,18,185,27,185,27,163,86,163,86,126,136,127,137,137,150,137,151,202,79,202,79,206" />
<area shape="poly" href="room,2.html" alt="Mieszkanie 02" id="mieszkanie-02" color="red" coords="94,239,94,261,150,261,149,202,78,202,79,238" />
<area shape="poly" href="room,3.html" alt="Mieszkanie 03" id="mieszkanie-03" color="red" coords="16,305,150,304,149,260,94,260,94,239,79,239,79,243,24,244,24,229,14,230,14,243,16,243" />
</map>
ImageMapster code:
$('#myimagemap').mapster({
fillColor: 'ff0000',
fillOpacity: 0.3,
mapKey: 'color',
areas: [
{
mapKey: 'red',
fillColor: '2aff00'
}
]
});
color=red means this room is sold color=green means this room is for sale .... etc
So when i check room status by mouseover on this room, this code highlight all others with color=red but i want to highlight just this one.