JavaScript Window

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

by mark edwards

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>
<input type="button" style="margin: 50px;" id="jqxbutton" value="Open the window" />

JavaScript

$( window ).resize(function() {
  console.log('AAAAAAAAAAAAAAA');
});



$('#jqxwindow').jqxWindow({
    theme: 'energyblue',
    autoOpen:false
});
$("#jqxbutton").jqxButton({
    theme: 'energyblue',
    width: 150,
    height: 30
});
$('#jqxbutton').click(function () {
    $("#jqxwindow").jqxWindow('open')
});