DHTMLX Docs & Samples Explorer

### Object API 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
            }, {
                id: "w2",
                left: 50,
                top: 70,
                width: 320,
                height: 240
            }, {
                id: "w3",
                left: 80,
                top: 110,
                width: 320,
                height: 240
            }]
            };
        dhxWins = new dhtmlXWindows(dhxWinsParams);
    }</script>