Sie sind nicht angemeldet.

1

Dienstag, 15. März 2016, 08:45

How to disable the interactivity of Krpano when placing to a website header

Hi,
I want to have a real auto-rotating panorama example in the header of my website, but the problem is with the touch devices where the resolution of this header is larger then the device screen resolution - there is no chance how to scroll down, because the panorama is interacting instead of scrolling the page.


I tried this one:
ifnot(device.desktop,set(control.usercontrol, off));


But it just disables the interaction, but still I can´t scroll down... Any idea?
Best regards,
Igor Socha

2

Dienstag, 15. März 2016, 09:38

Maybe: http://krpano.com/docu/html/#mwheel
"When set to false, then any mouse-wheel usage will be ignored and the browser will do its default mouse-wheel handling (typically scrolling the webpage)."

3

Dienstag, 15. März 2016, 09:55

Thanx for the reply,
unfortunately this only blocks the mouse scrolling, but it is the same with touching devices :(
Best regards,
Igor Socha

4

Dienstag, 15. März 2016, 10:02

Maybe to put some css overlay layer?
Best regards,
Igor Socha