erik-krogh / SudoSlider

The most versatile jQuery content slider
36 stars 24 forks source link

TAB key on input text between slides #37

Closed ghost closed 9 years ago

ghost commented 9 years ago

When 2 slides have got one or more input text and you click the TAB key on the last input text of the first slide (focused), the focus passes to the first input of the second one and the slider breaks out.

webbiesdk commented 9 years ago

You might be able to use something like this: http://stackoverflow.com/questions/1561021/prevent-tabstop-on-a-element-anchor-link-in-html

With that you should be able to stop all tabbing between input fields.

You can properly do something where all the inputs on non-active slides get tabindex=-1 with some JavaScript. (That i can do, but wont do for free).