• Resolved infofm

    (@infofm)


    Using MapSVG to highlight regions. I’d like to have a text block change color elsewhere on the page when hovering over a specific region. How can I call the hover event from mapSVG (path#AM_1_.mapsvg-region) in my css stylesheet?

    • This topic was modified 7 years, 3 months ago by infofm.
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 ‘Map hover to trigger css text color change’ is closed to new replies.