jQuery carousel scrolling plugin (Original)

Last updated: 2019/4/29 9:17:52 AM
Changelog:Fixed a bug that caused white borders around images.
Last updated: 2019/4/11 5:39:06 PM
Changelog:Updated the usage instructions.
This plugin only requires adjusting two parameters.
1. speed (optional): Scrolling interval. Default value: 3000 (3 seconds).
2. direction (optional): Scrolling direction. 'vertical' for upward scrolling and 'horizantal' for leftward scrolling. Default value: 'horizantal'.
1 2 3 | $('.singleScroll').mySingleScroll({speed: 3000,direction:'horizantal'});// You can also initialize it directly$('.singleScroll').mySingleScroll(); |
Last updated: 2019/4/3 3:11:21 PM
Changelog:Some users left comments saying that the transitions felt a little abrupt. They hoped for smoother transitions, so I made some changes to add easing effects. Thank you all for your valuable feedback.
Release date: 2019-03-19 21:36:10
Usage
This plugin only requires adjusting two parameters.
1. speed (optional): Scrolling interval. Default value: 3000 (3 seconds).
2. 2. direction (optional): Scrolling direction. 'vertical' for upward scrolling and 'horizantal' for leftward scrolling. Default value: 'horizantal'.
1 2 3 4 | $('.singleScroll').singleScroll({ speed: 3000, direction: 'horizantal'}); |
You can also initialize it directly.
1 | $('.singleScroll').singleScroll(); |