国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 編程 > JavaScript > 正文

jQuery布局組件EasyUI Layout使用方法詳解

2019-11-19 17:23:21
字體:
來源:轉載
供稿:網友

layout 布局組件,依賴于panel,自己開發個web小程序的時候直接用這個組件布局很方便。

對于一個web程序原來說,特別是像我這種一遇到界面美化問題就找美工的程序員,想自己獨立的開發一個東西,除了套用以前的項目中的界面布局之外就沒別的辦法了,雖然我們可以用ifame切分出一個界面布局,但是我不會添加樣式啊。使用layout組件就可以幫我們快速的有一個界面布局,而且美觀效果也看得過去。

看個例子:

<!doctype html> <html lang="en">  <head>  <meta charset="UTF-8">  <script type="text/javascript" src="easyui/jquery.min.js"></script>  <script type="text/javascript" src="easyui/jquery.easyui.min.js"></script>  <script type="text/javascript" src="easyui/locale/easyui-lang-zh_CN.js" ></script>  <link rel="stylesheet" type="text/css" href="easyui/themes/bootstrap/easyui.css" rel="external nofollow" />  <link rel="stylesheet" type="text/css" href="easyui/themes/icon.css" rel="external nofollow" />  <title>Document</title>  </head> <body class="easyui-layout">  <div data-options="region:'north',border:false" style="height:60px;background:#00ffcc;padding:10px"><strong><font size=2 color="color">您好,歡迎<span style="white-space:pre">  </span>來到地球!</br>這個世界充滿了危險,勸你早點回去!</font></strong></div>  <div id="menu" data-options="region:'west',split:true,title:'2014-15賽季賽程'" style="height:100px;width:150px;padding:10px;">   <ul>    <li>     <strong><a href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" >西甲賽程</a></strong>    </li>    <br>    <br>    <li>     <strong><a href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" >英超賽程</a></strong>    </li>    <br>    <br>    <li>     <strong><a href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" >德甲賽程</a></strong>    </li>    <br>    <br>      <li>     <strong><a href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" >法甲賽程</a></strong>    </li>    <br>    <br>      <li>     <strong><a href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" >意甲賽程</a></strong>    </li>    <br>    <br>      <li>     <strong><a href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" >歐冠賽程</a></strong>    </li>    </ul>   </div>  <div data-options="region:'east',split:true,collapsed:true,title:'快速通道'" style="width:100px;padding:10px;"><a href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" >購買船票</a></br><a  rel="external nofollow" >逃生指南</a></div>  <div data-options="region:'south',border:false" style="height:25px;background:#A9FACD;padding:10px;"><center>http://blog.csdn.net/caohaicheng</center></div>  <div data-options="region:'center',title:'主界面'">    </div> </body> </html> 

效果圖:

點此下載源代碼:jQuery Easy UI Layout(布局)組件

以上就是本文的全部內容,希望對大家的學習有所幫助,也希望大家多多支持武林網。

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 宿州市| 庆城县| 巴东县| 瑞丽市| 虎林市| 柏乡县| 东港市| 冀州市| 抚州市| 平乐县| 垫江县| 台中市| 鸡泽县| 济宁市| 通道| 清水县| 茂名市| 淮安市| 讷河市| 沙雅县| 平谷区| 宜兰县| 南召县| 泽州县| 德阳市| 黔东| 达拉特旗| 淳化县| 大悟县| 遂溪县| 漠河县| 澳门| 祥云县| 汉中市| 梧州市| 黄冈市| 鲜城| 阜康市| 平陆县| 揭西县| 马公市|