[Plugin: Slideshow Gallery Pro] Chrome opacity
-
Hi,
I’ve noticed that the opacity of the images does not work well in Chrome. For example, open your site https://cameronpreston.com/projects/plugins/slideshow-gallery-pro/ and you will see that the images do not show properly.
To fix it, in js/gallery.js, function TINY.alpha, replace
tw:function(e,a,d,s){
var o=Math.round(e.style.opacity*100);
if(o==a){clearInterval(e.ai)}else{var n=o+Math.ceil(Math.abs(a-o)/s)*d; e.style.opacity=n/100; e.style.filter='alpha(opacity='+n+')'}
}
by
tw:function(e,a,d,s){
var y = e.style.opacity.replace(',', '.');
var o=Math.round(parseFloat(y)*100);
if(o==a){clearInterval(e.ai)}else{var n=o+Math.ceil(Math.abs(a-o)/s)*d; e.style.opacity=n/100; e.style.filter='alpha(opacity='+n+')'}
}
Would be nice to see this bug fix integrated in the next version of the plugin ??
https://www.ads-software.com/extend/plugins/slideshow-gallery-pro/
- The topic ‘[Plugin: Slideshow Gallery Pro] Chrome opacity’ is closed to new replies.