Stop fixedheader before top of page?
Stop fixedheader before top of page?
dtnewbie
Posts: 1Questions: 0Answers: 0
First, thanks for these amazing plug-ins, they are awesome!
I am able to use the fixedheader with the default settings, however I was wondering how I could edit the script to change the functionality a little. Instead of having the header scroll to the top of the window, I would like it to stop X pixels before the top. The reason for this is I have a div with absolute positioning above the table and I would like the table header to stop just before this div. Right now the header is scrolling on top of the absolutely positioned div.
Could you point me in the direction of where to modify the script to account for an offset like this?
Thanks for your time!
I am able to use the fixedheader with the default settings, however I was wondering how I could edit the script to change the functionality a little. Instead of having the header scroll to the top of the window, I would like it to stop X pixels before the top. The reason for this is I have a div with absolute positioning above the table and I would like the table header to stop just before this div. Right now the header is scrolling on top of the absolutely positioned div.
Could you point me in the direction of where to modify the script to account for an offset like this?
Thanks for your time!
This discussion has been closed.