You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Wednesday, November 5th 2008, 12:46pm

Autorotate buttons

Hi, Klaus

I try to make a autorotate with a button to activate or de-active, but after many tries I can't, have you some code for that



another question

I have a licence for 2 domains, how many I have to pay to get full domains



thk's a lot for your very interesting log :thumbsup:

2

Wednesday, November 5th 2008, 1:17pm

yes, here:
e.g.

Source code

1
2
3
<plugin name="autorotatebutton" url=".."
        onclick="switch(autorotate.enabled);"
        />


but note - when autorotate is enabled, it still waits the "waittime" since last movement before starting rotation,

so if you want to start intermediately set also the waittime to "0"

e.g.

Source code

1
2
3
<plugin name="autorotatebutton" url=".."
        onclick="switch(autorotate.enabled);set(autorotate.waittime,0);"
        />


docu for the used functions:
http://krpano.com/docu/xml/#autorotate
http://krpano.com/docu/actions/#switch


for upgrading a domain license to unlimited domain, please contact me per mail or pm!

best regards,
Klaus

3

Wednesday, November 5th 2008, 1:25pm

waouh !!!

thk's for the code ;)

Regards

Similar threads