JSFiddle - React, Tailwind, and code Playground
HTML
<link rel="stylesheet" href="http://www.jeasyui.com/easyui/themes/default/easyui.css">
<script src="http://www.jeasyui.com/easyui/jquery.easyui.min.js"></script>
<div id="layout" class="easyui-layout" data-options="fit: true">
<div id="selector-panel" data-options="region:'west',split:true" title="Security Objects" style="width:100px; height:300"></div>
<div id="work-panel" style="width:600px; height:300" data-options="region:'center'" title="Workspace"></div>
</div>
JavaScript
$('#work-panel').append("<div id='window1' class='easyui-window gedit'>");
$('#window1').window({
title: 'Window 1',
left: 10,
top: 30,
width: 200,
height: 300,
inline: true,
modal: false
});
$('#work-panel').append("<div id='window2' class='easyui-window gedit'>");
$('#window2').window({
title: 'Window 2',
left: 50,
top: 60,
width: 300,
height: 200,
inline: true,
modal: false
});
$('div.window').click(function () {
$(this).children('div.window-body').window('open')
})