jQuery Window
Invoke the setContent method of the jqxWindow.
Author: http://jqwidgets.com
HTML
<script src="https://jqwidgets.com/public/jqwidgets/jqx-all.js"></script>
<link rel="stylesheet" href="https://jqwidgets.com/public/jqwidgets/styles/jqx.base.css">
<link rel="stylesheet" href="https://jqwidgets.com/public/jqwidgets/styles/jqx.energyblue.css">
<div id='jqxwindow'>
<div>Header</div>
<div>Content</div>
</div>
<input type="button" style="margin: 50px;" id="jqxbutton" value="Set new content" />
CSS
.container {
width: 100%;
height: 100%;
margin:0px;
padding:0px;
}
.iframe-class {
width: 100%;
height: 100%;
margin:0px;
padding:0px;
border:0px;
}
.jqx-window-content {
padding:0px;
overflow:hidden;
}
JavaScript
$('#jqxwindow').jqxWindow();
$("#jqxbutton").jqxButton({
width: 200,
height: 30
});
$('#jqxbutton').click(function () {
$("#jqxwindow").jqxWindow('setContent', '<iframe class="iframe-class" src="http://www.w3schools.com/default.asp" />')
});