Line 13: | Line 13: | ||
window.onload = () => { | window.onload = () => { | ||
var svg = document.getElementById("hero-image").getSVGDocument(); | var svg = document.getElementById("hero-image").getSVGDocument(); | ||
− | var segments = svg.getElementsByTagName(); | + | var segments = svg.getElementsByTagName("g"); |
+ | $(segments).find(".bio").popover({title:"title", content:"content", container:"body", | ||
+ | trigger:"click", toggle : "popover", placement: 'top'}); | ||
} | } | ||
</script> | </script> |
Revision as of 10:29, 26 October 2017