I believe the scrolling table body functionality is only currently supported in Netscape 7 and Mozilla anyway. If I'm wrong, if you can show me an example that works in IE, I would name my next child after you :) I've been trying for a while to find a way to have a header section stay put, and there's of course the scripted "jump back to the top when the page scrolls" trick, but you have issues getting the proper column widths then. I know about putting a <thead> seciton in the table, but I think IE only honors that when printing, so that a multi-page table will have the headers on each page, but I don't think it matters to on-screen rendering. Am I wrong?

Frank


From: Rick Reumann <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: Re: [OT] thick client functionality in the browser
Date: Wed, 09 Jun 2004 10:06:47 -0400


Frank Zammetti wrote:

You know what I discovered about a month ago? Instead of using iFrames, you can get the same functionality with a <span> with style="overflow:scroll;".

The problem with this, though, is when you when you want your table to be able to change in width. If you have a fixed width it's fine, but if it's going to fluctuate and you have select boxes in your table.. when you scroll up they have a higher z-index than the header row and it bleeds though.. very ugly and annoying. To get around this you have to do crazy javascript/css tricks to determine when the row scrolls up into the header row and then make the select box display none (then you have to remember to make it visible again).. such a pain. If you used a fixed with table you can get around this by making two tables with the same column widths.. one table just to hold the column headers and then the next table scrollable as you mention.


PS- if anyone has some javascript/dhtml code already written that will do the hiding of select boxes as it scrolls into the header row let me know- I'd like to steal, I mean look at it.

--
Rick

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_________________________________________________________________ Check out the coupons and bargains on MSN Offers! http://youroffers.msn.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to