jQuery MiniUI

标题: desktop布局 [打印本页]

作者: ii65575169ii    时间: 2014-2-25 14:03:34     标题: desktop布局

var modules = [
        { name: "iframe", text: "Test", iconCls: "desk-window", title: "", type: "ux.iframewindow", url: "../datagrid/datagrid.html" },
        { name: "simple", text: "Window", iconCls: "desk-window", title: "Window", type: "ux.window" },
         { name: "splitter", text: "Splitter Window", iconCls: "desk-window", title: "", type: "ux.splitterwindow" },
        { name: "map", text: "Map Window", iconCls: "desk-window", title: "", type: "ux.mapwindow" },
        { name: "chart", text: "Chart Window", iconCls: "desk-window", title: "", type: "ux.chartwindow" },
        { name: "layout", text: "Layout Window", iconCls: "desk-window", title: "", type: "ux.iframewindow", url: "js/windows/layout.html" }
    ];

var desk = new mini.ux.DeskTop();
    desk.render(document.body);
   
    //desk.addHTML('<div style="position:absolute;right:10px;top:10px;width:200px;height:200px;background:red;"></div>');
    //modules
    desk.setModules(modules);


放到desk的6个对象,怎么布局的啊 ,3个3个

作者: felt    时间: 2014-2-25 14:38:48

desktop试用包里有完整的源代码的
可以参考源代码来理解




欢迎光临 jQuery MiniUI (http://miniui.com/discuss/) Powered by Discuz! X2