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...

    With regards, Igor.

    Edited once, last by Ukrajinec (October 31, 2012 at 11:57 AM).

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!