historyplaybacktab.jsp 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. <html>
  2. <head>
  3. <script src="<%=request.getContextPath() %>/resource/plugin/jqueryui/js/jquery-ui-1.9.2.custom.js" type="text/javascript"></script>
  4. <script src="<%=request.getContextPath() %>/resource/plugin/jqueryui/js/ui.tabs.paging.js"></script>
  5. <script type="text/javascript">
  6. $(function($) {
  7. $('#example').tabs();
  8. $('#example').tabs('paging', { cycle: true, follow: true } );
  9. });
  10. </script>
  11. <style>
  12. .tabs {
  13. background-color: #eee;
  14. border-bottom: 1px solid #ccc;
  15. list-style: none;
  16. margin: 0;
  17. padding: 10px 5px 1px 5px;
  18. zoom:1;
  19. }
  20. .tabs:after {
  21. display: block;
  22. clear: both;
  23. content: " ";
  24. }
  25. .tabs li {
  26. float: left;
  27. margin: 0 1px 0 0;
  28. padding-left: 5px;
  29. }
  30. .tabs a {
  31. display: block;
  32. position: relative;
  33. top: 1px;
  34. border: 1px solid #ccc;
  35. border-bottom: 0;
  36. z-index: 2;
  37. padding: 2px 9px 3px;
  38. color: #444;
  39. text-decoration: none;
  40. white-space: nowrap;
  41. }
  42. .tabs a:focus,
  43. .tabs a:active {
  44. outline: none;
  45. }
  46. .tabs a:hover,
  47. .tabs a:focus,
  48. .tabs a:active {
  49. background: #fff;
  50. cursor: pointer;
  51. }
  52. .ui-tabs-active a {
  53. background-color: #fff;
  54. color: #000;
  55. font-weight: bold;
  56. padding: 2px 8px 1px;
  57. border-bottom: 1px solid #fff;
  58. border-top: 3px solid #f1f1f1;
  59. border-left: 1px solid #f1f1f1;
  60. border-right: 1px solid #f1f1f1;
  61. margin-bottom: -1px;
  62. overflow: visible;
  63. }
  64. .ui-tabs-hide {
  65. display: none;
  66. background-color: #fff
  67. }
  68. .ui-tabs-panel {
  69. padding: 0.5em;
  70. }
  71. .ui-tabs-paging-next {
  72. float: right !important;
  73. }
  74. .ui-tabs-paging-prev a,
  75. .ui-tabs-paging-next a {
  76. display: block;
  77. position: relative;
  78. top: 1px;
  79. border: 0;
  80. z-index: 2;
  81. padding: 0px;
  82. color: #444;
  83. text-decoration: none;
  84. background: #eee;
  85. cursor: pointer;
  86. }
  87. .ui-tabs-paging-next a:hover,
  88. .ui-tabs-paging-next a:focus,
  89. .ui-tabs-paging-next a:active,
  90. .ui-tabs-paging-prev a:hover,
  91. .ui-tabs-paging-prev a:focus,
  92. .ui-tabs-paging-prev a:active {
  93. background: #eee;
  94. }
  95. .ui-tabs-paging-disabled {
  96. visibility: hidden;
  97. }
  98. </style>
  99. </head>
  100. <body>
  101. <div id="example" style="width:500px">
  102. <ul class="tabs">
  103. <li><a href="#tab1">Tab 1</a></li>
  104. <li><a href="#tab2">Tab 2</a></li>
  105. <li><a href="#tab3">Tab 3</a></li>
  106. <li><a href="#tab4">Tab 4</a></li>
  107. <li><a href="#tab5">Tab 5</a></li>
  108. <li><a href="#tab6">Tab 6</a></li>
  109. <li><a href="#tab7">Tab 7</a></li>
  110. <li><a href="#tab8">Tab 8</a></li>
  111. <li><a href="#tab9">Tab 9</a></li>
  112. <li><a href="#tab10">Tab 10</a></li>
  113. <li><a href="#tab11">Tab 11</a></li>
  114. <li><a href="#tab12">Tab 12</a></li>
  115. <li><a href="#tab13">Tab 13</a></li>
  116. <li><a href="#tab14">Tab 14</a></li>
  117. <li><a href="#tab15">Tab 15</a></li>
  118. </ul>
  119. <div id="tab1">Tab 1</div>
  120. <div id="tab2">Tab 2</div>
  121. <div id="tab3">Tab 3</div>
  122. <div id="tab4">Tab 4</div>
  123. <div id="tab5">Tab 5</div>
  124. <div id="tab6">Tab 6</div>
  125. <div id="tab7">Tab 7</div>
  126. <div id="tab8">Tab 8</div>
  127. <div id="tab9">Tab 9</div>
  128. <div id="tab10">Tab 10</div>
  129. <div id="tab11">Tab 11</div>
  130. <div id="tab12">Tab 12</div>
  131. <div id="tab13">Tab 13</div>
  132. <div id="tab14">Tab 14</div>
  133. <div id="tab15">Tab 15</div>
  134. </div>
  135. </body>
  136. </html>