javascript thread: Coordinate scrolling of top frame with bottom frame.
I have a frameset declared with the following html.
<FRAMESET ROWS=3D"30,*" frameborder=3D"Yes" border=3D"0"
framespacing=3D"0">
<FRAME SRC=3D"headings.htm" NAME=3D"banner" scrolling=3D"no">
<FRAME SRC=3D"DisplayReport.asp" NoResize NAME=3D"menu">
</FRAMESET>
Now, each frame is 900 pixels wide. DisplayReport can be anywhere from
1 to 3500 records long, though the width is always consistant. What I
have been asked to do is to set up the page to duplicate some Excel
functionality where the headings are always at the top of the browser
window so that when the user scrolls down it's easier to see what the
columns are. That part wasn't much of a problem. However, with the
width of the report the user has to scroll to the right to see some of
the columns, but when they do this, the report scrolls, but the headings
just sit there. I need to make the headings scroll left/right with the
report so that they stay aligned with their prospective columns. Any
suggestions on how I could do this. That or if someone has seen a
site that does this, I would appreciate the address.
Thanks,
Jerry