elastislide move one at a time

983 views Asked by At

I'd like to move one image at a time with the elastislide plugin put can't figure it out. I read on the plugin comments that you can change line 295 from this: var amount = this.fitCount * this.itemW, val; to this: var amount = this.itemW; but the code has been updated since the post in 2012 and no longer works. Can someone please help me.

2

There are 2 answers

0
user2664680 On

Update code from :

var amount = this.fitCount * itemSpace; 

to

var amount = 1 * itemSpace;
1
Heatonjb On

The above answer works but you could also use the public method _slideTo to move the carousel/slider to individual slides.