View Full Version : Fade Duration in Slideshow
1) Script Title: Ultimate Fade-in slideshow (v1.51)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...nslideshow.htm
3) Describe problem: Is it possible to set a variable in the call for the fade duration??
thanks
lg
Oliver
ddadmin
03-30-2008, 07:33 AM
Hmm not sure if I understand the question- are you asking how to customize the duration of the fade in animation? If so, try changing the code in red below inside the script:
fadeclear[this.slideshowid]=setInterval("fadepic(fadearray["+this.slideshowid+"])",50)
Lower (but above 0) would make it faster (ie: 10), higher would be slower (ie: 200). Another area within the code you can change as well is:
obj.degree+=10
Lower than 10 (but above 0) would make things slower , higher faster. The difference between the two is subtle, but worth experimenting with to see which one produces a smoother result.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.