Cool! I hope my efforts were useful in your updates! I noticed a slight glitch in IE with the OSX display, which could easily be resolved by simply moving the dragger's z-index in front of the bar (and perhaps some sort of png opacity fix).
-- Yehuda On 1/22/07, Kelvin Luck <[EMAIL PROTECTED]> wrote:
OK - I've done some tweaks to the jScrollPane plugin... There is now an optional parameter "showArrows" which controls whether or not control arrows appear at the top and the bottom of the scroller: http://www.kelvinluck.com/assets/jquery/jScrollPane/jScrollPane.html I've also made it easier to do advanced skinning of the bar through CSS - check out the examples here: http://www.kelvinluck.com/assets/jquery/jScrollPane/examples.html Feedback appreciated, Kelvin :) Kelvin Luck wrote: > Hi, > > Nice enhancements Yehuda - I'll integrate some of these ideas into the > main branch of the plugin tonight... > > I have a couple of issues. Like Marshall, I think that clicking and > holding an arrow should continue scrolling down as an OS scrollbar does. > See what happens when you click and hold the mouse on an empty bit of > track in my example (in fact, I haven't tried Safari so it might not > happen there so check in FF if you don't see what I'm describing). There > is already the code in the plugin which deals with setting the interval > and with speeding up the scroll as the mouse button is held down for > longer (like a default OS scrollbar works). > > Also, the keyboard support seems kind of strange... How useful is > keyboard support if you have to mouseover an element to initialise it... > I think that if there is keyboard support it should let you tab to > select a pane and then the keyboard support should be initialised (e.g. > onfocus). Again, this is how the os scrollbars work. > > Anyway, I'll add in optional arrow buttons tonight and let the list know > when my page is updated, > > Cheers, > > Kelvin :) > > Yehuda Katz wrote: >> Done. >> >> However, it does not seem like mousedown continues firing if you hold it >> down. If you like, I can do a setInterval on mousedown that continues >> firing the action until mouseup (when I clear the interval). Does that >> sound reasonable? >> >> Tomorrow, I will work on IE support, and making the scroll pane work >> with less CSS. >> >> -- Yehuda >> >> On 1/21/07, *Marshall Salinger* < [EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]>> wrote: >> >> The up and down arrows only scroll the pane after releasing the >> mouse button. I was expecting them to start scrolling the content >> while clicking and holding the mouse button down. Similar to how it >> scrolls when clicking in the middle of the scrollbar area. >> >> >> >> -Marshall >> >> >> >> -----Original Message----- >> *From:* [EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]> >> [mailto:[EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]>] *On Behalf Of *Yehuda Katz >> *Sent:* Sunday, January 21, 2007 7:47 PM >> *To:* jQuery Discussion. >> *Subject:* Re: [jQuery] Kelvin's Scroll Pane >> >> >> >> I'm not sure what you mean. >> >> -- Yehuda >> >> On 1/21/07, *Marshall Salinger* < [EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]>> wrote: >> >> Yehuda , >> >> >> >> These are great enhancements to the scrollbar plugin. Would it be >> possible to have it scroll on mousedown? >> >> >> >> Thanks, >> Marshall >> >> >> >> -----Original Message----- >> *From:* [EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]> >> [mailto:[EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]>] *On Behalf Of *Yehuda Katz >> *Sent:* Saturday, January 20, 2007 7:31 PM >> *To:* jQuery Discussion. >> *Subject:* Re: [jQuery] Kelvin's Scroll Pane >> >> >> >> And to see what the new scroll pane is capable of, I have updated >> the demo: >> >> http://www.visualjquery.com/scroll_pane/index.htm >> >> On 1/20/07, *Yehuda Katz* < [EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]>> wrote: >> >> Hey Guys, >> >> I have been working on a project that could make use of Kelvin's >> scroll pane. >> >> I have made a few enhancements: >> * Keyboard support >> * Separate top/middle/bottom elements for the dragger >> * "activated" class for track when scrolling or key action is possible >> >> This means that you can now have a pretty scrollbar that has a >> separate activated/deactivated state. >> >> Take a look at: http://www.visualjquery.com/scroll_pane/index.htm >> <http://www.visualjquery.com/scroll_pane/index.htm> >> >> It's not fully ready, so any feedback would be most appreciated. >> _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
-- Yehuda Katz Web Developer | Wycats Designs (ph) 718.877.1325
_______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/