PDA

View Full Version : Fade-in slideshow



kodonnel
11-12-2004, 12:49 AM
Fade-in slideshow
http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm

Is it possible to change the speed of the dissolve from banner to banner? - I see where to change the pause between images but I want the pictures to dissolve a little more slowly.

Thank you for an anticipated response to this question

ddadmin
11-16-2004, 05:06 AM
Sure. Simply locate the line:


var temp='setInterval("fadepic()",50)'

and change 50 to a larger number, such as 100 or 200.

bmdenver
11-17-2004, 03:57 AM
If you change the script per the previous post, the fade may look a little choppy. You can change the following line:

curpos+=10

to a smaller number, and that will make the transition a little smoother (and slower). I am currently using this script at www.brentmurphyphoto.com, and I like the way it turned out (other than the weirdness in Firefox, which I've address in another post.) You can view the page source for that page to see the edits I made to the script.