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.
> 
>     -- 
>     Yehuda Katz
>     Web Developer | Wycats Designs
>     (ph)  718.877.1325
> 
> 
> 
> 
>     -- 
>     Yehuda Katz
>     Web Developer | Wycats Designs
>     (ph)  718.877.1325
> 
> 
>     _______________________________________________
>     jQuery mailing list
>     discuss@jquery.com <mailto:discuss@jquery.com>
>     http://jquery.com/discuss/

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to