Launched my sister Sarah Peterson’s photography portfolio site today. Since it’s a photography website, I put extremely little work into the design and focused on simple navigation and organization.
The horizontal accordion slider on the main page was achieved using a combination of view templates, jQuery, and hSlides. There is at least one horizontal accordion module out there now, but it comes with a number of dependencies that seemed like overkill for such a simple project and it didn’t feel stable.
Everything else about the site is relatively straightforward. All of the images are dynamically resized with the usual trio of imagecache, imageapi, and imagefield. I modified node templates so that instead of displaying images, the images are displayed as the backgrounds of divs. This is to prevent users from easily saving images and using them elsewhere without permission. Obviously there are many ways still to get the files, but this inconvenience seems good enough to thwart most casual users.
![Today, A Small Web Firm went live. It’s an idea that’s been germinating in my head for some time now, and it still has a long way to go; but this is where it begins. It will be a collective (rather than a company) of individuals whose skills can be synthesized to realize websites and web applications for those who need them but who would rather spend their time honing their own products, services, or skills. Right now, it is just a temporary portfolio and contact form, but it will grow.
You’ll notice that the screenshot above was taken in Internet Explorer 7. You might be surprised to hear that its structure is built entirely on the HTML5 <header> <section> <footer> <nav> and <article> tags with not a single <div> or <span>.
While the standard is far from finished and even further from adopted, I think at least those structural elements are safe for deployment. For support in older versions of Firefox and all current versions of IE, all that is needed is some basic JavaScript in your head, wrapped in an <!--[if IE]> ... <![endif]--> conditional.
While there’s no specific advantage to using any of the above over a nest of <div> tags labeled with IDs (that I’m aware of), you have to admit the simplicity and semantic clarity of the source code is a thing of beauty.](http://28.media.tumblr.com/tumblr_lc2rg5cNNT1qbucszo1_500.png)