Re: Freeze Pane
| From: | Rob Adams | Date: | Fri, 25 Jul 2003 15:35:40 +0000 |
| Subject: | Re: Freeze Pane | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-156884@lists.php.net to get a copy of this message | ||
I recently had to do something similar, except with the first row, instead
of the the first columns. The way I did it was by creating two different
tables, and putting the second table inside a <div> tag something like
follows:
<div style="{width:xxx; height:xxx; overflow:scroll;}">
Here is an example I found on MS website about how to use this:
http://msdn.microsoft.com/workshop/samples/author/dhtml/refs/scrollTop.htm
Using this you can set how much data you want to display and then let it
create scroll bars right inside your page. I think it's a little bit
cleaner than frames.
-- Rob
"Jason Martyn" <in4words@hotmail.com> wrote in message
news:Law10-OE459QtpfTYSl0000341d@hotmail.com...
This is probably under the category of javascript, however I would like ot
know if it is possible to be done with php.
Let's say I have a table that is 30 columns wide and so the entire table
doesn't fit on the screen. Is it possible (with php) to "freeze columns"
while scrolling across so you don't lose the original 2 columns?
And since it probably isn't, can someone suggest a language that would cover
this subject?
Thanks,
Jay