# jQuery EasyUI Window Plugin - Window
* * jQuery EasyUI Plugins](#)
* * *
Extends $.fn.panel.defaults. Overwrites default values using $.fn.window.defaults.
The window is a floating, draggable panel that can be used as an application window. By default, a window can be moved, resized, and closed. Its content can be defined with static HTML or loaded dynamically via AJAX.
!(#)
## Dependencies
* draggable
* resizable
* panel
## Usage
#### Create Window
1. Create window from markup.
Window Content
2. Create window using javascript.
$('#win').window({ width:600, height:400, modal:true});
3. Create window with complex layout.
As usual, you can define the window layout. The following example demonstrates how to split the window area into two parts: north and center.
#### Window Actions
Open and close the window.
$('#win').window('open'); // open a window $('#win').window('close'); // close a window
Load window content via AJAX.
$('#win').window('refresh', 'get_content.php');
## Properties
The properties extend from panel, here are the properties overwritten and added for window.
| Name | Type | Description | Default |
| :--- | :--- | :--- | :--- |
| title | string | The title text of the window. | New Window |
| collapsible | boolean | Defines if to show the collapse button. | true |
| minimizable | boolean | Defines if to show the minimize button. | true |
| maximizable | boolean | Defines if to show the maximize button. | true |
| closable | boolean | Defines if to show the close button. | true |
| closed | boolean | Defines if to close the window. | false |
| zIndex | number | Starting from its |