OK, I figured this out. Phew.
The XML generated by the default krpano droplet includes a file skin/vtourskin.xml, which contains an onclick event for the style skin_hotspotstyle. This overwrites the onclick event.
I therefore added a linkedurl attribute in the same style as linkedscene to this onclick event, and it all works fine.
i.e.
|
Quellcode
|
1
|
if(linkedurl, openurl(get(linkedurl),_self);)
|