Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by kim on Nov 20, 2008 08:11
open dhtmlx forum
dhtmlXLayoutObject undefined

hi,

when i execute the following code, i am getting dhtmlXLayoutObject undefined....Can you guide me which JS / CSS file i need to add

regards
kim

<html>
<head></head>
<link rel="stylesheet" type="text/css"    href="dhtmlxLayout/codebase/dhtmlxlayout.css">
<link rel="stylesheet" type="text/css" href="dhtmlxLayout/codebase/style.css">
<link rel="stylesheet" type="text/css"    href="dhtmlxLayout/codebase/dhtmlxwindows.css">
<link rel="stylesheet" type="text/css"    href="dhtmlxLayout/codebase/skins/dhtmlxlayout_dhx_blue.css">
<link rel="stylesheet" type="text/css"    href="dhtmlxLayout/codebase/skins/dhtmlxwindows_dhx_blue.css">
<link rel="stylesheet" type="text/css"    href="dhtmlxLayout/codebase/skins/dhtmlxaccordion_dhx_blue.css">
<link rel="stylesheet" type="text/css"    href="dhtmlxLayout/codebase/skins/dhtmlxgrid_dhx_blue.css">

<script src="dhtmlxLayout/codebase/dhtmlxcommon.js"></script>
<script src="dhtmlxLayout/codebase/dhtmlxlayout.js"></script>
<script src="dhtmlxLayout/codebase/dhtmlxaccordion.js"></script>

<script src="dhtmlxWindows/codebase/dhtmlxcommon.js"></script>
<script src="dhtmlxWindows/codebase/dhtmlxwindows.js"></script>

<script>
function getLayOut(){
            alert("in function");
            var dhxLayout = new dhtmlXLayoutObject("myID", "3J");
    }
</script>

<body onload="getLayOut()">
<div id="myID" style="height:750px;width:750px;"></div>        
</body>
</html>
Answer posted by Support on Nov 21, 2008 03:03
Hello,

JS files:
dhtmlxcommon.js
dhtmlxlayout.js
dhtmlxwindows.js
CSS files:
dhtmlxlayout.css
dhtmlxwindows.css skins/dhtmlxlayout_dhx_blue.css
skins/dhtmlxwindows_dhx_blue.css