You are not logged in.

Ukrajinec

Beginner

  • "Ukrajinec" started this thread

Posts: 33

Location: Ukraine, Lviv

  • Send private message

1

Monday, October 29th 2012, 11:31am

About hotspots & autorotation

Tell me please, how to disable autorotation after then I hover on the hotspot without writing code in each hotspot *sad*
With regards, Igor.

2

Tuesday, October 30th 2012, 9:35am

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:

Source code

1
2
3
4
5
6
7
8
9
<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

Ukrajinec

Beginner

  • "Ukrajinec" started this thread

Posts: 33

Location: Ukraine, Lviv

  • Send private message

3

Tuesday, October 30th 2012, 2:52pm

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.

This post has been edited 1 times, last edit by "Ukrajinec" (Oct 31st 2012, 11:57am)