標籤:style blog http io color ar sp 資料 div
1.建立一個布局:layout是一個容器,它有5個地區:north(北),south(南),east(東),west(西);center(中)-----------學習中文網地址
<body class="easyui-layout"> <div region="north" title="North Title" split="true" style="height:100px;"></div> <div region="south" title="South Title" split="true" style="height:100px;"></div> <div region="east" iconCls="icon-reload" title="East" split="true" style="width:100px;"></div> <div region="west" split="true" title="West" style="width:100px;"></div> <div region="center" title="center title" style="padding:5px;background:#eee;"></div></body>
2.north(北),south(南),east(東),west(西)都能刪除,但是center不能刪除,刪除則會報錯
fit="true"是自適應大小
3.屬性,href屬效能引入另一個頁面,但是引入的是body的內容,別的不行
| 名稱 |
類型 |
描述 |
預設值 |
| title(標題) |
string(字串) |
布局面板的標題。 |
null |
| region(地區) |
string(字串) |
定義布局面板的位置(方向),可以取下列值的其中之一:north, south, east, west, center。 |
|
| border(邊框) |
boolean(布爾型) |
設定為true將顯示布局面板的邊框。 |
true |
| split(分隔條) |
boolean(布爾型) |
如果設定為true將顯示一個分隔條,使用者可以拖動分隔條來改變布局面板的尺寸。 |
false |
| iconCls(表徵圖CSS類) |
string(字串) |
一個用來顯示布局面板頭部表徵圖的css類。 |
null |
| href(超連結) |
string(字串) |
一個用來從遠端站台載入資料的超連結。 |
null
|
jquery easyui的layout