jScrollPane

Ajax example

This simple example shows how you can load content into a jScrollPane via AJAX and reinitialise the jScrollPane so it displays scrollbars in the correct place. The important thing to note is that I use the callback parameter of the load function to call a method which reinitialises the scroll pane.

#pane1

No content yet!

You can load the ajax content by clicking here. If you want to remove it again then just click here. View source to see how it works.