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.

machart

Trainee

  • "machart" started this thread

Posts: 135

Location: Ostfriesland

  • Send private message

1

Friday, February 20th 2009, 5:04pm

stop autorotate

hi!
now my "working study" is viewable here
but i need some little thing:
how can i tell autorotate to wait until the pano is loaded completely? on fast internet connection it wouldnt be a problem, but on a slow line it rotates too early...
__close to the rainbow__
_D300S|Sunwayfoto|iMaci7|PM|APP|KRP_
www.panographie.net

2

Monday, February 23rd 2009, 11:06pm

Hi,

in the new 1.0.8 beta 6 version, there is new event: "onloadcomplete",
this can be used to enable the autorotation after loading:

Source code

1
2
3
4
<krpano onstart="set(autorotate.enabled,false);">
...
<events onloadcomplete="set(autorotate.enabled,true);" />
...


best regards,
Klaus

machart

Trainee

  • "machart" started this thread

Posts: 135

Location: Ostfriesland

  • Send private message

3

Wednesday, February 25th 2009, 4:28pm

yes indeed, it works... great!

.. but not with that example... no snow anymore... ;-)
__close to the rainbow__
_D300S|Sunwayfoto|iMaci7|PM|APP|KRP_
www.panographie.net

4

Wednesday, February 25th 2009, 10:06pm

download the beta6 viewer again, I have included now a updated snow version