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.
Asked
Active
Viewed 980 times
0

JohnThomas
- 273
- 1
- 2
- 10
2 Answers
4
Update code from :
var amount = this.fitCount * itemSpace;
to
var amount = 1 * itemSpace;

Nunser
- 4,512
- 8
- 25
- 37

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

Heatonjb
- 59
- 6
-
My suggestion would be to expand on this answer significantly to include some code or an example of how to use this. At this point this is more of a comment then an actual answer to the question. – Taryn Nov 06 '13 at 13:25