Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

readme

  • Loading branch information...
commit 0db725be85a92e8bc17b58195e6c40346023645f 1 parent 5073f7d
Sagiv Ofek authored
Showing with 10 additions and 3 deletions.
  1. +10 −3 README.md
13 README.md
View
@@ -17,9 +17,16 @@ Download `jquery-fixed-table-header.js` script and include it in your page:
<script src="jquery-fixed-table-header.js" type="text/javascript"></script>
-Define your table:
-
- <table id="myTable"> ... </table>
+Define your table and define inside of `thead` whatever you want to be fixed:
+
+ <table id="myTable">
+ <thead>
+ <tr>
+ <th>this header will be always on top</th>
+ </tr>
+ </thead>
+ <tbody> ... </tbody>
+ </table>
From within your code call to the `fixedTableHeader()` function on your selector.
Please sign in to comment.
Something went wrong with that request. Please try again.