Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by bebak tomasz on Dec 08, 2008 02:40
open dhtmlx forum
error with attachStatusBar()

something like that

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
    <title>Fullscreen Init</title>
    <link rel="stylesheet" type="text/css" href="dhtmlx.css">
    <script src="dhtmlx.js"></script>
</head>
<body style="width: 100%; height: 100%; margin: 0px; overflow: hidden;">
<script>
    var dhxLayout = new dhtmlXLayoutObject(document.body, "2U");
    var statusBar = dhxLayout.attachStatusBar();

    dhxLayout.cells("a").setText("Moduły");
    //dhxLayout.cells("b").attachURL("http://www.tfs.pl/");
    dhxLayout.cells("a").setWidth(200);
    dhxLayout.cells("b").attachURL("http://www.google.com/");

</script>
</body>
</html>

when i use Firefox 3.0 everything is ok

when i use newest version of IE i have an error message: line 1485 incorrect argument"
in file dhtmlx.js

i used standard version of dhtmlx lib
Answer posted by Support on Dec 08, 2008 03:13
Known problem, will solved in future release.
For now try to use without doctype.