Results 1 to 3 of 3

Thread: Animation problems in Step Carousel's 'onslide' method

  1. #1
    Join Date
    Dec 2008
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Unhappy Animation problems in Step Carousel's 'onslide' method

    1) Script Title: Step Carousel Viewer v1.6.1

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...epcarousel.htm

    3) Describe problem:

    When I try to animate elements in 'onslide' method, not all elements are animated. Moreover every time count of animated elements are decreased.

    I attached example for details.

    Please help what can be the reason of that behavior.


    Thanks in advance.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Wow that was an elusive one- took me quite some tinkering to get to the heart of it. Inside the .js file, find and remove the code in red:

    Code:
    			config.onslideaction=(typeof config.onslide=="undefined")? function(){} : function(beltobj){$(beltobj).stop(); config.onslide()} //attach custom "onslide" event handler
    I can't remember why now I opted to stop the animation of the carousel each time onslide() was called, but there probably was a good reason, so in case you uncover any issues after removing the above, let me know. In the meantime, that should take care of the issue you were having.
    DD Admin

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

    djiva (12-26-2008)

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

    Default

    I seems like you advice resolve the problem. I will post here if I encounter any issues because of the change.

    Many Thanks to you!

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
  •