Last active
December 22, 2015 05:48
-
-
Save jennschiffer/6426123 to your computer and use it in GitHub Desktop.
scrollers anywhere call
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// $gridRegular = a jsgrid table | |
var $outerScroller = $gridRegular.closest('.inner'); | |
$gridRegular.scrollersAnywhere({ | |
scrollerLocation : { | |
element : $outerScroller.parent(), | |
placeWhere : 'before', | |
}, | |
scrollerID : 'top-scroll-' + gridRegularID, | |
innerWidth : $gridRegular.width(), | |
outerWidth : '100%', | |
nativeScrollerLocation : $outerScroller, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment