Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Freeze first column in table
Message
From
06/12/2003 04:47:07
 
General information
Forum:
Internet
Category:
HTML
Miscellaneous
Thread ID:
00855502
Message ID:
00856566
Views:
18
I created frameset containing two column frames.

I want that if second frame is scrolled vertically, the first frame is scrolled also so that excatly same rows are visible in frames.

How to implement this ?

frameset.htm:
<frameset cols="120px,*">
<frame src=frame1.htm scrolling=no>
<frame src=frame2.htm>
</frameset>
frame1.htm:
<table>
<tr><td>row1 title</td></tr>
<tr><td>row2 title</td></tr>
<tr><td>row3 title</td></tr>
<tr><td>row4 title</td></tr>
<tr><td>row5 title</td></tr>
<tr><td>row6 title</td></tr>
<tr><td>row7 title</td></tr>
<tr><td>row8 title</td></tr>
<tr><td>row9 title</td></tr>
<tr><td>row10 title</td></tr>
<tr><td>row11 title</td></tr>
<tr><td>row12 title</td></tr>
</table>
frame2.htm:
<table>
<tr><td>row1 col2</td><td>row1 col3</td><td>row1 col4</td></tr>
<tr><td>row2 col2</td><td>row2 col3</td><td>row2 col4</td></tr>
<tr><td>row3 col2</td><td>row3 col3</td><td>row3 col4</td></tr>
<tr><td>row4 col2</td><td>row4 col3</td><td>row4 col4</td></tr>
<tr><td>row5 col2</td><td>row5 col3</td><td>row5 col4</td></tr>
<tr><td>row6 col2</td><td>row6 col3</td><td>row6 col4</td></tr>
<tr><td>row7 col2</td><td>row1 col3</td><td>row7 col4</td></tr>
<tr><td>row8 col2</td><td>row2 col3</td><td>row8 col4</td></tr>
<tr><td>row9 col2</td><td>row3 col3</td><td>row9 col4</td></tr>
<tr><td>row10 col2</td><td>row4 col3</td><td>row10 col4</td></tr>
<tr><td>row11 col2</td><td>row5 col3</td><td>row11 col4</td></tr>
<tr><td>row12 col2</td><td>row6 col3</td><td>row12 col4</td></tr>
</table>
>I thin kthat frames would be the quickest way to implement this, just make the frame big enough to show the date.
>Slán
>~M
>
>>I have a html table with 250 columns and some hundres rows
>>like (Here I show only few rows and columns)
>>
>>
<table>
>><tr>
>><td>Date</td>
>><td>Item1 quantity</td>
>><td>Item2 quantity</td>
>></tr>
>><tr>
>><td>12-01-03</td>
>><td>14</td>
>><td>2</td>
>></tr>
>><tr>
>><td>15-01-03</td>
>><td></td>
>><td>18.5</td>
>></tr>
>></table>
>>
>>Since table is too wide, I want that the first column (Date) is always visible in screen when user scrolls horizontally table.
>>
>>Excel has similar functionality allowing to lock first column.
>>
>>Any idea how to implement this ?
>>
>>Should I use
>>
>>1. Frames
>>2. IFRAME
>>3. Floating menu in leht side
>>4. CSS in some way
>>5. or is there a simpler solution ?
>>
>>Is there any sample page in internet which implements this ?
>>
>>My target browser is IE always.
Andrus
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform