Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

MapSVG interact with other elements on the page

$
0
0

Replies: 0

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?????????


Viewing all articles
Browse latest Browse all 59525

Trending Articles