I'm trying to redirect a user on click of current floor
without
$('#mapimage').mapster(
{
fillcolor: 'ff0000', fillOpacity: 0.40
});
href of area tag works. With this it doesn't. What have I done wrong? JSFIDDLE
This should work.
$(document).ready(function () {
$('#mapimage').mapster({
fillcolor: 'ff0000',
fillOpacity: 0.40,
clickNavigate: true
});
});
You should read the documentation, everything is explained well ;)
By default, ImageMapster will prevent the default browser behavior in image maps, and "select" areas when they are clicked.
http://www.outsharked.com/imagemapster/default.aspx?docs.html#clicknavigate