Advanced Search

Results 1 to 3 of 3

Thread: Fade Duration in Slideshow

  1. #1
    Join Date
    Mar 2008
    Posts
    4
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default 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

  2. #2
    Join Date
    Aug 2004
    Posts
    9,864
    Thanks
    3
    Thanked 960 Times in 949 Posts
    Blog Entries
    15

    Default

    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:

    Code:
    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:

    Code:
    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.

  3. The Following User Says Thank You to ddadmin For This Useful Post:

    xOli (03-30-2008)

  4. #3
    Join Date
    Mar 2008
    Posts
    4
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    Perfect ... thanks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •