Skip to main content

Bug Tracker

Side navigation

#4103 closed bug (invalid)

Opened February 10, 2009 07:00AM UTC

Closed February 12, 2009 04:11AM UTC

Keyboard( arrow keys) controls for slider nopt working with slider.js 1.6rc6 and core.js

Reported by: Ranjith Owned by:
Priority: major Milestone: 1.3.2
Component: unfiled Version: 1.3.1
Keywords: slider Cc: psranjithkumar@gmail.com
Blocked by: Blocking:
Description

I am not able to use the keyboard(arrow keys, home, end keys..) control for slider to move the slider bar by using slider.js version 1.6rc6 and core.js.

In slider.js 1.6 hhen i remove the ui in the below code the keyboard(arrow keys, home, end keys..) control is working.

And noe code is written for UP and DOWN arrow keys.

switch (event.keyCode) {

case $.ui.keyCode.HOME:

newVal = self._valueMin();

break;

case $.ui.keyCode.END:

newVal = self._valueMax();

break;

case $.ui.keyCode.UP:

case $.ui.keyCode.RIGHT:

if(curVal == self._valueMax()) return;

newVal = curVal + step;

break;

case $.ui.keyCode.DOWN:

case $.ui.keyCode.LEFT:

if(curVal == self._valueMin()) return;

newVal = curVal - step;

break;

}

I do not know whether it is a bug or whether alternative ways are there to solve it.

Please let me know how to solve this

Attachments (0)
Change History (1)

Changed February 12, 2009 04:11AM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed

Probably best to ask in the UI group, and open a bug in the UI tracker if it seems like it's really a bug. This tracker only handles jQuery core.

http://groups.google.com/group/jquery-ui

http://dev.jqueryui.com/