HI to all JS-warriors!
Trying to make this interactive svg map
work inside Hype system.
I pasted the svg code of the map into the inner html and
added the css into the Head of html = works well.
map-us.hype.zip (32.7 KB)
But for the next step - adding jQuery code - here I need a help of js-savvy Hype users!
That jQuery code snippet from the Codepen demo makes it possible to
show/hide the info box that follows / floats over the cursor.
I am a js novice, so
I simply copy-pasted this jQuery code snippet into the Head Html.
But that obviously didn’t do the trick.
Do I need to tweak this jQuery code or smth else?