jquery plugin for horizontal scrolling
This is simple jquery plugin for horizontal scrolling for multuple items per view.It includes left and right scrolling buttons and that can be customize. One can customize the setting options as described below:
{
'containerWrapper': '',
'animateTime' :1000,
'btnColor':'#e03131',
'sliderItem':'.x-scroll-item'
}
$.xScroll(
'.x-scroll-jq',
{containerWrapper:'#x-scroll-jq'}
);
var scrollContainer=".x-scroll-jq";
$.xScroll(scrollContainer,{containerWrapper:"#x-scroll-jq"});
$.xScroll(scrollContainer,{containerWrapper:"#x-scroll-jq-2"});
It depends on the JQUERY plug in, so before using this, make sure you have jquery libarary is loaded.
$.xScroll('.x-scroll-jq');
<link rel='stylesheet' href="/bower_components/xScroll/xScroll.min.css">
<script type="text/javascript" src="/bower_components/xScroll/xScroll.min.js"></script>
bower install x-scroll