YAHOO.widget.OverlayManager
OverlayManager Example
OverlayManager is used to manage the focused state of a collection of Overlay objects. Creating an OverlayManager and registering an Overlay is simple:
mgr = new YAHOO.widget.OverlayManager();
mgr.register(myOverlay);
Note that when you click on an Overlay, the Overlay is highlighted, indicating that it currently has the focus. This is because the OverlayManager keeps track of which of the registered Overlays currently is focused, and ensures that the z-index of that Overlay is the highest.
Predefined Overlay Header
I was created using simple predefined markup.
Predefined Overlay Footer
Placeholder Header
This is only placeholder text in the markup.
Placeholder Footer
yui.zip( 3,714 k)