'axis' Example: Group Column : Column : Table : JavaScript DHTML examples (example source code) Organized by topic

JavaScript DHTML
C++
PHP


JavaScript DHTML  »  Table   » [  Column  ]   
 



'axis' Example: Group Column

Please note that some example is only working under IE or Firefox.

    
<html>
<body>
<table border="1" summary="time report">
    <caption>table caption</caption>
    <tr>
      <th>&nbsp;</th>
      <th id="head1" axis="hours">cell 1</th>
      <th id="head2" axis="hours">cell 2</th>
    </tr>
    <tr>
      <th id="a6" axis="name">name</th>
      <th>&nbsp;</th>
      <th>&nbsp;</th>
      <th>&nbsp;</th>
    </tr>
    <tr>
      <td id="a7" axis="date">2004</td>
      <td headers="head1 head2">7</td>
      <td headers="head1 head2">2</td>
      <td>&nbsp;</td>
    </tr>
    <td id="a7" axis="date">2004</td>
      <td headers="head1 head2">9</td>
      <td headers="head1 head2">1</td>
      <td>&nbsp;</td>
    </tr>
    <td id="a7" axis="date">2004</td>
      <td headers="head1 head2">7</td>
      <td headers="head1 head2">1</td>
      <td>&nbsp;</td>
    </tr>
</table>
<button onclick="alert(head1.axis);">Get the axis for heading 1</button>
</body>
</html>

    
      
      
Related examples in the same category
1.  Column span Example
























Home| Contact Us
Copyright 2003 - 04 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.