I have a table with a fixed header: http://dev.driz.co.uk/table/
What I want to do is when the user scrolls .uiGridContent it will move the .uiGridHeader in accordance so if I scrolled right 50px then the header would move left 50px so that the grids still match up.
How would I do this with jQuery?
Use the Scroll event and the scrollLeft getter/setter
example here
tip:
change the padding-left of the header into margin-left to eliminate the error on the end of the scrolling
example 2 here