Couple different ways, most use the css overflow property, which
doesn't work in NS4. If NS4 is necessary, I'd reccomend searching for
the Beehive DHTML library. I can't remember the site, but it lets you
do an inline scroll in NS4.
Otherwise here is some example code...it's very rough, but it
illustrates the idea.
<style type="text/css">
td {
width: 100px;
}
</style>
<div id="oLayer" style="width: 250px; height: 100px;">
<div id="nav" style="width: 100%; position: absolute;">
<table cellpadding="0" cellspacing="0">
<tr>
<td>Column1</td>
<td>Column2</td>
<td>Column3</td>
<td>Column4</td>
</tr>
</table>
</div>
<div id="data" style="width: 100%; height: 50px; overflow: auto; position:
absolute; top: 30px;">
<table cellpadding="0" cellspacing="0">
<tr>
<td>data</td>
<td>data</td>
<td>data</td>
<td>data</td>
</tr>
<tr>
<td>data</td>
<td>data</td>
<td>data</td>
<td>data</td>
</tr>
<tr>
<td>data</td>
<td>data</td>
<td>data</td>
<td>data</td>
</tr>
</table>
</div>
</div>
Thursday, May 30, 2002, 10:53:07 PM, you wrote:
C> oi CF-Talk,!!
C> somewhere....possibly on the msdn site I've seen an example where table
C> headers are stationary, but the cells are scrollable.....
C> anybody else seen this.....or know where some Xamples are?
C> thanks
--
jon
______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists