News on the Web and CSS
First off, does anyone know that internet news site that has a nice little javascript column thingy? It lays out three columns of text at whatever height can fit in the window (which may or may not be enough for the whole article), and to get to the 4th and subsequent columns you just click on a little “next” button (or a “previous” button to go back). It’s quite a cool setup.
So. I was thinking about that for a moment, and I realized that this could be incredibly easy to do with just a little bit of CSS and javascript (read: I could probably do it, without too much research, and all I know how to do in javascript right now is declare variables). If, that is, there were a ::column pseudo-element. It would just be require setting display:none on the 4th and subsequent columns, then when the next button is clicked setting display:column on the 4th column and display:none on the first one.
So, can someone post this to www-style for me, since www-style seems not to like my email?
April 20th, 2005 at 10:45:46
The news site is the Herald Tribune.
April 20th, 2005 at 12:44:27
Ah, yes. Thank you!