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

Friday, June 17th 2011, 9:29am

How to launch an action only if the zoom is > x

I have search in the doc and in the forum, but an event onzoom is not present..
My purpose is show some textfield plugin only if the level zoom is > x
Thank you

VN2011

Professional

Posts: 1,336

Location: Duluth MN

  • Send private message

2

Friday, June 17th 2011, 3:05pm

use the FOV setting.

3

Friday, June 17th 2011, 9:21pm

Thank you: i have used an event for observe the fov

Source code

1
2
3
4
5
6
7
8
	<events 
			onviewchange="filtra();" 
			
	 />
	
	<action name="filtra">
	
		if(view.fov LT 25.0,...

all work fine