Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] visibility of a table column
- From: paul at juniperwebcraft.com (Paul Novitski)
- Subject: [Javascript] visibility of a table column
- Date: Wed Oct 11 11:07:48 2006
At 10/10/2006 01:09 PM, John Deighan wrote:
>I need to set the visibility of an entire column to hidden or visible.
If it turns out that {visibility: collapse;} has cross-browser
issues, it might also be worth experimenting with setting the cell
properties to {width: 0; height: 0; overflow: hidden;}.
<tr>
<td>blah</td>
<td class="hideable">Disappearing content</td>
<td>blah</td>
</tr>
Whichever CSS method you use, if you know which columns you'll need
to collapse ahead of time, applying a class to the markup and setting
the class properties in the stylesheeet means not having to cycle
through the table affecting the Nth cell on every row (which isn't
difficult, of course, just potentially humanly noticeably
time-consuming for very large tables).
And there goes my adverb quota for the morning!
Regards,
Paul
- References:
- [Javascript] visibility of a table column
- From: John Deighan
- [Javascript] visibility of a table column
- Prev by Date: [Javascript] unsuscribe
- Next by Date: [Javascript] disabled window detections
- Previous by thread: [Javascript] visibility of a table column
- Next by thread: [Javascript] unsuscribe
- Index(es):