Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
alexhenes
Experienced
Topic Author
Posts: 568
Joined: 28 Sep 2006, 16:13

Off Topic: JS for Freezing Top Row of HTML Table

18 Feb 2015, 22:31

Sorry for the off topic post... but maybe someone here can point me in the right direction.

I have an html page with a table in it. I would like the top header row to be frozen when it scrolls. Does anyone have a solution for this? Here is the page.

http://www.merelyafleshwound.com/conten ... k-log.html

Thanks
Alex
https://www.merelyafleshwound.com
https://www.goldenbikeshop.com
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: Off Topic: JS for Freezing Top Row of HTML Table

18 Feb 2015, 23:50

I was gonna make a suggestion with just 2 lines of CSS, but I see it has some flaws. I saw some solutions here, but they require some "coding":
http://jsfiddle.net/dPixie/byB9d/3/
http://jsfiddle.net/C8Dtf/366/
http://www.fixedheadertable.com/
http://codepen.io/jgx/pen/wiIGc
 
User avatar
alexhenes
Experienced
Topic Author
Posts: 568
Joined: 28 Sep 2006, 16:13

Re: Off Topic: JS for Freezing Top Row of HTML Table

20 Feb 2015, 12:57

thanks Karl... I will look into these...
Alex
https://www.merelyafleshwound.com
https://www.goldenbikeshop.com