Re: OT - Web page (html) question
- From: GingerJools <gingerjools@xxxxxxxxxx>
- Date: Wed, 20 May 2009 13:33:49 -0700 (PDT)
On May 20, 4:19 pm, bill horne <redy...@xxxxxxx> wrote:
GingerJools wrote:
On May 20, 3:10 pm, bill horne <redy...@xxxxxxx> wrote:
GingerJools wrote:
On May 20, 2:21 pm, bill horne <redy...@xxxxxxx> wrote:No, I'm specifically concerned with Consumer Reports ratings pages -
Some web pages have stuff that stays in the same place on the screenAre you talking about the "Opioid Analgesics" table?
even when the page is scrolled. Seehttp://www.merck.com/mmhe/sec06/ch078/ch078d.html#sec06-ch078-ch078d-162
for an example.
There are some web pages that have data in rows and columns, with the
first row being the column headers. If I were to write to a webmaster
to tell him that the first row - the column header row - needs to stay
visible when the page is scrolled, what would be the short technical
description of what he needs to do to that first row?
In Excel, for example, it's called "Freeze pane".
--
bill
Theory don't mean squat if it don't work.
Ginger
but if I were talking about the "Opioid Analgesics" table, I'd want
the "Drug Length of Effectiveness Comments" row to stay on the
screen as I scrolled down the table.
--
bill
Theory don't mean squat if it don't work.- Hide quoted text -
- Show quoted text -
Short answer is it's complicated.
First of all, there are logistical differences between a spreadsheet
and a web page beyond the obvious superficials of formatting. This
makes a simple thing like freeze pane not translatable to web pages.
Although there are "tables" comprising rows and columns in HTML (the
text language for formatting web pages), they do not have a freeze
pane feature.
The simple way to fake it would be to use frames. The sample you
posted has a vertical frame down the left side where the navigational
links reside. Its content stays locked whilst the right hand frame
scrolls. A frame behaves much like an independant web page sharing
the screen with another web page.
To accomplish frozen headings, one would put the headings in a frame
across the top of the web page and the data in a frame underneath.
The two frames would of course scroll independently. (In fact the top
frame wouldn't scroll at all.)
However, this page is much more complex. The table is buried inside a
web page with stuff above and below. So we can't use a horizontal
frame for the headings since this would result in the headings
persisting for all content.
So now we must take the right hand frame and build a subset of frames
stacked vertically within the right hand frame so that the stuff above
the table is in one sub frame, the two frames for the headings and
data are in another sub frame, and finally the stuff below the table
would be in the third sub frame. The table frames would actually be
sub-sub frames. It gets complicated fast, but it would be doable. I
wouldn't design it that way though since the table isn't so
complicated as to require frozen headings. Maybe if it had 10 or 15
columns with similar data I would.
If the web designer wanted to use a language such as Java or Flash to
build, format and display "frozen" headings they could probably write
code to accomplish this. I'm not that experienced to say for sure but
I would be very surprised if it were not doable.
For this table, only three columns, the cost in complexity, design
time, and loss of flexibility wouldn't be justifiable. IMHO.
Hope that helps.
If not, ask another question.
Ginger
If "frozen headings" is the accepted term among web page designers,
that's what I'm looking for. If it is, thanks.
As Pepperoni provided, this is a better example:http://www.tvguide.com/listings/
--
bill
Theory don't mean squat if it don't work.- Hide quoted text -
- Show quoted text -
My bad, that is a good example, the frame does scroll. This is
multiple levels of nested frames.
Ginger
.
- Follow-Ups:
- Re: OT - Web page (html) question
- From: bill horne
- Re: OT - Web page (html) question
- References:
- OT - Web page (html) question
- From: bill horne
- Re: OT - Web page (html) question
- From: GingerJools
- Re: OT - Web page (html) question
- From: bill horne
- Re: OT - Web page (html) question
- From: GingerJools
- Re: OT - Web page (html) question
- From: bill horne
- OT - Web page (html) question
- Prev by Date: Re: OT - I like it
- Next by Date: O.T. Hunter....Does Yer Cats Talk Back to You ??
- Previous by thread: Re: OT - Web page (html) question
- Next by thread: Re: OT - Web page (html) question
- Index(es):
Relevant Pages
|