jquery easyui的layout

來源:互聯網
上載者:User

標籤: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

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.