I'm really liking the jQuery addin Image Mapster. However, I've really reached a brick wall I could use some help climbing.
I need to do the following:
- Highlight all image map areas with a border and color prior to any interaction
- Enable mouseover highlighting and mouseout dehighlighting (returning to the state #1 above) with potentially different border and color
- Enable selection with a third different border and color
I was initially under the impression that the following JavaScript would be able to do that for me:
$('#Image1').mapster({
fillOpacity: 0.5,
fillColor: FF0000,
stroke: true,
strokeOpacity: 1.0,
strokeColor: 00FF00,
strokeWidth: 2,
render_highlight:
{
fillOpacity: 0.5,
fillColor: 00FF00,
stroke: true,
strokeOpacity: 1.0,
strokeColor: FF0000,
strokeWidth: 2,
},
render_select:
{
fillOpacity: 1.0,
fillColor: 0000FF,
stroke: false
}
});
It appears to support mouseover/mouseout (#2) and selection (#3) - but does not light up my areas as I want (#1).
Does anyone a bit more experienced with ImageMapster have any suggestions?
Thanks!