首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

根本框架

2013-11-09 
基本框架htmlheadtitle/titlelink hrefedo/res/css/edo-all.css relstylesheet typetext

基本框架

<html><head>    <title></title>    <link href="edo/res/css/edo-all.css" rel="stylesheet" type="text/css" /></head><body></body></html><script src="edo/edo.js" type="text/javascript"></script><script type="text/javascript">var module = new Edo.core.Module({            width:  '100%',             height: '100%'});  var head = Edo.build({    type: 'box',        width:'100%',    height: 90});     var main = Edo.build({    type: 'ct',    width: '100%',    height: '100%',    layout: 'horizontal',    children:[{                            type: 'panel',            width: 200,            height: '100%',            collapseProperty: 'width',            maxWidth: 200,            enableCollapse: true,            splitRegion: 'west',            splitPlace: 'after'        },        {                            type: 'box',            width:'100%',            height: '100%',            children:[module]        }    ]});      Edo.build({    type: 'app',    render: '#body',    children:[head,main]});  </script>

?

热点排行