Page 1 of 1

scrolling in textpage

Posted: 19 Jun 2011, 08:38
by pavlusha
how to enable scrolling wheel mouse in textpage?

Re: scrolling in textpage

Posted: 19 Jun 2011, 23:42
by mjau-mjau
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 ...

Re: scrolling in textpage

Posted: 20 Jun 2011, 09:17
by pavlusha
mjau-mjau wrote:
pavlusha wrote:how to enable scrolling wheel mouse in textpage?
Are you using Firefox?
Thanks.
I using Google Chrome

Re: scrolling in textpage

Posted: 20 Jun 2011, 13:03
by mjau-mjau
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 ...

Re: scrolling in textpage

Posted: 20 Jun 2011, 13:12
by Martin
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...

Re: scrolling in textpage

Posted: 21 Jun 2011, 01:29
by mjau-mjau
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 ...