(Firefox) new HTML5 update kills fading effect

Phoca Gallery - image gallery extension
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: (Firefox) new HTML5 update kills fading effect

Post by Jan »

Hi, yes, as I am using the FF3.5 too, I know this problem. I am waiting if there will be some changes in slideshow javascript.

maybe there : http://www.dynamicdrive.com/ will be some news about this problem :idea:

Jan
If you find Phoca extensions useful, please support the project
magicone
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 20 Apr 2009, 19:48

Re: (Firefox) new HTML5 update kills fading effect

Post by magicone »

I solved this bug. :D
I added a option of "opacity:10;" to end line of effect.
and correct transition from to of all images.
Replace in file "\plugins\content\phocagalleryslideshow.js" line 56 e 57 with this:

Code: Select all

if (iebrowser&&dom||dom) //if IE5+ or modern browsers (ie: Firefox)
contentdiv.innerHTML='<div id="master'+this.slideshowid+'" style="position:relative;width:'+fadewidth+'px;height:'+fadeheight+'px;left:0;right:0;overflow:auto;"><div id="'+this.canvasbase+'_0" style="position:absolute;width:110%;height:'+fadeheight+'px;top:150;right:0;filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);-moz-opacity:10;-khtml-opacity:10;opacity:10;background-color:'+fadebgcolor+'"></div><div id="'+this.canvasbase+'_1" style="position:absolute;width:110%;height:'+fadeheight+'px;top:150;right:0;filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);-moz-opacity:10;-khtml-opacity:10;opacity:10;background-color:'+fadebgcolor+'"></div></div>';
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: (Firefox) new HTML5 update kills fading effect

Post by Jan »

Great, please let me know where exactly did you add the opacity: 10.

Jan
If you find Phoca extensions useful, please support the project
Post Reply