Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by h on Feb 03, 2009 12:03
open dhtmlx forum
dhtmlxLayout object-based initialization

Hello!

I have a little problem with this code. I see nothing on my page :(. Help me please.

<html>
<head>
    <title>Layout checkup</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <link rel="stylesheet" type="text/css" href="/css/dhtmlxlayout.css">
    <link rel="stylesheet" type="text/css" href="/css/dhtmlxlayout_dhx_blue.css">
    <link rel="stylesheet" type="text/css" href="/css/dhtmlxwindows.css">
    <link rel="stylesheet" type="text/css" href="/css/dhtmlxwindows_dhx_blue.css">
    <link rel="stylesheet" type="text/css" href="/css/dhtmlxtoolbar_dhx_blue.css.css">

    <script type="text/javascript" src="/js/dhtmlxcommon.js"></script>
    <script type="text/javascript" src="/js/dhtmlxlayout.js"></script>
    <script type="text/javascript" src="/js/dhtmlxwindows.js"></script>
    <script type="text/javascript" src="/js/dhtmlxwindows_wtb.js"></script>
    <script type="text/javascript" src="/js/dhtmlxtoolbar.js"></script>

</head>
<body>
<div id="parentId"></div>
</body>
<script type="text/javascript">
    var dhxLayout = new dhtmlXLayoutObject("parentId", "3L");
</script>
</html>

Answer posted by Support on Feb 04, 2009 01:52
Hello,

Try to add the following style to div id="parentId"

<style>
    div#paremtId {
        width: 800px;
        height: 600px;

Answer posted by h on Feb 04, 2009 01:59
Thanks!