erik-krogh / SudoSlider

The most versatile jQuery content slider
36 stars 24 forks source link

Bug in the demo Thumbnails 2 #53

Closed Kennersky closed 8 years ago

Kennersky commented 8 years ago

This demo will see three thumbnail images when it init with only one ajax image. Like bellow: var ajaximages = [ '../images/01.jpg' ]; 1 How to fix that?

webbiesdk commented 8 years ago

It is by design. In that particular demo i wanted to have the thumbnails "wrap around". (And at the time that i designed it, that effect couldn't be achieved easily with SudoSlider). So that if one animated from slide 1 to 3, then the thumbnails would animate nicely, even when there are 4 visible thumbnails and 5 total thumbnails.

The demos are mostly meant to demonstrate what is possible, so this isn't a bug in SudoSlider, it a "design flaw" in one of the demonstrations of the slider.

Kennersky commented 8 years ago

But that thumbnail couldn't stay the right current active when it initialized. like below: 2 The perfect status is activing the first thumbnail,but it is not.