How to solve jScrollpane to work when event occurs showing ONLY X scroll?

37 views
Skip to first unread message

Matjaz Toplisek

unread,
Feb 6, 2015, 9:40:42 AM2/6/15
to jscro...@googlegroups.com
I have tested code but it does not work.
How to solve jScrollpane to work when event occurs showing ONLY X scroll:
$(function()
{
$('.modal').on('shown.bs.modal', function (event, scrollPositionX, isAtTop, isAtBottom)
{
$('.scroll-pane').jScrollPane();
console.log('Handle-scroll-x', this,
'scrollPositionX=', scrollPositionX,
'isAtLeft=', isAtLeft,
'isAtRight=', isAtRight);
}
);
}
);
Reply all
Reply to author
Forward
0 new messages