Search…

X3 Photo Gallery Support Forums

Search…
 
pavlusha
Topic Author
Posts: 11
Joined: 18 Jun 2011, 16:36

scrolling in textpage

19 Jun 2011, 08:38

how to enable scrolling wheel mouse in textpage?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: scrolling in textpage

19 Jun 2011, 23:42

pavlusha wrote:how to enable scrolling wheel mouse in textpage?
Are you using Firefox?

Mousewheel scrolling already works in all browsers except Firefox. Why? There is a bug in this browser vs flash player when wmode is set to opaque, which for some reason disables the mousewheel for flash. You can workaround this by disabling the wmode setting, which is used for all html layers that hover above the flash - For example: Facebook "like", Fotomoto e-commerce, addThis "more" share button ... If you don't need any of these features, you can disable wmode, and mousewheel will again work in Firefox.

You can remove wmode in the file iv-includes/templates/index.gallery.phtml:
Code
var params = {
	allowScriptAccess: 'always',
	allowFullScreen: true,
	bgcolor: '#<?php echo $this->bkGrColor; ?>',
	wmode: 'opaque'
};
Change to:
Code
var params = {
	allowScriptAccess: 'always',
	allowFullScreen: true,
	bgcolor: '#<?php echo $this->bkGrColor; ?>'
};
Apologies for this unfortunate issue that is a bit out of our control ...
 
pavlusha
Topic Author
Posts: 11
Joined: 18 Jun 2011, 16:36

Re: scrolling in textpage

20 Jun 2011, 09:17

mjau-mjau wrote:
pavlusha wrote:how to enable scrolling wheel mouse in textpage?
Are you using Firefox?
Thanks.
I using Google Chrome
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: scrolling in textpage

20 Jun 2011, 13:03

pavlusha wrote:I using Google Chrome
Chrome/Windows? I assume this bug is for all mozilla based browsers i Windows, when wmode is enabled. The same as I mention for Firefox above applies ...

Would like to see a fix for this, but it is a bug out of our control, and we need to consider javascript to fix it ...
 
User avatar
Martin
Experienced
Posts: 651
Joined: 30 Jan 2011, 23:24

Re: scrolling in textpage

20 Jun 2011, 13:12

mjau-mjau wrote:I assume this bug is for all mozilla based browsers i Windows, when wmode is enabled. The same as I mention for Firefox above applies ...
Here on my Windows 7 only IE9 does scroll textpages... Chrome, FF, Opera nor Safari do...
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: scrolling in textpage

21 Jun 2011, 01:29

It is like this:

wmode OFF
Mousewheel scrolling works in all browsers. On Mac, we achieve this with javascript.

wmode ON
Mac: Works in all browsers, achieved by javascript plugin.
Windows IE: Works
Windows Mozilla browsers (including chrome, firefox, safari, Opera): Does not work, because of a bug with flash player vs. browser vs. wmode. If we could flip a switch to fix this, we would do so, but there is none. We will perhaps consider a javascript solution if we can get it to work ... On the web, if you search this problem, the solution is mostly "oh, this is wmode? Then I will disable wmode. solved." Unfortunately, Imagevue needs wmode:opaque if you are using either Fotomoto, Addthis extended menu, or Facebook layer ...