Tell me please, how to disable autorotation after then I hover on the hotspot without writing code in each hotspot
About hotspots & autorotation
-
-
Hi,
do you mean 'disable auto-rotation' as long as hovering a hotspot?
e.g.
use a <style> for all your hotspots and set there these onover/onout events:Code<style name="hotspotstyle" ... onover="set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" /> ... <hotspot name="spot1" ... style="hotspotstyle" ... /> <hotspot name="spot2" ... style="hotspotstyle" ... /> ...
Best regards,
Klaus -
I know about styles. But is a method to write like: "All hotspots in this project must stop the rotation"? When i have tour more than 10 panoramas it's a little unnerving to copypast the code to each tag...
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!