- 注册时间
- 2013-8-30
- 最后登录
- 2016-12-29
- 阅读权限
- 10
- 积分
- 158
- 精华
- 0
- 帖子
- 28
|
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个
|
|