× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



That is pretty much what I did, though I had problems with getting the
width of the columns to work, so I ended up having a hidden row with tds
like this <td>XXXXXXXXXXX</td> or <td>9,999,999.99</td>. This forced
each column to be at least as wide as the hidden cells, and it changes
based on font size, so if someone increases or decreases the font size,
the columns still align. 

What I actually ended up doing was create a function that can take any
table and create the additional tables needed to make this method of
scrolling work. I put the function in a separate .js file and simply
include it, and call the "buildScrollableTable" function when I need it.
Eventually I plan on not only allowing the head and foot sections to be
fixed, but to allow one or more columns on either side of the table to
be fixed. This would allow a row description column to remain visible
even if the table was too wide and needed to scroll horizontally.

Joe Lee

>>> David.Morris@xxxxxxxxxxxxx 10/28/2004 14:49:17 >>>
The following article describes an HTML subfile technique. It works in
IE (has for a couple of years) and Firefox. I haven't tried Mozilla or
Opera in a few months but neither worked with this technique although
you can make them work in a controlled environment (intranet). I would
avoid long lists of scrolling data and try to work the application
toward smaller lists of data.

http://www.itjungle.com/mgo/mgo081602-story02.html 

David Morris

>>> LeeJD@xxxxxx 10/26/2004 7:28:16 PM >>>
I'm not sure what the original poster was looking for, but the request
for methods to emulate a subfile would, in my mind include a desire to
have column headers remain visible when scrolling through the subfile.


My need was to be able to have a tabular report which was longer than
a
single page, but retain the ability to see the column headers and
footers. The CSS solution of scrolling the body of the table while
leaving the head and foot sections fixed was ideal, unfortunately IE
is
not compliant with this part of the CSS spec, so I had to force it to
work. 

Most elements can be made to scroll, which element you use should
depend on what you are trying to accomplish. 

Joe Lee

>>> meovino@xxxxxxxxx 10/26/2004 17:50:11 >>>
You can also throw your content into a <div> that has the height,
width and scrolling options set to limit its size and allow scrolling.
 This has the same limitations as a scrollable table -- newer browsers
only.

What kind of effect are you going for?  If you just want to display a
bunch of data, Scott Klement is right.  An HTML table is really all
you need.  Browser users are used to vertical scrolling.

Mike E.



On Tue, 26 Oct 2004 17:20:13 -0700, Joe Lee <leejd@xxxxxx> wrote:
> Actually I believe this capability is a function of CSS , not
> HTML/XHTML. You need to use the <tbody></tbody> tags along with the
> <thead></thead> and/or <tfoot></tfoot> tags. Basically you use the
style
> of the <tbody> element to specify the size of the element and then
also
> specify overflow:auto or overflow:scroll. This will give you a
fixed...



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.