Closed GoogleCodeExporter closed 9 years ago
If you add a wrapper div manually with a class of jScrollPaneContainer then you
will have errors in IE and jScrollPane won't work correctly...
What CSS do you have on the div you are applying jScrollPane to? You should
have minimal CSS on this div (particularly positioning stuff like position,
float, margin and padding). If you need stuff like this then put it on an
external div and apply jScrollPane to the internal div...
Original comment by kelvin.l...@gmail.com
on 5 Aug 2010 at 9:55
Ok, I've done what you said and that seems to have fixed at least that issue,
but the scrollbar isn't proportional to the content. I've also had a very
difficult time figuring out how to set a custom height to the scrollbar since
it seems to ignore any value I give it in the stylesheet for the track.
Here's the link to a working version of the theme I'm developing with it:
http://dev.mercyscross.com/community/
Once this issue is resolved, could you please remove this link?
Here is my init settings for it as well:
jQuery(function() { jQuery('#post-box').jScrollPane({ topCapHeight: 20,
bottomCapHeight: 10 }); });
Thank you for the fast reply and help!
Original comment by amereser...@gmail.com
on 5 Aug 2010 at 8:20
I'm afraid that I can't see what the problem is from a quick look at the page.
Although I notice you are floating the jScrollPaneTrack right instead of
positioning it absolutely. Did you change any of the other core CSS?
The new version of jScrollPane is nearly finished and will be released over the
next few days - you may be best off waiting for that to see if it fixes your
problems - it is a complete rewrite and hopefully should be more solid and
robust...
Original comment by kelvin.l...@gmail.com
on 6 Aug 2010 at 1:41
The issue can be seen if you try scrolling down. The scroll "drag" doesn't go
to the bottom of the scroll track, but instead only partially, or is this how
it's designed to work?
It would make better sense if it moved the full length of the track and
accommodated the content length, however short or long it may be.
I'll definitely check out the new version. I've got to get this layout
finished and launched within the next couple of days and this script is the
only one I could find that didn't involve me having to work from a very basic
scrollbar based on jQueryUI and piece in the rest of the stuff, which I'm still
a somewhat newbie to jQuery, so that was going to be a ton of work.
I'd really like to get this one working correctly because you've done a lot of
work on it and it works well aside from the issues I've encountered and it's
using jQuery, which I'd rather stick to than using some other library since
it's what I'm familiar with.
Thanks for your help.
Original comment by amereser...@gmail.com
on 6 Aug 2010 at 2:30
Never mind on my issue. I didn't realize the drag was automatically changing
height, so when it would expand, I didn't see it since the background image was
only 60px tall. I thought the drag wasn't going all the way to the bottom
because of that.Thank you.
Original comment by amereser...@gmail.com
on 7 Aug 2010 at 3:36
Glad you figured it out :) If you want to use a fixed size image you can pass
in the dragMinWidth and dragMaxWidth parameters as the fixed size you want the
drag to be (although for usability I would recommend leaving the drag dynamic
height).
Original comment by kelvin.l...@gmail.com
on 7 Aug 2010 at 5:43
Original issue reported on code.google.com by
amereser...@gmail.com
on 5 Aug 2010 at 7:05