(This question is for the HTML5 version, but there is no forum for that, and as I understand it, the API is very similar.)
I'm using pano.openNext in a javascript to load panoramas, but I would also need the hotspots (both in panorama and minimap) to communicate back to javascript.
Preferably sending back what xml-file is loading.
Is this possible?
Can a hotspot to control an external javascript in html?
-
- Posts: 40
- Joined: Mon Feb 16, 2009 11:38 am
the documentation is sadly lacking much on the scripting.. : /
basically take a look at skin.js, insert your own code there.
For example,
on hotspot click, insert your function there,
so you can catch which hotspot(id) is clicked.
basically take a look at skin.js, insert your own code there.
For example,
on hotspot click, insert your function there,
so you can catch which hotspot(id) is clicked.