Jquery組件easyUi實(shí)現(xiàn)手風(fēng)琴(折疊面板)示例
本文是為大家分享了Jquery easyUi手風(fēng)琴效果,供大家參考,具體內(nèi)容如下
效果圖:

<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Basic Accordion - jQuery EasyUI Demo</title> <link rel="stylesheet" type="text/css" href="../themes/default/easyui.css"> <link rel="stylesheet" type="text/css" href="../themes/icon.css"> <link rel="stylesheet" type="text/css" href="demo.css"> <script type="text/javascript" src="../jquery.min.js"></script> <script type="text/javascript" src="../jquery.easyui.min.js"></script> </head> <body> <h2>Basic Accordion</h2> <p>單擊面板頭部顯示內(nèi)容.</p> <div style="margin:20px 0 10px 0;"></div> <div class="easyui-accordion" style="width:500px;height:300px;"> <div title="About" data-options="iconCls:'icon-ok'" style="overflow:auto;padding:10px;"> <h3 style="color:#0099FF;">手風(fēng)琴</h3> <p>手風(fēng)琴組件.</p> </div> <div title="Help" data-options="iconCls:'icon-help'" style="padding:10px;"> <p>The accordion allows you to provide multiple panels and display one or more at a time. Each panel has built-in support for expanding and collapsing. Clicking on a panel header to expand or collapse that panel body. The panel content can be loaded via ajax by specifying a 'href' property. Users can define a panel to be selected. If it is not specified, then the first panel is taken by default.</p> </div> <div title="菜單" data-options="iconCls:'icon-search'" style="padding:10px;"> <ul class="easyui-tree"> <li> <span>食物</span> <ul> <li> <span>水果</span> <ul> <li>蘋果</li> <li>橙子</li> </ul> </li> <li> <span>蔬菜</span> <ul> <li>西紅柿</li> <li>胡蘿卜</li> <li>洋白菜</li> <li>土豆</li> <li>萵苣</li> </ul> </li> </ul> </li> </ul> </div> </div> </body> </html>
以上就是本文的全部內(nèi)容,希望對(duì)大家的學(xué)習(xí)有所幫助,也希望大家多多支持腳本之家。
相關(guān)文章
Jquery實(shí)現(xiàn)仿騰訊娛樂頻道焦點(diǎn)圖(幻燈片)特效
這篇文章主要介紹了Jquery實(shí)現(xiàn)仿騰訊娛樂頻道焦點(diǎn)圖(幻燈片)特效,需要的朋友可以參考下2015-03-03
jquery下json數(shù)組的操作實(shí)現(xiàn)代碼
網(wǎng)頁下載文件期間如何防止用戶對(duì)網(wǎng)頁進(jìn)行其他操作
jquery插件制作 自增長輸入框?qū)崿F(xiàn)代碼
js/jq仿window文件夾移動(dòng)/剪切/復(fù)制等操作代碼
用jquery和json從后臺(tái)獲得數(shù)據(jù)集的代碼
jQuery調(diào)用WebMethod(PageMethod) NET2.0的方法
淺談如何實(shí)現(xiàn)easyui的datebox格式化
jQuery實(shí)現(xiàn)帶滾動(dòng)線條導(dǎo)航效果的方法

