Lines Matching refs:Overlay

728     * and Overlay are the most basic containers, and they can be used directly 
730 * are four UI controls that extend Module and Overlay: Tooltip, Panel,
1919 * Overlay is a Module that is absolutely positioned above the page flow. It
1921 * controlling zIndex and constraining the Overlay's position to the current
1922 * visible viewport. Overlay also contains a dynamicly generated IFRAME which
1926 * @class Overlay
1928 * @param {String} el The element ID representing the Overlay <em>OR</em>
1929 * @param {HTMLElement} el The element representing the Overlay
1931 * the configuration that should be set for this Overlay. See configuration
1935 YAHOO.widget.Overlay = function (el, userConfig) {
1937 YAHOO.widget.Overlay.superclass.constructor.call(this, el, userConfig);
1948 Overlay = YAHOO.widget.Overlay,
1953 * Constant representing the name of the Overlay's events
1967 * Constant representing the Overlay's configuration properties
2044 * @property YAHOO.widget.Overlay.IFRAME_SRC
2049 Overlay.IFRAME_SRC = "javascript:false;";
2053 * side of an Overlay instance.
2054 * @property YAHOO.widget.Overlay.IFRAME_SRC
2060 Overlay.IFRAME_OFFSET = 3;
2065 * @property YAHOO.widget.Overlay.TOP_LEFT
2070 Overlay.TOP_LEFT = "tl";
2075 * @property YAHOO.widget.Overlay.TOP_RIGHT
2080 Overlay.TOP_RIGHT = "tr";
2085 * @property YAHOO.widget.Overlay.BOTTOM_LEFT
2090 Overlay.BOTTOM_LEFT = "bl";
2095 * @property YAHOO.widget.Overlay.BOTTOM_RIGHT
2100 Overlay.BOTTOM_RIGHT = "br";
2103 * Constant representing the default CSS class used for an Overlay
2104 * @property YAHOO.widget.Overlay.CSS_OVERLAY
2109 Overlay.CSS_OVERLAY = "yui-overlay";
2115 * @event YAHOO.widget.Overlay.windowScrollEvent
2117 Overlay.windowScrollEvent = new CustomEvent("windowScroll");
2122 * @event YAHOO.widget.Overlay.windowResizeEvent
2124 Overlay.windowResizeEvent = new CustomEvent("windowResize");
2128 * @method YAHOO.widget.Overlay.windowScrollHandler
2132 Overlay.windowScrollHandler = function (e) {
2146 Overlay.windowScrollEvent.fire();
2152 Overlay.windowScrollEvent.fire();
2160 * @method YAHOO.widget.Overlay.windowResizeHandler
2164 Overlay.windowResizeHandler = function (e) {
2176 Overlay.windowResizeEvent.fire();
2182 Overlay.windowResizeEvent.fire();
2191 * @property YAHOO.widget.Overlay._initialized
2195 Overlay._initialized = null;
2197 if (Overlay._initialized === null) {
2199 Event.on(window, "scroll", Overlay.windowScrollHandler);
2200 Event.on(window, "resize", Overlay.windowResizeHandler);
2202 Overlay._initialized = true;
2206 YAHOO.extend(Overlay, Module, {
2209 * The Overlay initialization method, which is executed for Overlay and
2214 * @param {String} el The element ID representing the Overlay <em>OR</em>
2215 * @param {HTMLElement} el The element representing the Overlay
2217 * containing the configuration that should be set for this Overlay.
2227 Overlay.superclass.init.call(this, el/*, userConfig*/);
2229 this.beforeInitEvent.fire(Overlay);
2231 Dom.addClass(this.element, Overlay.CSS_OVERLAY);
2259 this.initEvent.fire(Overlay);
2264 * Initializes the custom events for Overlay which are fired
2265 * automatically at appropriate times by the Overlay class.
2270 Overlay.superclass.initEvents.call(this);
2275 * CustomEvent fired before the Overlay is moved.
2284 * CustomEvent fired after the Overlay is moved.
2296 * using the Overlay's Config object (cfg).
2301 Overlay.superclass.initDefaultConfig.call(this);
2307 * The absolute x-coordinate position of the Overlay
2323 * The absolute y-coordinate position of the Overlay
2339 * An array with the absolute x and y positions of the Overlay
2357 * align the Overlay's top left corner to the context element's
2373 * True if the Overlay should be anchored to the center of
2390 * CSS width of the Overlay.
2404 * CSS height of the Overlay.
2418 * CSS z-index of the Overlay.
2431 * True if the Overlay should be prevented from being positioned
2448 * @description Boolean indicating whether or not the Overlay should
2450 * poking through an Overlay instance in IE6. When set to "true",
2451 * the iframe shim is created when the Overlay instance is intially
2468 * Moves the Overlay to the specified position. This function is
2471 * @param {Number} x The Overlay's new x position
2472 * @param {Number} y The Overlay's new y position
2482 * ("show-scrollbars") to the Overlay to fix a bug in Gecko on Mac OS X
2495 * ("hide-scrollbars") to the Overlay to fix a bug in Gecko on Mac OS X
2710 * the Overlay is visible
2737 windowResizeEvent = Overlay.windowResizeEvent,
2738 windowScrollEvent = Overlay.windowScrollEvent;
2991 * corresponding Overlay instance.
2998 nOffset = Overlay.IFRAME_OFFSET,
3062 m_oIFrameTemplate.src = Overlay.IFRAME_SRC;
3130 of the Overlay.
3283 * Aligns the Overlay to its context element using the specified corner
3288 * the Overlay that should be aligned to the context element
3305 case Overlay.TOP_LEFT:
3311 case Overlay.TOP_RIGHT:
3317 case Overlay.BOTTOM_LEFT:
3323 case Overlay.BOTTOM_RIGHT:
3359 case Overlay.TOP_LEFT:
3365 case Overlay.TOP_RIGHT:
3371 case Overlay.BOTTOM_LEFT:
3377 case Overlay.BOTTOM_RIGHT:
3492 Overlay.superclass.onDomResize.call(this, e, obj);
3503 * Places the Overlay on top of all other instances of
3504 * YAHOO.widget.Overlay.
3542 var oOverlay = Dom.hasClass(p_oElement, Overlay.CSS_OVERLAY),
3585 * Removes the Overlay element from the DOM and sets all child
3599 Overlay.windowResizeEvent.unsubscribe(
3602 Overlay.windowScrollEvent.unsubscribe(
3605 Overlay.superclass.destroy.call(this);
3611 * @return {String} The string representation of the Overlay.
3615 return "Overlay " + this.id;
3643 var Overlay = YAHOO.widget.Overlay,
3652 * The CSS class representing a focused Overlay
3672 * @type YAHOO.widget.Overlay[]
3686 * @type YAHOO.widget.Overlay[]
3692 * The default DOM event that should be used to focus an Overlay
3704 * @param {Overlay[]} overlays Optional. A collection of Overlays to
3727 * The currently activated Overlay
3730 * @type YAHOO.widget.Overlay
3735 * Returns the currently focused Overlay
3737 * @return {Overlay} The currently focused Overlay
3744 * Focuses the specified Overlay
3746 * @param {Overlay} overlay The Overlay to focus
3747 * @param {String} overlay The id of the Overlay to focus
3779 * Removes the specified Overlay from the manager
3781 * @param {Overlay} overlay The Overlay to remove
3782 * @param {String} overlay The id of the Overlay to remove
3880 * the Overlay instance as specified by the "focusevent"
3909 * @description "destroy" event handler for the Overlay.
3915 * @param {Overlay} p_oOverlay Object representing the menu that
3925 * Registers an Overlay or an array of Overlays with the manager. Upon
3926 * registration, the Overlay receives functions for focus and blur,
3929 * @param {Overlay} overlay An Overlay to register with the manager.
3930 * @param {Overlay[]} overlay An array of Overlays to register with
3942 if (overlay instanceof Overlay) {
4027 * Places the specified Overlay instance on top of all other
4028 * Overlay instances.
4030 * @param {YAHOO.widget.Overlay} p_oOverlay Object representing an
4031 * Overlay instance.
4033 * Overlay instance.
4070 * Attempts to locate an Overlay by instance or ID.
4072 * @param {Overlay} overlay An Overlay to locate within the manager
4073 * @param {String} overlay An Overlay id to locate within the manager
4074 * @return {Overlay} The requested Overlay, if found, or null if it
4087 if (overlay instanceof Overlay) {
4125 * @return {Number} 0, 1, or -1, depending on where the Overlay should
4207 * Tooltip is an implementation of Overlay that behaves like an OS tooltip,
4212 * @extends YAHOO.widget.Overlay
4217 * the configuration that should be set for this Overlay. See configuration
4376 YAHOO.extend(Tooltip, YAHOO.widget.Overlay, {
4421 * changed using the Overlay's Config object (cfg).
5043 * Panel is an implementation of Overlay that behaves like an OS window,
5047 * @extends Overlay
5066 Overlay = YAHOO.widget.Overlay,
5314 YAHOO.extend(Panel, Overlay, {
5317 * The Overlay initialization method, which is executed for Overlay and
5322 * @param {String} el The element ID representing the Overlay <em>OR</em>
5323 * @param {HTMLElement} el The element representing the Overlay
5325 * containing the configuration that should be set for this Overlay.
5802 Overlay.windowResizeEvent.subscribe(this.sizeMask,
5825 Overlay.windowResizeEvent.unsubscribe(this.sizeMask, this);
6274 Overlay.windowResizeEvent.unsubscribe(this.sizeMask, this);
7980 * an Overlay is shown or hidden.
7984 * @param {YAHOO.widget.Overlay} overlay The Overlay that the animation
8010 * @type YAHOO.widget.Overlay
8056 * @param {YAHOO.widget.Overlay} overlay The Overlay object to animate
8145 * @param {YAHOO.widget.Overlay} overlay The Overlay object to animate