DHTMLX Docs & Samples Explorer

Object API Extended Int

Source
<link rel="stylesheet" type="text/css" href="../../codebase/dhtmlxwindows.css">
<link rel="stylesheet" type="text/css" href="../../codebase/skins/dhtmlxwindows_dhx_skyblue.css">
<script src="../../codebase/dhtmlxcommon.js"></script>
<script src="../../codebase/dhtmlxwindows.js"></script>
 
<script src="../../codebase/dhtmlxcontainer.js"></script>
 
<div id="winVP" style="position: relative; height: 500px; border: #cecece 1px solid; margin: 10px;"></div>
<script>
var dhxWins;
function doOnLoad() {
    dhxWinsParams = {
        image_path: "../../codebase/imgs/",
        viewport: {
            object: "winVP"
        },
        wins: [{
            id: "w1",
            left: 20,
            top: 30,
            width: 320,
            height: 240,
            text: "Gothic 3 Forsaken Gods",
            keep_in_viewport: true,
            deny_resize: true
        }, {
            id: "w2",
            left: 50,
            top: 70,
            width: 320,
            height: 240,
            text: "NFS Undercover",
            deny_park: true
        }, {
            id: "w3",
            left: 80,
            top: 110,
            width: 320,
            height: 240,
            text: "Diablo 2 Lord Of Destruction",
            deny_move: true
        }]
        };
    dhxWins = new dhtmlXWindows(dhxWinsParams);
}
</script>