jijo-paulose / jscrollpane

Automatically exported from code.google.com/p/jscrollpane
0 stars 0 forks source link

Add onScroll listener for callback functions #234

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I would like to fire some callback fuction when the scroll is performed. So I 
need some listener like onScroll, or better onScrollStart and onScrollEnd.

Using $('.jspPane').scroll(function() { ... }); does not work for me.

Original issue reported on code.google.com by jerzyglowacki on 12 Nov 2010 at 2:36

GoogleCodeExporter commented 9 years ago
If you are using version 2 of jScrollPane you should be listening for the 
"jsp-scroll-x" or "jsp-scroll-y" events:

http://jscrollpane.kelvinluck.com/events.html

If you need further help please see here for information on support for 
jScrollPane 2 (googlecode is no longer used):
http://jscrollpane.kelvinluck.com/#support

Original comment by kelvin.l...@gmail.com on 14 Nov 2010 at 1:42