Lines Matching refs:Overlay
722 * and Overlay are the most basic containers, and they can be used directly
724 * are four UI controls that extend Module and Overlay: Tooltip, Panel,
1909 * Overlay is a Module that is absolutely positioned above the page flow. It
1911 * controlling zIndex and constraining the Overlay's position to the current
1912 * visible viewport. Overlay also contains a dynamicly generated IFRAME which
1916 * @class Overlay
1918 * @param {String} el The element ID representing the Overlay <em>OR</em>
1919 * @param {HTMLElement} el The element representing the Overlay
1921 * the configuration that should be set for this Overlay. See configuration
1925 YAHOO.widget.Overlay = function (el, userConfig) {
1927 YAHOO.widget.Overlay.superclass.constructor.call(this, el, userConfig);
1938 Overlay = YAHOO.widget.Overlay,
1943 * Constant representing the name of the Overlay's events
1957 * Constant representing the Overlay's configuration properties
2034 * @property YAHOO.widget.Overlay.IFRAME_SRC
2039 Overlay.IFRAME_SRC = "javascript:false;";
2043 * side of an Overlay instance.
2044 * @property YAHOO.widget.Overlay.IFRAME_SRC
2050 Overlay.IFRAME_OFFSET = 3;
2055 * @property YAHOO.widget.Overlay.TOP_LEFT
2060 Overlay.TOP_LEFT = "tl";
2065 * @property YAHOO.widget.Overlay.TOP_RIGHT
2070 Overlay.TOP_RIGHT = "tr";
2075 * @property YAHOO.widget.Overlay.BOTTOM_LEFT
2080 Overlay.BOTTOM_LEFT = "bl";
2085 * @property YAHOO.widget.Overlay.BOTTOM_RIGHT
2090 Overlay.BOTTOM_RIGHT = "br";
2093 * Constant representing the default CSS class used for an Overlay
2094 * @property YAHOO.widget.Overlay.CSS_OVERLAY
2099 Overlay.CSS_OVERLAY = "yui-overlay";
2105 * @event YAHOO.widget.Overlay.windowScrollEvent
2107 Overlay.windowScrollEvent = new CustomEvent("windowScroll");
2112 * @event YAHOO.widget.Overlay.windowResizeEvent
2114 Overlay.windowResizeEvent = new CustomEvent("windowResize");
2118 * @method YAHOO.widget.Overlay.windowScrollHandler
2122 Overlay.windowScrollHandler = function (e) {
2136 Overlay.windowScrollEvent.fire();
2142 Overlay.windowScrollEvent.fire();
2150 * @method YAHOO.widget.Overlay.windowResizeHandler
2154 Overlay.windowResizeHandler = function (e) {
2166 Overlay.windowResizeEvent.fire();
2172 Overlay.windowResizeEvent.fire();
2181 * @property YAHOO.widget.Overlay._initialized
2185 Overlay._initialized = null;
2187 if (Overlay._initialized === null) {
2189 Event.on(window, "scroll", Overlay.windowScrollHandler);
2190 Event.on(window, "resize", Overlay.windowResizeHandler);
2192 Overlay._initialized = true;
2196 YAHOO.extend(Overlay, Module, {
2199 * The Overlay initialization method, which is executed for Overlay and
2204 * @param {String} el The element ID representing the Overlay <em>OR</em>
2205 * @param {HTMLElement} el The element representing the Overlay
2207 * containing the configuration that should be set for this Overlay.
2217 Overlay.superclass.init.call(this, el/*, userConfig*/);
2219 this.beforeInitEvent.fire(Overlay);
2221 Dom.addClass(this.element, Overlay.CSS_OVERLAY);
2249 this.initEvent.fire(Overlay);
2254 * Initializes the custom events for Overlay which are fired
2255 * automatically at appropriate times by the Overlay class.
2260 Overlay.superclass.initEvents.call(this);
2265 * CustomEvent fired before the Overlay is moved.
2274 * CustomEvent fired after the Overlay is moved.
2286 * using the Overlay's Config object (cfg).
2291 Overlay.superclass.initDefaultConfig.call(this);
2297 * The absolute x-coordinate position of the Overlay
2313 * The absolute y-coordinate position of the Overlay
2329 * An array with the absolute x and y positions of the Overlay
2347 * align the Overlay's top left corner to the context element's
2363 * True if the Overlay should be anchored to the center of
2380 * CSS width of the Overlay.
2394 * CSS height of the Overlay.
2408 * CSS z-index of the Overlay.
2421 * True if the Overlay should be prevented from being positioned
2438 * @description Boolean indicating whether or not the Overlay should
2440 * poking through an Overlay instance in IE6. When set to "true",
2441 * the iframe shim is created when the Overlay instance is intially
2458 * Moves the Overlay to the specified position. This function is
2461 * @param {Number} x The Overlay's new x position
2462 * @param {Number} y The Overlay's new y position
2472 * ("show-scrollbars") to the Overlay to fix a bug in Gecko on Mac OS X
2485 * ("hide-scrollbars") to the Overlay to fix a bug in Gecko on Mac OS X
2700 * the Overlay is visible
2727 windowResizeEvent = Overlay.windowResizeEvent,
2728 windowScrollEvent = Overlay.windowScrollEvent;
2980 * corresponding Overlay instance.
2987 nOffset = Overlay.IFRAME_OFFSET,
3051 m_oIFrameTemplate.src = Overlay.IFRAME_SRC;
3119 of the Overlay.
3272 * Aligns the Overlay to its context element using the specified corner
3277 * the Overlay that should be aligned to the context element
3294 case Overlay.TOP_LEFT:
3300 case Overlay.TOP_RIGHT:
3306 case Overlay.BOTTOM_LEFT:
3312 case Overlay.BOTTOM_RIGHT:
3348 case Overlay.TOP_LEFT:
3354 case Overlay.TOP_RIGHT:
3360 case Overlay.BOTTOM_LEFT:
3366 case Overlay.BOTTOM_RIGHT:
3481 Overlay.superclass.onDomResize.call(this, e, obj);
3492 * Places the Overlay on top of all other instances of
3493 * YAHOO.widget.Overlay.
3531 var oOverlay = Dom.hasClass(p_oElement, Overlay.CSS_OVERLAY),
3574 * Removes the Overlay element from the DOM and sets all child
3588 Overlay.windowResizeEvent.unsubscribe(
3591 Overlay.windowScrollEvent.unsubscribe(
3594 Overlay.superclass.destroy.call(this);
3600 * @return {String} The string representation of the Overlay.
3604 return "Overlay " + this.id;
3632 var Overlay = YAHOO.widget.Overlay,
3641 * The CSS class representing a focused Overlay
3661 * @type YAHOO.widget.Overlay[]
3675 * @type YAHOO.widget.Overlay[]
3681 * The default DOM event that should be used to focus an Overlay
3693 * @param {Overlay[]} overlays Optional. A collection of Overlays to
3716 * The currently activated Overlay
3719 * @type YAHOO.widget.Overlay
3724 * Returns the currently focused Overlay
3726 * @return {Overlay} The currently focused Overlay
3733 * Focuses the specified Overlay
3735 * @param {Overlay} overlay The Overlay to focus
3736 * @param {String} overlay The id of the Overlay to focus
3768 * Removes the specified Overlay from the manager
3770 * @param {Overlay} overlay The Overlay to remove
3771 * @param {String} overlay The id of the Overlay to remove
3869 * the Overlay instance as specified by the "focusevent"
3898 * @description "destroy" event handler for the Overlay.
3904 * @param {Overlay} p_oOverlay Object representing the menu that
3914 * Registers an Overlay or an array of Overlays with the manager. Upon
3915 * registration, the Overlay receives functions for focus and blur,
3918 * @param {Overlay} overlay An Overlay to register with the manager.
3919 * @param {Overlay[]} overlay An array of Overlays to register with
3931 if (overlay instanceof Overlay) {
4016 * Places the specified Overlay instance on top of all other
4017 * Overlay instances.
4019 * @param {YAHOO.widget.Overlay} p_oOverlay Object representing an
4020 * Overlay instance.
4022 * Overlay instance.
4059 * Attempts to locate an Overlay by instance or ID.
4061 * @param {Overlay} overlay An Overlay to locate within the manager
4062 * @param {String} overlay An Overlay id to locate within the manager
4063 * @return {Overlay} The requested Overlay, if found, or null if it
4076 if (overlay instanceof Overlay) {
4114 * @return {Number} 0, 1, or -1, depending on where the Overlay should
4196 * Tooltip is an implementation of Overlay that behaves like an OS tooltip,
4201 * @extends YAHOO.widget.Overlay
4206 * the configuration that should be set for this Overlay. See configuration
4365 YAHOO.extend(Tooltip, YAHOO.widget.Overlay, {
4409 * changed using the Overlay's Config object (cfg).
5015 * Panel is an implementation of Overlay that behaves like an OS window,
5019 * @extends Overlay
5038 Overlay = YAHOO.widget.Overlay,
5286 YAHOO.extend(Panel, Overlay, {
5289 * The Overlay initialization method, which is executed for Overlay and
5294 * @param {String} el The element ID representing the Overlay <em>OR</em>
5295 * @param {HTMLElement} el The element representing the Overlay
5297 * containing the configuration that should be set for this Overlay.
5773 Overlay.windowResizeEvent.subscribe(this.sizeMask,
5796 Overlay.windowResizeEvent.unsubscribe(this.sizeMask, this);
6244 Overlay.windowResizeEvent.unsubscribe(this.sizeMask, this);
7950 * an Overlay is shown or hidden.
7954 * @param {YAHOO.widget.Overlay} overlay The Overlay that the animation
7980 * @type YAHOO.widget.Overlay
8026 * @param {YAHOO.widget.Overlay} overlay The Overlay object to animate
8115 * @param {YAHOO.widget.Overlay} overlay The Overlay object to animate