W3C home > Mailing lists > Public > public-html@w3.org > October 2008

Re: table and meter : timeline, timesheet

From: Ben Millard <cerbera@projectcerbera.com>
Date: Sun, 26 Oct 2008 21:51:11 -0000
Message-ID: <DCE03957910F4F16BE4D3F88646C7DE5@ben9xr3up2lv7v>
To: "Ian Hickson" <ian@hixie.ch>, "Olivier GENDRIN" <olivier.gendrin@gmail.com>
Cc: "Lachlan Hunt" <lachlan.hunt@lachy.id.au>, "public-html" <public-html@w3.org>

Ian Hickson wrote:
> Olivier GENDRIN wrote:
>> I wish to ease the build of timelines like
>> http://www.math.yorku.ca/SCS/Gallery/images/timelines/marey_1885.jpg,
>> http://www.mountpleasantgroupofcemeteries.ca/images/BoardBios/MPGC-BoardTimeline.png,
>> http://www.english.uiuc.edu/maps/poets/a_f/bronk/timeline.jpg and
>> (note the log scale)
>> http://www.nature.com/bjp/journal/v143/n6/images/0705938f2.gif in pure
>> semantic HTML, or TV programs like http://www.cesoirtv.com/.
>>
>> It's doable right now with table, but it needs hundreds of td, and it's
>> less semantic than with a @interval attribute (using any number of
>> start/end pairs).
>
> I think this is interesting, but probably isn't something we should do in
> HTML5. Maybe for HTML6?

Wikipedia uses <table> for timelines. An example is in my 2008 collection:

<http://projectcerbera.com/web/study/2008/tables#timelines>

Lots of colspan and rowspan reduces the total number of cells. I guess they 
work since data cells which span different groups of column headers get 
every header cell which applies to any slot covered by that data cell. 
(AFAICT.)

So, the "400i" cell on Wikipedia gets these column headers:

* 1970s
   * 9
* 1980s
   * 0
   * 1
   * 2
   * 3
   * 4

And these row headers:

* FR/FMR
   * 2+2

-- 
Ben 'Cerbera' Millard
<http://projectcerbera.com/web/study/> 
Received on Sunday, 26 October 2008 21:57:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:23 GMT