Hello,
According to your documentation I just need to use a "js(...);" for the "onclick" attribute in the XML file but it seems not work :(
I have a hotspot like this in the XML :
<hotspot name="michel" style="person" ath="-56.853" atv="2.350" onclick="js(showPerson(get(name)));" />
And in my JavaScript :
var showPerson = function(name){ ... }
Did I miss something ? Note that using JavaScript to create an hotspot and set his onclick event works.
Is there any limitations with the demo version ? Settings that must be done to make it work as spécified in your documentation ?
Best regards