CSS-Problem with DHTMLX Suite 4.2 and vault

Hi,

I have a problem with the Standard Edition of DHTMLX-Suite 4.2 and Vault (2.4) using a layout, where the vault is attached.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<head>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8">
    <title></title>
    <link rel="shortcut icon" href="/>

    <script src="./codebase/standedition_web/dhtmlx.js" type="text/javascript"></script>
    <link rel="STYLESHEET" type="text/css" href="codebase/dhtmlxVault_v24_std/codebase/dhtmlxvault.css">


    <link rel="STYLESHEET" type="text/css" href="codebase/standedition_web/dhtmlx.css">


    <script src="codebase/dhtmlxVault_v24_std/codebase/dhtmlxvault.js" type="text/javascript"></script>


    <!--    FULLSCREEN-->
    <style>
        /* it's important to set width/height to 100% for full-screen init */
        html, body {
            width: 100%;
            height: 100%;
            margin: 0px;
            overflow: hidden;
        }

    </style>

    <script type="text/javascript" charset="utf-8">
        function init() {
            var layout_todo = new dhtmlXLayoutObject({
                parent: document.body,  // parent container
                pattern: "2E",           // layout's pattern
                cells: [{
                    id: "a",
                    text: "Aufträge",
                    collapse: false
                }, {
                    id: "b",
                    text: "Meine Buchungen",
                    collapse: false,
                    width: 650

                }]
            });


            var todo_grid = layout_todo.cells("a").attachGrid();

            window.dhx4.ajax.get("codebase/data/upload/upload_conf.php", function (r) {
                var t = window.dhx4.s2j(r.xmlDoc.responseText);
                if (t != null) {
                    t.autoStart = true;
                    t.buttonClear = true;
                    t.maxFileSize = 21000000;

                    var myVault = layout_todo.cells("b").attachVault(t);
                    myVault.load("codebase/data/upload/get_records.php");
                    myVault.setDownloadURL("codebase/data/upload/download.php?fileName={serverName}");
                    t.buttonClear = false;
                    // update max file size notice
                    //document.getElementById("maxsize_info").innerHTML = "Upload max filesize: " + myVault.readableSize(t.maxFileSize);
                }
            });

        }




    </script>
</head>
<body onload="init()">

</body>
</html>

looks like there is no css on the vault (no images etc).

Can you help with this?

Thanks,
Martin

Hi
Locally works fine
Try to specify a skin correctly via setSkin method. If it doesn’t solve the issue, send us completed demo on support@dhtmlx.com with a link to this topic.
docs.dhtmlx.com/auxiliary_docs__ … pport.html

Thank you!
It works that way…

Best,
Martin