The A List Apart Blog Presents:

Ten Years Ago in ALA: Footers and Image Galleries

Article Continues Below

One decade ago this week, A List Apart released Issue 170. The two articles published that week both discussed combining CSS, JavaScript, and markup to build user interface features we wouldn’t think twice about placing on a site today.

Exploring Footers by Bobby Van Der Sluis

One of the difficulties in prying tables-for-layout from the hands of web standards skeptics was offering a compelling way to handle heights and vertical positioning. In addition to a variety of CSS hacks, JavaScript gets involved here to stick a footer to the bottom of the window. The same code is recommended for vertically centering an element, so it might still be useful today.

JavaScript Image Gallery by Jeremy Keith

This JavaScript, taken as-is, could be a perfectly reasonable foundation for something like a series of product photos even now. These days, to really bowl an audience over with something like this, we’d have to do it all in CSS. It’s interesting that switching to newer techniques like querySelector and data attributes probably wouldn’t change the number of lines of code here, though it’s probably safe now to drop the check for getElementById.

About the Author

Garann Means

Garann has been making websites since the 90s and, after spending time as a full-stack developer, has the privilege of spending her days mostly writing JavaScript. She has written one book on Node.js, organizes local meetups, speaks at conferences, and generally tries to stay involved with her dev community. You can also find her on Twitter.

No Comments

Got something to say?

We have turned off comments, but you can see what folks had to say before we did so.

More from ALA

Designed for a Dead Language

Every language app in your pocket inherited a teaching method built for Latin. Understanding why that happened is a more useful design lesson than anything the apps themselves can teach you.
Uncategorized

Design for Amiability: Lessons from Vienna

Computing was born in a Viennese café. Between 1928 and 1934, while Hitler plotted and Europe crumbled, a motley crew of mathematicians, philosophers, architects, and economists gathered weekly to puzzle out the limits of reason—and invented Computer Science in the process. What made their collaboration possible wasn't just brilliance (though they had plenty). It was amiability: the careful design of a social space where difficult people could disagree without destroying each other. Longtime A List Apart contributing author Mark Bernstein mines this forgotten history for lessons that might just save today's embattled web from its worst impulses. Spoiler: it involves better coffee service and the looming threat of public humiliation.

Discover more from A List Apart

Subscribe now to keep reading and get access to the full archive.

Continue reading