Created
May 3, 2015 10:58
-
-
Save andyf-7/e6479301a03321f59d6e to your computer and use it in GitHub Desktop.
J query Scroll bar detected and others div scrol
This file contains 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
jQuery( | |
function($) | |
{ | |
$('#thetable').bind('scroll', function() | |
{ | |
var s = parseInt($(this).scrollTop()) ; | |
$('#right').scrollTop(s); | |
}) | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment