pax.widget.window

This is a window widget, that can render windows in various ways

Author

Mikkel Bergmann, http://www.pointful.com

Summary
pax.widget.windowThis is a window widget, that can render windows in various ways
Functions
pax.widget.window.initInitialises a window

Functions

pax.widget.window.init

pax.widget.window.init = function(target,
args)

Initialises a window

Parameters

targetan element to render the window into
argsarguments for the grid widget

Returns

nothing

Example

<div id='widget.window.init.example1'>This is my window's content</div>
[:.
    var myWindow = pax.widget.window.init( $('widget.window.init.example1') );
:]

This example sets up a simple window, with no options specified.

Example

<div id='widget.window.init.example2'>This is my window's content</div>
[:.
    var myWindow = pax.widget.window.init( $('widget.window.init.example2'), {
        width: 200,
        height: 150
    } );
:]

This example sets up a simple window, with width and height specified

pax.widget.window.init = function(target,
args)
Initialises a window
Close