Hello,
I've got the following problem.
I wan't to create an action, which is allways called if I click on different hotspots.
In this action there should be a picture shown, which belongs to the hotspot (picture one, to hotspot one, picture two to hotspot two .... like the followqing code snippets!
I did it like that example I attached, but allways the last window I defined in the "open_window"-action was called.
Something must be wrong, but I can't find the solution!
Can someone help me?
Thanks a lot
Olli
...
<hotspot name="one"
...
onclick="action (open_window);"
...
</hotspot>
<hotspot name="two"
...
onclick="action (open_window);"
...
</hotspot>
.......
<plugin name="window_one" url="....." /> which belongs to hotspot one
<plugin name="window_two" url="..." /> which belongs to hotspot two .... and so one.
<action name="open">
.....
set (plugin[%1].visible, true);
....
</action>
<action name="open_window">
open (window_one);
</action>
<action name="open_window">
open (window_two);
</action>
......
</krpano>