Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by ChrisK on Jul 09, 2009 01:40
open dhtmlx forum
dhtmlxLayout fullscreen resize in IE6

Hi,

when i tried your example for fullscreen init in IE6 it worked fine:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <title>Fullscreen Init</title>
    <link rel="stylesheet" type="text/css" href="../../../codebase/dhtmlxlayout.css">
    <link rel="stylesheet" type="text/css" href="../../../codebase/skins/dhtmlxlayout_dhx_blue.css">
    <link rel="stylesheet" type="text/css" href="../../../../dhtmlxWindows/codebase/dhtmlxwindows.css">
    <link rel="stylesheet" type="text/css" href="../../../../dhtmlxWindows/codebase/skins/dhtmlxwindows_dhx_blue.css">
    <script src="../../../codebase/dhtmlxcommon.js"></script>
    <script src="../../../codebase/dhtmlxlayout.js"></script>
    <script src="../../../../dhtmlxWindows/codebase/dhtmlxwindows.js"></script>
</head>
<body>
<script>
    var dhxLayout = new dhtmlXLayoutObject(document.body, "3L");
</script>
</body>
</html>


but when i change the doctype, the layout height does not automatically resize anymore:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Fullscreen Init</title>
    <link rel="stylesheet" type="text/css" href="../../../codebase/dhtmlxlayout.css">
    <link rel="stylesheet" type="text/css" href="../../../codebase/skins/dhtmlxlayout_dhx_blue.css">
    <link rel="stylesheet" type="text/css" href="../../../../dhtmlxWindows/codebase/dhtmlxwindows.css">
    <link rel="stylesheet" type="text/css" href="../../../../dhtmlxWindows/codebase/skins/dhtmlxwindows_dhx_blue.css">
    <script src="../../../codebase/dhtmlxcommon.js"></script>
    <script src="../../../codebase/dhtmlxlayout.js"></script>
    <script src="../../../../dhtmlxWindows/codebase/dhtmlxwindows.js"></script>
</head>
<body>
<script>
    var dhxLayout = new dhtmlXLayoutObject(document.body, "3L");
</script>
</body>
</html>

How can this be fixed?

Thank you

Chris
Answer posted by Support on Jul 09, 2009 07:33
Hello,

Doctype problem will fixed in future release (nearest future),
if you need it now for the pointed doctype we'll make a fix for you.

Which version of layout are you using?
Answer posted by ChrisK on Jul 09, 2009 08:06

Hi,

we need this to be fixed by the end of this week.

We are using dhtmlxLayout v.2.1 Standard edition build 90226.

Thanks

Chris

Answer posted by Support on Jul 10, 2009 03:14
Hello,

Here is a demo.
Attachments (1)
demo.zip81.39 Kb
Answer posted by ChrisK on Jul 14, 2009 00:49
That almost fixed it, but when loading the demo page for the first time, there is a white 4 px border at the bottom and on the right. After resizing the window, the border is gone.
Answer posted by Support on Jul 14, 2009 07:00
Updated demo attached.
Attachments (1)
demo2.zip81.38 Kb