jQuery table-sticky plugin (demonstration) is a jQuery plugin to make the table <thead>
element sticky when scrolling through large tables. This script is developed as part of the XHProf.io Analytics. It is not stable enough for public use, though it can server as an example for learning.
The BSD License - Copyright (c) 2012 Gajus Kuizinas.