[jQuery] jscrollpane: how to modify outside content depending on scroll position?

[jQuery] jscrollpane: how to modify outside content depending on scroll position?


Hi!
Using jScrollPane, I'd like to show a grahpical marker NOT included in
the scrolling div.
Use Case:
1. Page shows with [div class="scroll"] jScrollPane - all works fine,
content is displayed at the top
2. Outside the .scroll div, I have two pictures (pUp and pDown:
arrows) displayed to indicate that scrolling is available
3. At start pUp is hidden, pDown is visible
4. user starts to scroll down
5. pUp is shown
6. user reaches the bottom of the scroll area
7. pDown is hidden
8. user scrolls back up
9. pDown is shown
10. user reaches the top
11. pUp is hidden
Is there a callback function in jScrollPane or a property/selector
that I can check with jQuery to trigger hiding/showing the arrows?
Many thanx in advance!
Volker