[jQuery] jScrollPane scrollTo bottom of a div without event
Hi,
I trying to scroll to the bottom part of a div which is filled with
dynamic content with a short interval.
I tried:
$('#content).html(new_content);
$('#content').jScrollPane({scrollbarWidth:9,animateTo:true});
$('#content')[0].scrollTo('span.bottom');
... and other things, but without luck. I Don't really understand the
examples on the homepage of th jScrollPane page. Maybe it is different
when using the click event.
Anyone knows how to do this?
Thnx!
- Charlie