固定表头列头Javascript代码

阅读更多
  1.     "Content-Type" content="text/html; charset=gb2312">
  2.     固定表头和列
  3.     
  4.    "scrollDiv" style="width: 400px; overflow: auto; cursor: default; display: inline;
  5.         position: absolute; height: 200px;">
  6.         'accountTable' width='550' height='230' cellpadding='0' cellspacing='0' border='1'
  7.             style='table-layout: auto' bordercolor='lightgrey'>
  8.             
  9.                 class="FixedTitleRow">
  10.                     class="FixedTitleColumn">
  11.                         ID0
  12.                     class="FixedTitleColumn">
  13.                         CK0
  14.                     class="FixedTitleColumn">
  15.                         Code0
  16.                     class="FixedTitleColumn">
  17.                         Descirption0
  18.                     class="FixedTitleColumn">
  19.                         TOL0
  20.                     
  21.                         XS0
  22.                     
  23.                         SS0
  24.                     
  25.                         MS0
  26.                     
  27.                         DS0
  28.                     
  29.                         BS0
  30.                     
  31.                         XL0
  32.                     
  33.                         ML0
  34.                     
  35.                         DL0
  36.                     
  37.                         EM0
  38.                     
  39.                         BM0
  40.                 
  41.                 
  42.                     class="FixedDataColumn">
  43.                         88
  44.                     class="FixedDataColumn">
  45.                         88
  46.                     class="FixedDataColumn">
  47.                         88
  48.                     class="FixedDataColumn">
  49.                         88
  50.                     class="FixedDataColumn">
  51.                         88
  52.                     
  53.                         22
  54.                     
  55.                         22
  56.                     
  57.                         22
  58.                     
  59.                         22
  60.                     
  61.                         22
  62.                     
  63.                         22
  64.                     
  65.                         22
  66.                     
  67.                         22
  68.                     
  69.                         22
  70.                     
  71.                         22
  72.                 
  73.                 
  74.                     class="FixedDataColumn">
  75.                         111
  76.                     class="FixedDataColumn">
  77.                         111
  78.                     class="FixedDataColumn">
  79.                         1111
  80.                     class="FixedDataColumn">
  81.                         This is Test
  82.                     class="FixedDataColumn">
  83.                         1
  84.                     
  85.                         001
  86.                     
  87.                         002
  88.                     
  89.                         003
  90.                     
  91.                         004
  92.                     
  93.                         005
  94.                     
  95.                         006
  96.                     
  97.                         007
  98.                     
  99.                         008
  100.                     
  101.                         009
  102.                     
  103.                         010
  104.                 
  105.                 
  106.                     class="FixedDataColumn">
  107.                         111
  108.                     class="FixedDataColumn">
  109.                         111
  110.                     class="FixedDataColumn">
  111.                         1111
  112.                     class="FixedDataColumn">
  113.                         This is Test
  114.                     class="FixedDataColumn">
  115.                         1
  116.                     
  117.                         001
  118.                     
  119.                         002
  120.                     
  121.                         003
  122.                     
  123.                         004
  124.                     
  125.                         005
  126.                     
  127.                         006
  128.                     
  129.                         007
  130.                     
  131.                         008
  132.                     
  133.                         009
  134.                     
  135.                         010
  136.                 
  137.                 
  138.                     class="FixedDataColumn">
  139.                         111
  140.                     class="FixedDataColumn">
  141.                         111
  142.                     class="FixedDataColumn">
  143.                         1111
  144.                     class="FixedDataColumn">
  145.                         This is Test
  146.                     class="FixedDataColumn">
  147.                         1
  148.                     
  149.                         001
  150.                     
  151.                         002
  152.                     
  153.                         003
  154.                     
  155.                         004
  156.                     
  157.                         005
  158.                     
  159.                         006
  160.                     
  161.                         007
  162.                     
  163.                         008
  164.                     
  165.                         009
  166.                     
  167.                         010
  168.                 
  169.                 
  170.                     class="FixedDataColumn">
  171.                         111
  172.                     class="FixedDataColumn">
  173.                         111
  174.                     class="FixedDataColumn">
  175.                         1111
  176.                     class="FixedDataColumn">
  177.                         This is Test
  178.                     class="FixedDataColumn">
  179.                         1
  180.                     
  181.                         001
  182.                     
  183.                         002
  184.                     
  185.                         003
  186.                     
  187.                         004
  188.                     
  189.                         005
  190.                     
  191.                         006
  192.                     
  193.                         007
  194.                     
  195.                         008
  196.                     
  197.                         009
  198.                     
  199.                         010
  200.                 
  201.             
  202.         
  203.     
  • 你可能感兴趣的:(JavaScript,HTML)