• Resolved infofm

    (@infofm)


    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 1 replies (of 1 total)
  • Thread Starter infofm

    (@infofm)

    function(){

    if(this.id === ‘A’ || this.id === ‘S’){

    jQuery(‘.p’).css({color: black});

    }

    }

Viewing 1 replies (of 1 total)
  • The topic ‘MapSVG interact with other elements on the page’ is closed to new replies.