| Author Name |
Status |
Posted Time |
| rub theweb |
|
12/16/2009 2:11:46 AM |
| Author is Offline |
|
How to enable keyboard PageUp/Down for scrollable containers (elements having overflow: auto or scroll)?
Such elements shall be "focusable" to be able to accept keyboard input. To declare any element to be focusable it is enough to define attribute tabindex="0" for it. Thus if element has style overflow: auto or scroll and tabindex="0" then it will accept focus and will be scrollable by pressing PageUp/Down, Home/End keys. Thanks
|