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/) 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