Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #217392

    Hi Guys

    Do you have any code to stop the full width easy slider on the last slide. 1 loop and finish

    Thanks

    Pete

    #218685

    Hi Samlibs!

    Try to replace following code in

    
    if( this.isAnimating || this.itemsCount < 2 )
    {
    	return false;
    }
    

    with

    
    if( this.isAnimating || this.itemsCount < 2 )
    {
    	return false;
    }
    
    if( dir === 'next' && this.current >= this.itemsCount - 1 )
    {
    this._stopSlideshow();
    return false;
    }
    

    Regards,
    Peter

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Full width easy slider – Stop on last slide’ is closed to new replies.