emodev
02-05-2008, 12:11 AM
1) Script Title: Ultimate Fade-in slideshow
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm
3) Describe problem:
I'm using this script to cycle through logo images, each image is of a set width with a solid white background, and the logo centered over the white background and saved as a jpeg. All images use no transparency at all. The logos are of differing shapes & sizes.
I've noticed in Firefox (using Firebug) that the maximum opacity gets to 0.990099 due to the division by 101 for moz-opacity on lines 78 and 134, which results in darker colours in background images creating a shadow under the top image.
As a quick test I've changed the /101 to /100.0001 which results in opacity getting to 0.999999 and the shadows are no longer visible.
I assume the script was written this way due to problems handling an opacity of 1 in mozilla, could you possibly share any info you have on the issue so that I can determine the best way to handle it? Any suggestions you have will also be welcomed.
Thanks
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm
3) Describe problem:
I'm using this script to cycle through logo images, each image is of a set width with a solid white background, and the logo centered over the white background and saved as a jpeg. All images use no transparency at all. The logos are of differing shapes & sizes.
I've noticed in Firefox (using Firebug) that the maximum opacity gets to 0.990099 due to the division by 101 for moz-opacity on lines 78 and 134, which results in darker colours in background images creating a shadow under the top image.
As a quick test I've changed the /101 to /100.0001 which results in opacity getting to 0.999999 and the shadows are no longer visible.
I assume the script was written this way due to problems handling an opacity of 1 in mozilla, could you possibly share any info you have on the issue so that I can determine the best way to handle it? Any suggestions you have will also be welcomed.
Thanks