hello richard,
of course will i change the behavior. you're right in saying that it
makes much more sense if all use the same.
thanks for the input.
dirk

On 3 Feb., 14:03, "Richard D. Worth" <[email protected]> wrote:
> The design of the slider is to react to the following keypresses while the
> slider handle is active (by click or tab focus): UP, DOWN, LEFT, RIGHT,
> HOME, END. Whether horizontal or vertical orientation, UP and RIGHT will
> always increase the value by one step. DOWN and LEFT will always decrease it
> by one step. HOME will jump to the min, END will jump to the max. If you're
> interested, this is all specified on the slider design and planning wiki
> page:
>
> http://wiki.jqueryui.com/Slider(see Section 3)
>
> One of the goals of jQuery UI is to provide consistent and standard User
> Interface controls. I wonder if you've considered that changing the way your
> UI Slider behaves could prove confusing to users. That said, I don't know if
> there's a supported way to override the existing behavior and introduce your
> own.
>
> - Richard
>
> On Mon, Feb 2, 2009 at 9:44 AM, dirk w <[email protected]> wrote:
>
> > hello ui community,
> > i would like to make my slider movable by the keyboard arrows like
> > this:
>
> > left = left
> > right = right
> > up = left edge
> > down = right edge
>
> > i already got the hot keys plugin (http://code.google.com/p/js-
> > hotkeys/ <http://code.google.com/p/js-%0Ahotkeys/>) running.
> > i am getting the actual position of the slider now but i don't know
> > how to move it.
>
> > $(document).bind('keydown', 'left', function()
> > {
> >        var reglerPos = $("#crossfaderHandler").position().left;
> >               //      how to move the crossfader:
> >              //       left position - 10px, or so;
> > });
>
> > also i noticed that it was already possible to move the slider to the
> > left and to the right (with the arrow keys) if you clicked it before.
> > i guess this is something the browsers are doing? is it possible to
> > turn this off (since i am going to replace it with my own
> > functionality anyway)?
>
> > looking forward to reading from you
> > dirk
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to