Treehouse: Grow your CSS skills. Land your dream job.

Anythingslider: Setting the animationTime to 0 for the first slide only

  • # September 15, 2012 at 6:03 am

    Hi there, awesome plugin –

    If I try and click a navigation button once the page has loaded and the click occurs within the ‘animationTime’, the navigation click does not trigger the next slide. However the callback for onSlideBegin is still called as if it’s loading a new slide.

    The undesired affect is causing my callbacks to run without the slide animating!

    I could look into a hacky way to reduce the 1st slide animationTime to 0 fo rthe first slide then resetting it to the desired time afterwards. But I just wanted to see if you / anyone had any other suggestions?

    Many thanks!

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.