Sample: dhtmlxWindows Sticking dhtmlxWindows main page
X
Select Window
 
<script>
 
    var dhxWins = new dhtmlXWindows();
    ...
    // showing stick button
    dhxWins.window(id).button("stick").show();
    // sticking window
    dhxWins.window(id).stick();
    // unsticking window
    dhxWins.window(id).unstick();
    // is sticked
    var isSticked = dhxWins.window(id).isSticked(); // true/false
</script>