JavaScript Window
Set the autoOpen property of the jqxWindow.
Author: http://jqwidgets.com
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 class="sortable-container">
<span>Team A</span>
<div id="sortable1">
<div>
<div id='jqxExpander'>
<div class="sortable-item">
Early History of the Internet</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
<li>1970 Mark I network at NPL (UK)</li>
<li>1970 Network Information Center (NIC)</li>
<li>1971 Merit Network's packet-switched network operational</li>
<li>1971 Tymnet packet-switched network</li>
<li>1972 Internet Assigned Numbers Authority (IANA) established</li>
<li>1973 CYCLADES network demonstrated</li>
<li>1974 Telenet packet-switched network</li>
<li>1976 X.25 protocol approved</li>
<li>1979 Internet Activities Board (IAB)</li>
<li>1980 USENET news using UUCP</li>
<li>1980 Ethernet standard introduced</li>
<li>1981 BITNET established</li>
</ul>
</div>
</div>
</div>
<div class="sortable-item">Andrew Fuller</div>
<div class="sortable-item">Janet Leverling</div>
<div class="sortable-item">Margaret Peacock</div>
<div class="sortable-item">Steven Buchanan</div>
<div class="sortable-item">Michael Suyama</div>
</div>
</div>
<div...
CSS
#sortable1 {
margin: 2px;
padding: 5px;
width: 300px;
border: lightblue solid 2px;
}
#sortable2 {
padding: 5px;
width: 300px;
border: lightblue solid 2px;
}
.sortable-container{;
float: left;
width: 220px;
}
.sortable-container span {
font-weight: bold;
margin-left:12px;
}
.sortable-item{
border-radius: 5px;
padding: 5px;
background-color: white;
color: black;
}
.sortable-item:hover {
background-color: #356AA0;
color: white;
}
.sortable-placeholder {
background-color: lightgray;
height:30px;
margin-bottom:10px;
border:orange dotted 1px;
}
JavaScript
$(document).ready(function () {
$("#sortable1").jqxSortable({
placeholderShow: 'sortable-placeholder',
connectWith: "#sortable2",
});
$("#jqxExpander").jqxExpander({ width: '100%'});
$("#sortable2").jqxSortable({
placeholderShow: 'sortable-placeholder',
connectWith: "#sortable1",
});
});