Sure, inside coverflow.js, add the line in red after the existing code block:
Code:
$frame.sly({
horizontal: 1,
itemNav: 'forceCentered',
smart: 1,
activateMiddle: 1,
activateOn: 'click',
mouseDragging: 1,
touchDragging: 1,
releaseSwing: 1,
startAt: 1,
scrollBar: $wrap.find('.scrollbar'),
scrollBy: 1,
speed: 300,
elasticBounds: 1,
easing: 'swing',
dragHandle: 1,
dynamicHandle: 1,
clickBar: 1,
// Navigation buttons
pagesBar: $wrap.find('.pages'),
activatePageOn: 'click'
})
$frame.sly('toCenter')
Ref: https://github.com/darsain/sly/blob/...ocs/Methods.md
Bookmarks