/loggerhead/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/loggerhead/trunk

« back to all changes in this revision

Viewing changes to loggerhead/static/javascript/yui/build/overlay/overlay.js

  • Committer: Martin Albisetti
  • Date: 2008-12-30 19:20:39 UTC
  • Revision ID: argentina@gmail.com-20081230192039-kc2spvli08fo09sx
Upgrade YUI3 to PR2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
 
3
Code licensed under the BSD License:
 
4
http://developer.yahoo.net/yui/license.txt
 
5
version: 3.0.0pr2
 
6
*/
 
7
YUI.add('overlay', function(Y) {
 
8
 
 
9
/**
 
10
 * Provides a basic Overlay widget, with Standard Module content support. The Overlay widget
 
11
 * provides Page XY positioning support, alignment and centering support along with basic 
 
12
 * stackable support (z-index and shimming).
 
13
 *
 
14
 * @module overlay
 
15
 */
 
16
 
 
17
/**
 
18
 * A basic Overlay Widget, which can be positioned based on Page XY co-ordinates and is stackable (z-index support).
 
19
 * It also provides alignment and centering support and uses a standard module format for it's content, with header,
 
20
 * body and footer section support.
 
21
 * 
 
22
 * @class Overlay
 
23
 * @constructor
 
24
 * @extends Widget
 
25
 * @uses WidgetPosition
 
26
 * @uses WidgetStack
 
27
 * @uses WidgetPositionExt
 
28
 * @uses WidgetStdMod
 
29
 * @param {Object} object The user configuration for the instance.
 
30
 */
 
31
Y.Overlay = Y.Base.build(Y.Widget, [Y.WidgetPosition, Y.WidgetStack, Y.WidgetPositionExt, Y.WidgetStdMod]);
 
32
Y.Overlay.NAME = "overlay";
 
33
 
 
34
 
 
35
 
 
36
}, '3.0.0pr2' ,{requires:['widget', 'widget-position', 'widget-stack', 'widget-position-ext', 'widget-stdmod']});