Closed omidMolaverdi closed 3 years ago
You set the direction
property to 'left'
. The demo page has an example:
$('button.scrollhorz').bind('click', function(event) {
$.smoothScroll({
direction: 'left',
scrollElement: $('div.scrollme'),
scrollTarget: '.horiz'
});
});
If you're scrolling the document, just remove the scrollElement: $('div.scrollme'),
line.
Hi,
Thanks for the great package.
Please can you advice how the horizontal scroll works?