Hi,
der XML Fehler kommt daher das '&' in XML Dateien nicht ohne weiters verwendet werden kann. Richtig wäre '&'.
Siehe:
http://krpano.com/docu/xml/syntaxrules/#characters
Zur eigentlichen Frage - hier gibt es wie immer mehrere Möglichkeiten so etwas umzusetzen - hier jetzt eine davon:
In der vtourskin.xml in dem 'skin_hotspotstyle' <style> das 'onclick' Event folgendermaßen erweitern:
<style name="skin_hotspotstyle" ...
...
onclick="if(linkedscene, skin_hidetooltips(); tween(scale,0.25,0.5);
tween(oy,-20,0.5); tween(alpha,0,0.5); looktohotspot();
loadscene(get(linkedscene),null,MERGE,BLEND(1)); skin_updatescroll(); if(newhlookat, copy(view.hlookat,newhlookat));
);"
...
/>
Damit wird nach dem Laden der neue Szene abgefragt ob eine Variable names 'newhlookat' existiert, und falls ja, dann wird view.hlookat auf diese gesetzt.
Danach nur noch die gewünschten Hotspots um ein 'newhlookat' Attribut erweitern - z.B.
<hotspot name="spot1" style="skin_hotspotstyle" ... newhlookat="90" />
<hotspot name="spot2" style="skin_hotspotstyle" ... newhlookat="180" />
Schöne Grüße,
Klaus