Emailid
Password
         
  
    Forgot password

New user Sign Up
 

 

How to enable keyboard PageUp/Down for scrollable containers                            

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

 

Subject Author Status Date
Related Forums
Get a Website Template for Free!!!
Get a Website Template for Free!!!
Reply to Hesus!!!
Template Tutorials
Any Way to Define a Method from Outside the Class





Home | About Us | Site Map | Privacy Policy