jquery - jScrollPane autoReinitialise and animateScroll -


i have jscrollpane (jquery) problem

i use jscrollpane on website. have dynamic content makes scroll-area larger. makes attribute autoreinitialise mandatory. want use animatescroll attribute, if use @ same time, scrollbar wil go mad (mad tell you!).

does know what's that?

http://www.bidadari.nl/?page_id=98

var pane = jquery("#scroll_area"); pane.jscrollpane({     autoreinitialise: true,     showarrows: true,     verticalarrowpositions: "split",     horizontalarrowpositions: "split",     animatescroll: true }); var api = pane.data("jsp"); jquery("#button_step_right").bind("click", function() {     api.scrollbyx(750);     return false;        }); 

thanks!

eric

ah. correct answer was:

var pane = jquery("#scroll_area"); pane.jscrollpane({    autoreinitialise: true,    showarrows: true,    verticalarrowpositions: "split",    horizontalarrowpositions: "split",   /// animatescroll: true });    var api = pane.data("jsp");    jquery("#button_step_right").bind("click", function() {    api.scrollbyx(750, true); /// <- true    return false;        }); 

Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -