Views

Verbose

Brief

Pop-up

Thomas's Photo Album: About

This photo album was originally intended to show things one can do with Adobe Photoshop, and for sharing pictures with family and friends.

Page Layout - Fun With CSS

Recently, I've added code to allow users to pick one of two views to the photos. Part of the intent was to teach myself some more advanced CSS techniques.

Brief View

The Brief View lists images in "cards" with some limited information and titles.

Verbose View

The Verbose View lists images contains all of the information that exists about the image.

Pop-up View

This view does not work with Internet Explorer. It should work on Mozilla-based browsers and in Opera (although Opera glitches a bit.)

In this view, when you move your mouse over a card, it shows the meta-data for the image in a pop-up on the right side of the browser window.

This uses the :hover pseudo-selector in CSS 2.0, which I.E. only implements for the A tag.

Javascript

Javascript is used in the links which toggle through views, and to handle the "View" cookie.

The code is essentially Paul Snowden's Style Switcher.

The "View" Cookie

This cookie is used to "remember" which view the user selected, and apply that view to other album pages on this site. So if you select "Verbose View" and visit another page on this site, the "Verbose View" is also used on that page.

XML and XSL

To make generating the HTML for these pages easier, I've written the input as XML, and generated HTML from the XML files. I use Perl to generate the "Top 20" list.

Photoshop Tricks

Most of these images have been tinkered with via Photoshop. Some of them have been simply color-corrected, but others have been greatly altered.


Copyright 1995-2003, Thomas Andrews, thomas@thomasoandrews.com.
Date: Fri Nov 21 08:30:10 EST 2008