- Create Account

Help with Mozopacity fix

Forums > PhotoMorpher > Help with Mozopacity fix
Author
Message

1) ac_bend Group: Members
Posts: 1 Joined: 28 Aug 2006 Location: IP: 71.222.--.--
hi, I came across your script while searching for a fix for a javascript slideshow that does not fade in Safari (Mozilla) browsers...I have been away from web dev for several years, so please exuse my ignorance!
Is there a quick fix to apply to check for browser and then apply so the fade works in Safari. I am hoping to combine multiple slideshows which all autoplay, and works fine in IE.
My work in progress: http://www.feedbackgraphics.com/dognewv1.htm
FYI: I especially liked your Mt white website gallery because I lived in NZ for 12 years and have many similar mtn bike photos...
Thanks for any and all advice.
cheers, andy

2) Angus Turnbull Group: Moderators
Posts: 4042 Joined: 7 Dec 2003 Location: New Zealand IP: 202.36.--.--
Sure, opacity is a CSS3 property these days so just set element.style.opacity to a number between 0 and 1. You can also set style.MozOpacity which will work in pre-1.7 versions of Mozilla, but they're getting antiquated now. I just set them both without doing browser testing.

Glad you liked the Mt White site too :).

-  Angus.

Post a Reply:

You are not logged in, and will be posting anonymously as a guest. If you want to post using an account, please login at the top of this page.