7580ba5930691ddd5e8d53319fe207cec15446fd.svn-base 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>锁定列</title>
  6. <!--框架必需start-->
  7. <script type="text/javascript" src="../../libs/js/jquery.js"></script>
  8. <script type="text/javascript" src="../../libs/js/language/cn.js"></script>
  9. <script type="text/javascript" src="../../libs/js/framework.js"></script>
  10. <link href="../../libs/css/import_basic.css" rel="stylesheet" type="text/css"/>
  11. <link rel="stylesheet" type="text/css" id="skin" prePath="../../" scrollerY="false"/>
  12. <link rel="stylesheet" type="text/css" id="customSkin"/>
  13. <!--框架必需end-->
  14. <!--动态选项卡start-->
  15. <script type="text/javascript" src="../../libs/js/nav/dynamicTab.js"></script>
  16. <!--动态选项卡end-->
  17. </head>
  18. <body>
  19. <div id="tab_menu"></div>
  20. <div class="box1">
  21. <div id="page" style="width:100%;"></div>
  22. </div>
  23. <script>
  24. var tab;
  25. function initComplete(){
  26. tab = new TabView( {
  27. containerId :'tab_menu',
  28. pageid :'page',
  29. cid :'tab1',
  30. position :"top"
  31. });
  32. tab.add( {
  33. id :'tab1_index1',
  34. title :"数据表格",
  35. url :"../../sample_html/layout/grid-addtab-content1.html",
  36. isClosed :false
  37. });
  38. }
  39. function tabAddHandler(mid,mtitle,murl){
  40. tab.add( {
  41. id :mid,
  42. title :mtitle,
  43. url :murl,
  44. isClosed :true
  45. });
  46. tab.activate(mid)
  47. }
  48. function customHeightSet(contentHeight){
  49. $("#page").height(contentHeight-50);
  50. }
  51. </script>
  52. </body>
  53. </html>