Gallery

The Gallery is deprecated. No new Gallery components may be submitted, and modifying existing components is disabled. For more information please read the Gallery Deprecation blog post. This is a static snapshot of the Gallery for archive purposes.

Eric Ferraiuolo

YUI Developer

This is a collection of Plugins to be used with Overlays. I found myself replicating this code over-and-over for each Overlay instance so I decided to roll them up into one module.

Modal masks the underlying content making the Overlay the only thing that the user can interact with.

KeepAligned maintains the Overlay's position during window-resize and scrolling.

AutoHide will hide the Overlay if the user clicks or focuses on an element outside of the Overlay or presses the escape key. These three events can be turned on/off via configuration attributes: clickedOutside, focusedOutside, pressedEscape; all booleans.