JavaScript Window

Invoke the expand method of the jqxWindow. Author: http://jqwidgets.com

HTML

<link rel="stylesheet" href="http://jqwidgets.com/public/jqwidgets/styles/jqx.base.css">
<link rel="stylesheet" href="http://jqwidgets.com/public/jqwidgets/styles/jqx.energyblue.css">
<script src="http://jqwidgets.com/public/jqwidgets/jqx-all.js"></script>
<div id='jqxwindow'>
    <div>Header</div>
    <div>Content</div>
</div>

CSS

body,html{
  height:100%;
  width:100%;
}

JavaScript

$('#jqxwindow').jqxWindow({
    theme: 'energyblue',
    height:"50%",
    showCollapseButton: true
});

//RESIZE WINDOW (WIDTH ONLY)

//COLLAPSE WINDOW

//EXPAND WINDOW

//WINDOW HEIGHT IS NOW 50px INSTEAD OF 50%