HighDots Forums  

Fixed table header

alt.html.dhtml alt.html.dhtml


Discuss Fixed table header in the alt.html.dhtml forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Fabian Vilers
 
Posts: n/a

Default Fixed table header - 10-07-2005 , 05:53 AM






Hi all,

I have a very big table that overflow the page. I need that the table header
stay in place when scrolling down. Any clue on how to do it with DHTML?

My first impression is that i need to have 2 tables, one with the header, a
second with the data. Then I need to trap when the user is scrolling to
change the position of the 1st table.

Any help appreciated,
Fabian



Reply With Quote
  #2  
Old   
jan hendrickx
 
Posts: n/a

Default Re: Fixed table header - 10-08-2005 , 04:18 PM






have a look at : http://users.telenet.be/janhx/Scroll-test
bye
JHx

"Fabian Vilers" <fvilers (AT) REMOVME (DOT) be.keyware.com> schreef in bericht
news:43464450$0$1818$6c56d894 (AT) reader0 (DOT) news.be.easynet.net...
Quote:
Hi all,

I have a very big table that overflow the page. I need that the table
header
stay in place when scrolling down. Any clue on how to do it with DHTML?

My first impression is that i need to have 2 tables, one with the header,
a
second with the data. Then I need to trap when the user is scrolling to
change the position of the 1st table.

Any help appreciated,
Fabian





Reply With Quote
  #3  
Old   
Fabian Vilers
 
Posts: n/a

Default Re: Fixed table header - 10-10-2005 , 03:05 AM




"jan hendrickx" <jhx (AT) telenet (DOT) be> wrote

Quote:
have a look at : http://users.telenet.be/janhx/Scroll-test
bye
JHx
Very nice!! I'll have a look to your code source.

Thanks a lot




Reply With Quote
  #4  
Old   
Fabian Vilers
 
Posts: n/a

Default Re: Fixed table header - 10-10-2005 , 03:12 AM




Quote:
Very nice!! I'll have a look to your code source.

Unfortunately, I didn't find any information about the body event onscroll.
This is surely why it's only working under IE




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.