Skip to content

Commit

Permalink
Added a FAQ about ajax requests and jScrollPane...
Browse files Browse the repository at this point in the history
  • Loading branch information
vitch authored and Alexander Farkas committed Oct 6, 2010
1 parent d9fcf49 commit d8bb323
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions faqs.html
Expand Up @@ -37,6 +37,16 @@ <h2 id="webkit-broken">Why does my scrollbar only appear intermittantly in Webki
In Webkit based browsers (e.g. Safari, Chrome, iOS and Android) there is a known issue where you must
include your CSS before your JS. <a href="known_issues.html#webkit-css-first">More info</a>.
</p>
<h2 id="ajax-disappearing-scrollbar">Why does my scrollbar disappear when I reinitialise my jScrollPane after updating the content with ajax?</h2>
<p>
jScrollPane version 2 places the scrollbar and associated controls <strong>inside</strong> the element you apply jScrollPane to. This means that
any positional styling on the containing element continues to work correctly and also allows us to calculate size changes correctly when the
parent element's size changes.
</p>
<p>
Because of this you can't simply replace the contents of jScrollPane. Instead you need to use the <a href="api.html#getContentPane">
getContentPane</a> API method as shown in the <a href="ajax.html">ajax</a> and <a href="dynamic_content.html">dynamic content</a> examples.
</p>
</div>
</body>
</html>

0 comments on commit d8bb323

Please sign in to comment.