PDA

View Full Version : Panorama should be static when Hotspots open


Force
07-25-2008, 01:10 PM
hi everyone,

how to "lock" the panorama, if one hotspot is open. i need to block all panorama-movements bei mouse.

thanks.

cheathamlane
07-26-2008, 02:29 AM
Check your FPP documentation for "disableControls" (and "disablePan", "disableTilt", etc.). That will probably be do the trick for you...

phberlin
07-26-2008, 11:43 AM
You can do it like so:


ShowHS="pano.pan_v=0
pano.tilt_v=0
pano.zoom_v=0
pano.disableControls=1
onClick=HideHS();"

HideHS="pano.disableControls=0
onClick=ShowHS();

The first three lines simply stop the entire pano movement. The fourth line disables all controls. Your hotsopt itself can still be clicked on even if all other navigation actions are impossible. Additionally, you may want to set blockMouse="1", so one can't move the hotspot by clicking on it and dragging.

Hope that helps, regards,
Ph.