Sie sind nicht angemeldet.

360boy

Fortgeschrittener

  • »360boy« ist der Autor dieses Themas

Beiträge: 249

Wohnort: Mexico City

Beruf: Virtual tours, Krpano coding, Graphic Design, Photographer, Panographer

  • Nachricht senden

1

Freitag, 1. November 2013, 21:21

Lock user interaction, how to?

Greetings folks,

I'm working into a small VT introduction screen and I thought it would be nice to block user interaction on the pano while it ends so users won't move it accidentally. Any ideas on how to do this?

Partial solution has been a 100% width/height transparent layer without any "onclick" event associated which is removed after the intro, it works fine on desktop but still allows zooming in/out in mobile devices.

Thanks.

Luis

Beiträge: 770

Wohnort: Russian Federation

Beruf: Interpreting, Building virtual tours

  • Nachricht senden

2

Freitag, 1. November 2013, 22:16

And this zooming in and out occurs even if you restrict FOV to a certain value?
Regards,

Alexey

3

Sonntag, 3. November 2013, 21:54

http://krpano.com/docu/xml/#control.usercontrol
set(control.usercontrol,off);

360boy

Fortgeschrittener

  • »360boy« ist der Autor dieses Themas

Beiträge: 249

Wohnort: Mexico City

Beruf: Virtual tours, Krpano coding, Graphic Design, Photographer, Panographer

  • Nachricht senden

4

Montag, 4. November 2013, 23:48

Alexey, I haven't tried but I guess that if I restrict FOV it could work to lock zoom, although I was looking more for a global locking solution like the one Umalo is posting, is far better that my "transparent layer patch".

Thanks!

Luis