Layout

Usage
Markup
The layout panel must has one 'center' panel.

 

HTML

<div id="cc" style="width:600px;height:400px;">
<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" icon="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>
</div>

jQuery

$('#cc').layout();

 

Dependencies
panel
resizable
Layout Panel Options
All the properties is defined on <div/> markup, which the layout panel is created from it.

Name     Type         Description Default
title        string         The layout panel title text. null
region     string         Defines the layout panel position, the value is one of following: north, south, east, west, center. 
border    boolean     True to show layout panel border. true
split       boolean     True to show a split bar which user can change the panel size. false
icon        string        An icon CSS class to show a icon on panel header. null
href         string        An URL to load data from remote site. null
 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值