Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82121

FixedHeader with responsive Bootstrap 2.1

$
0
0
I'm using FixedHeader with a Bootstrap 2.1 responsive layout which has a fixed navbar when the window width is >= 979px, but un-fixes itself and scrolls off the top of the page when the window shrinks to anything less. This, of course, causes my fixed table header to be set 40px too low when that happens.

Can anyone think of a way to reset the offsetTop to 0 when the window shrinks to less than 979px?

Thanks!

Viewing all articles
Browse latest Browse all 82121

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>