Greetings
I'm trying to figure out how to get external functions called when a hotspot in krpano is clicked to handle to UI functionality that lives outside of krpano. Here's what I'm thinking about doing this.
Code
var pano = document.getElementById("krpanoSWFObject");pano.addEventListener('hotspotClick', handle_hotspot_clicked);
function handle_hotspot_clicked(e){ //handle ui }
Can anyone please point me in the right direction on how to accomplish this? Thank you.