you could probably just redisplay the heading every N rows or somehting...

this should display the heading every 30 rows.  chencge the MOD by number to
suit your taste.

btw, this is off the top of my head.  the code may not be EXACTLY what
you're after.  but it should get you started.

<TABLE>
<CFOUTPUT QUERY="fred">
<CFIF NOT fred.recordcount MOD 30>
<TR>
<TH>Heading 1<TH>
<TH>Heading 2<TH>
<TH>Heading 3<TH>
</TR>
</CFIF>
<TR>
<TD>Data 1</TD>
<TD>Data 2</TD>
<TD>Data 3</TD>
</TR>
</CFOUTPUT>
</TABLE>

Chris Olive
DOHRS Website Administrator


-----Original Message-----
From: Adrian Cesana [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 09, 2000 12:47 PM
To: [EMAIL PROTECTED]
Subject: long tables and headings


Several of my applications list out a few hundred records in table format,
the top row contains the headings.  After scrolling down you loose the
headings and are constantly scrolling up down up down to see the heading.
Ive played with a this a little using a frame, it works ok but you must
define everything to be the exact width height etc otherwise things dont
line up, it creates lots of maintenance it seems and Id rather not use
another frame for this.

Is there some method for a floating heading bar anyone has discovered or
some JavaScript that would pop up the heading when a link is clicked say in
the first column or something like this...? How are people handling this,
anything I can do with CF...?

Thanks,Adrian

----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to