Hello Antonio,
The way to programmatically resize the window is by modifying its width and height parameters, e.g.:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <title></title> <link rel="stylesheet" href="../../jqwidgets/styles/jqx.base.css" type="text/css" /> <script type="text/javascript" src="../scripts/jquery-1.8.3.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"> $(document).ready(function () { $("#window").jqxWindow({ width: 150, height: 100 }); $("#button").click(function () { $("#window").jqxWindow({ width: 75, height: 50 }); }); }); </script></head><body> <button id="button"> Resize window</button> <div id="window"> <div> Window</div> <div> Content</div> </div></body></html>
Best Regards,
Dimitar
jQWidgets team
http://www.jqwidgets.com/