PDA

View Full Version : Gradual Element Fader - Want to fade out instead of fade in



jeremyc
01-08-2009, 08:27 PM
1) Script Title: Gradual Element Fader

2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex11/gradualfader.htm

3) Describe problem:
This script starts with a faded image and, upon mouseover, makes it brighter. I'm wondering if there is a way to reverse this. That is, have the original image be normal, and upon mouseover, have it fade.

In other words, this script fades in and I'm wondering if it can be tweaked to fade out...or if there is another script that does that.

thank you

ddadmin
01-09-2009, 02:45 AM
See if this thread answers your question: http://www.dynamicdrive.com/forums/showthread.php?t=30677

jeremyc
01-09-2009, 04:16 AM
Thank you for the reply. I checked out the post you linked and made the changes suggested. The result is that it sort of worked. Here is the page:

http://www.ronkaplanphotography.com/c-test.html

I'm trying to get the fade out effect on the left side thumbnails. Currently, I only have the first four thumbnails (the first row) activated with the effect. On both IE and Firefox the first four pictures are loading already faded. Upon mouseover, they do indeed go back to 100% opacity, and then the fade out effect works as I'd like.

I believe that they are loading with the whatever 'baseopacity' is set to. I'd like the base opacity to be 100% opacity and then fade on mouseover.

PS - It's also weird that the very first picture isn't reacting at all...but I'll deal with that later...

Thanks for your help.

jeremyc
01-09-2009, 04:40 AM
Wow, sorry. My bad. I looked at the post you linked and changed a 0 to a 1 instead of actually changing the baseopacity line. Thanks so much for the help.