bill drescher wrote:
this has the problem with horizontal scrolling that the head and foot
do not stay in sync with the body. Anyone have a suggestion ?
I've simulated an Excel spreadsheet using 4 iframes in a square. Top left
and top right are static column headers with fixed-width columns. Bottom
left is column 1 data, and bottom right is all the other column data with
the same fixed-width column sizes. When a bottom frame is scrolled up or
down, it scrolls the other bottom frame to the same position. When the
bottom right is scrolled left or right, the top right is scrolled to the
same position.
It acts the same as Excel having frozen rows and columns, and it works
beautifully under IE. I've not tested it with other browsers, since this was
for an IE-only intranet app.
It's kind of a pain (especially having 4 pages - one for each iframe) but it
was the best solution I could come up with that would work in IE, since IE
doesn't like overflow:auto on TD's.
--
Matt Kruse
Javascript Toolbox:
http://www.JavascriptToolbox.com/