YUI recommends YUI 3.

YUI 2 has been deprecated since 2011. This site acts as an archive for files and documentation.

Implementing Container Keyboard Shortcuts with KeyListener

The KeyListener class integrates with the Container family allowing you to specify specific keys or key combinations to show and hide your containers.

panel1: