jScrollPane

jScrollPane - automatic reinitialisation demo page

This demonstration shows how you can tell jScrollPane to automatically reinitialise itself. You do this by passing in autoReinitialise: true as a setting. If you do this then the scrollpane attempts to reinitialise itself every autoReinitialiseDelay miliseconds.

Note that there is obviously a processing overhead associated with this method as the script is running repeatedly in the background. For this reason autoReinitialise is false by default and if possible you are recommended to manually reinitialise jScrollPane when you add content to it. However, in some situations this isn't possible so the autoReinitialise method is provided for convenience.

Page javascript

The contents of this div will be replaced by the javascript added to this page

Page CSS

The contents of this div will be replaced by the CSS added to this page