Forums  

Go Back   Forums > Talk > General FPP Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 11-01-2007, 09:34 AM
Cameleer's Avatar
Cameleer Cameleer is offline
Administrator
 
Join Date: Oct 2007
Location: Ventura Calif. USA
Posts: 149
Downloads: 6
Uploads: 1
Default Stop pano zoom when scrolling down page.

When a page with a pano opens up and you try to scroll down the page with the mouse wheel, the pano zooms out instead. The page has to be clicked on before you can scroll down, and then you can click on the pano to zoom in and out on it.
Is there a way to set it up where you donít have to click on the page first?
Here is an example:
http://indiavrtours.com/rajasthan.html

On this page I want the pano set for autorotation but thereís no need for zoom.

Thanks
__________________
Only those who will risk going too far
can possibly find out how far one can go.
Reply With Quote
  #2  
Old 11-05-2007, 12:24 AM
Stephmw Stephmw is offline
Junior Member
 
Join Date: Oct 2007
Location: London
Posts: 12
Downloads: 0
Uploads: 0
Default

I haven't tried this, but shouldn't disabling the wheel input (something I saw in the editor plugin demo) do the trick?
Reply With Quote
  #3  
Old 11-05-2007, 09:13 AM
jaaaab jaaaab is offline
Moderator
 
Join Date: Dec 2006
Posts: 294
Downloads: 0
Uploads: 0
Default

hmmm what you say is true for IE, but the behaviour is correct with Firefox.

I think you should have a look around javascript solution for that.

++
Reply With Quote
  #4  
Old 11-05-2007, 04:13 PM
Cameleer's Avatar
Cameleer Cameleer is offline
Administrator
 
Join Date: Oct 2007
Location: Ventura Calif. USA
Posts: 149
Downloads: 6
Uploads: 1
Default

I tried using these 2 ways with no luck, but maybe I didnít have them set up right...

disableWheel disables/enables mouse wheel support for panorama engine
<pano disableWheel="1" /> (disables mouse wheel for panorama)
----------------------------
disableKeys disables/enables keyboard events for panorama engine
<pano disableKeys="1" /> (disables keyboard interaction for panorama)
__________________
Only those who will risk going too far
can possibly find out how far one can go.
Reply With Quote
  #5  
Old 11-05-2007, 07:47 PM
WideEyes WideEyes is offline
Senior Member
 
Join Date: Jun 2007
Location: Denmark
Posts: 189
Downloads: 0
Uploads: 0
Cool

I am sorry for this basic suggestion, but I do not have much experience with this player or knowledge about programming. But if you don't need any zoom function, then why not set the zoomMin and zoomMax to the same setting?
The it does not matter if the viewer tries to scroll, nothing will happen

Just my suggestion
Best regards
Morten
__________________
- a newbie trying to improve
Reply With Quote
  #6  
Old 11-05-2007, 08:24 PM
Cameleer's Avatar
Cameleer Cameleer is offline
Administrator
 
Join Date: Oct 2007
Location: Ventura Calif. USA
Posts: 149
Downloads: 6
Uploads: 1
Default

I tried disableWeel again and this time it worked, I must have done something wrong before. Although you still have to click on the page before you can scroll down, but that should not be too much of a problem for people.

<?xml version='1.0'?>
<panorama>
<parameters>

panoName = images/elephants_morning5
zoomHome = 0.9
tiltHome = -5
disableWheel=1

layer_5 = files/autorotator.swf

</parameters>

<autorotator>
speed = 0.32
interval = 30
pause = 2000
quality = low
</autorotator>

<hotspots>
__________________
Only those who will risk going too far
can possibly find out how far one can go.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 10:18 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.