there is a possibility that pressing the button displays the window but collapsed?
<!doctype html>
<html>
<head>
<meta charset=”utf-8″>
<title>Documento sin título</title>
<link rel=”stylesheet” href=”../../jqwidgets/styles/jqx.base.css” type=”text/css”/>
<script type=”text/javascript” src=”../../jqwidgets/scripts/jquery-1.11.1.min.js”></script>
<script type=”text/javascript” src=”../../jqwidgets/jqxcore.js”></script>
<script type=”text/javascript” src=”../../jqwidgets/jqxwindow.js”></script>
<script type=”text/javascript” src=”../../jqwidgets/jqxbuttons.js”></script>
<script type=”text/javascript”>
$(document).ready(function () {
$(‘#jqxwindow’).jqxWindow({
autoOpen: false,
showCollapseButton: true,
collapsed: true,
});
$(“#jqxbutton”).jqxButton({
width: 150,
height: 30
});
$(‘#jqxbutton’).click(function () {
$(“#jqxwindow”).jqxWindow(‘open’);
});
});
</script>
</head>
<body>
<div id=’jqxwindow’>
<div>Header</div>
<div>Content</div>
</div>
<input type=”button” style=”margin: 50px;” id=”jqxbutton” value=”Open the window” />
</body>
</html>