0.9.0 • Published 5 years ago

jquery.finescroller v0.9.0

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

jquery.fineScroller

Bare-bones size-independent infinite horizontal items scroller jQuery plugin. Optionally uses jquery.transit library (if loaded) to provide smooth CSS animation if supported by browser. Falls back to jQuery.animate().

  • can't get any more lightweight than this
  • adapts to your html and styles
  • as minimal and unopinionated as it gets

Usage

$('.item-container').fineScroller();

Default HTML structure

<div class="item-container">
	<div class="item">
		Single Item
	</div>

	<div class="item">
		Single Item
	</div>
</div>

Options

  • cycleTime : time in ms to do a full cycle. default: 1000
  • duplicates : if the scrolling leaves empty space, add some item duplicates to fill up the container. default: 0
  • sliderItem : override the default inner item selector of '.item'

Install using Bower

bower install jquery.fineScroller --save-dev