MapSVG interact with other elements on the page
-
I’m using MapSVG plugin. When I hover on a region, I’d like a specific text block to turn another color. The text block is outside of the MapSVG file. Is this possible?
I tried putting into the header file but the map goes away completely.
I tried this in the javascript section of MapSVG and on the page to no success.
<script>
$(document).ready(function(){
$(“path#UC”).mouseover(function(){
$(“.content-column.one_third:first-child .regionbottom”).css(“color”, “red”);
});
$(“path#UC”).mouseout(function(){
$(“.content-column.one_third:first-child .regionbottom”).css(“color”, “red”);
});
});
</script>Any help? Please?????????
- The topic ‘MapSVG interact with other elements on the page’ is closed to new replies.