April 13, 2012
How do I create a highlight on mouseover?
Question by Jeff
Answer by Starx
Get the id of the map area and trigger the mouseover event.
$('.staff').mouseover(function() {
var id = $(this).attr("class").split("-")[1];
$("#"+id).trigger('mouseover');
});