jquery easyui 選項卡

來源:互聯網
上載者:User

標籤:plain   string   function   head   keyword   工具列   控制   number   ber   

CSS載入

<div class="easyui-tabs" style="width: 400px;height: 250px">  <div title="Tab1" data-options="closable:true">   tab1  </div>  <div title="Tab2" data-options="closable:true">   tab2  </div>  <div title="Tab3" data-options="iconCls:‘icon-reload‘,closable:true">   tab3  </div></div>JS載入<div id="box" style="width: 400px;height: 250px"> <div title="Tab1" data-options="closable:true">  tab1 </div> <div title="Tab2" data-options="closable:true">  tab2 </div> <div title="Tab3" data-options="iconCls:‘icon-reload‘,closable:true">  tab3 </div></div> <script> $(function () {  $(‘#box‘).tabs({   // 選項卡容器寬度   width : 500,   // 項卡容器高度   height: 400,   // 是否不顯示控制台背景。   plain : false,   // 選項卡是否將鋪滿它所在的容器   fit : false,   // 是否顯示選項卡容器邊框   border : true,   // 選項卡捲軸每次滾動的像素值   scrollIncrement : 200,   // 每次滾動動畫持續的時間   scrollDuration : 400,   // 工具列添加在選項卡面板頭的左側或右側   tools:[{    iconCls : ‘icon-add‘,    handler : function () {     alert(‘添加!‘);    },   }],   // 工具列位置   toolPosition : ‘left‘,   // 選項卡位置   tabPosition : ‘left‘,   // 選項卡標題寬度,在 tabPosition 屬性設定為‘left‘或‘right‘的時候才有效   headerWidth : 300,   // 標籤條的寬度   tabWidth : 250,   // 標籤條的高度   tabHeight : 25,   // 初始化選中一個 tab 頁, 從0開始   selected : 2,   // 是否顯示 tab 網頁標題   showHeader: true  }) ; });</script> 

jquery easyui 選項卡

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.