I have a tour with hotspot 'arrows' to guide the viewer around.
At the start and end of the tour, 'onclick' loads a new html file. Works fine in non VR mode, my issue is that in VR mode loading a new html file will exit VR (which is fine and to be expected) but is confusing if you are still 'inside' the VR experience, i.e. google cardboard.
So... I'd like to add some code to certain arrows to stop them appearing when in VR mode. Here is my code for the 'arrow' :
<hotspot name="arrow-0"
url="../hotspots/yellow-arrow.png"
alpha="0.8"
scale="0.5"
distorted="true"
rx="-60.0"
ath="0"
atv="6"
zoom="true"
onhover="showtext(' ',hotspottextstyle);"
onclick="openurl(next-tour.htm?scenetoload=pano413,_self)"
/>
Any help, much appreciated.
Thanks
Tim