This is a window widget, that can render windows in various ways
Mikkel Bergmann, http://www.pointful.com
| pax. | This is a window widget, that can render windows in various ways |
| Functions | |
| pax. | Initialises a window |
pax.widget.window.init = function( target, args )
Initialises a window
| target | an element to render the window into |
| args | arguments for the grid widget |
nothing
<div id='widget.window.init.example1'>This is my window's content</div>
[:.
var myWindow = pax.widget.window.init( pax.$('widget.window.init.example1') );
:]This example sets up a simple window, with no options specified.
<div id='widget.window.init.example2'>This is my window's content</div>
[:.
var myWindow = pax.widget.window.init( pax.$('widget.window.init.example2'), {
width: 200,
height: 150
} );
:]This example sets up a simple window, with width and height specified
Initialises a window
pax.widget.window.init = function( target, args )