1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <title></title>
- <!--框架必需start-->
- <script type="text/javascript" src="../../libs/js/jquery.js"></script>
- <script type="text/javascript" src="../../libs/js/language/cn.js"></script>
- <script type="text/javascript" src="../../libs/js/framework.js"></script>
- <link href="../../libs/css/import_basic.css" rel="stylesheet" type="text/css"/>
- <link rel="stylesheet" type="text/css" id="skin" prePath="../../"/>
- <link rel="stylesheet" type="text/css" id="customSkin"/>
- <!--框架必需end-->
- <!--动态选项卡start-->
- <script type="text/javascript" src="../../libs/js/nav/dynamicTab.js"></script>
- <!--动态选项卡end-->
- </head>
- <body>
- <div class="box1" style="width: 800px;"><div class="box_topcenter"><div class="box_topleft"><div class="box_topright"></div></div></div><div class="box_middlecenter"><div class="box_middleleft"><div class="box_middleright"><div class="boxContent" style="overflow: visible;height:500px;">
- <fieldset>
- <legend>1、基本使用</legend>
- <div id="tab_menu"></div>
- <div id="page" style="width:95%;height:300px;border:solid 1px #cccccc;"></div>
- </fieldset>
- <div class="height_15"></div>
- </div></div></div></div><div class="box_bottomcenter"><div class="box_bottomleft"><div class="box_bottomright"></div></div></div></div>
- <script>
- $( function() {
- var tab = new TabView( {
- containerId :'tab_menu',
- pageid :'page',
- cid :'tab1',
- position :"top"
- });
- tab.add( {
- id :'tab1_index1',
- title :"选项卡1",
- url :"../../sample_html/nav/tab-basic-content1.html",
- isClosed :false
- });
- tab.add( {
- id :'tab1_index2',
- title :"选项卡2",
- url :"../../sample_html/nav/tab-basic-content2.html",
- isClosed :false
- });
- tab.add( {
- id :'tab1_index3',
- title :"选项卡3",
- url :"../../sample_html/nav/tab-basic-content1.html",
- isClosed :true
- });
- tab.activate("tab1_index1")
- });
- </script>
- </body>
- </html>
|