PDA

View Full Version : DHTML Slide Show Script



dmwhipp
09-04-2004, 01:41 AM
I am using this particular slideshow script for local photography site I am building. I have it set up on a test page here: http://www.lucchiniphoto.com/galleries/test.html

Is there any way to make it so there is only 1 special effect on transition, preferably a fade in effect?

If not, how would I alter the code so there is no effect at all?
Thank you,
Deborah

cr3ative
09-04-2004, 05:33 AM
Hi Deborah,

There's a line in the script you're using which I believe to be randomizing the effect...

photoslider.filters.revealTrans.Transition=Math.floor(Math.random()*23)

So if you wanted to always set the photo to fade, you should set this line to the following:

photoslider.filters.revealTrans.Transition=12

Which produces a "dissolve" effect, the closest to a blend in the choice of 23.

Hope this helps!
cr3ative

dmwhipp
09-04-2004, 11:33 PM
Thanks cr3ative. I can't figure out how to get the mouseover effect on the arrows to work in conjunction with the slideshow script, but I added a note centered under the photos. Frankly, they don't look much like arrows in the first place (the client is always right) so the note was really needed anyway. Also, the script makes it so the page no longer validates at HTML transitional, but it is so much easier adding a photo to one page than creating a whole new page for each photo so I'm staying with the script.

I appreciate your help. I know how to implement codes, but not write them. It would have taken me days of research to figure out how to fix that.
Many thanks,
Deborah