This is actually an old version of danielmall.com. For the latest and greatest, check out the new site.
 

Swept Under the Rug

I've been meaning to get to it for a while, and I've finally had the time to make some changes under the hood of this site.

Partly because of the live critique at An Event Apart and partly because I was just annoyed, I've decided to clean house a bit. It's not perfect, but it's a lot closer to where I want to be.

The site now sports a brand new style sheet that I feel is a lot tighter than the previous one. I've started reading The Elements of Typographic Style by Robert Bringhurst, and it's a godsend. If you haven't read it yet, you're really missing out. I'm only about 30 pages in, but I finally realized why ceratin things about this site bugged me. The new stylesheet solves a lot of the margin and gutter issues that I was struggling with. For example, the right margin was a different measurement on each page. I sat down and figured out a consistent measuring formula and a way to standardize my grid. That, and the code plays nicer with more browsers.

Also, I've rewritten my Javascript file to be a little more unobtrusive. It now includes Simon Willison's addLoadEvent() method instead of using a regular onload. The new JS contains a spruced-up comment preview to give live URLs.

However, it's not without its drawbacks, as Internet Explorer 6 on the PC is being stubborn (surprise, surprise). The "author" field doesn't show a live preview and only displays a value of "undefined". I have a feeling that it doesn't like the HTML as a string while using innerHTML, but I can't quite narrow it down from there, so any help is appreciated.

Also, I would like to change my comment submit button from a standard form submit element to an image. I tried implementing it, but when it's clicked, it goes straight to the MT comment page rather than back to the full article. I'm not sure if it's a Javascript thing or an MT setting that I need to change. The image input is commented out on this page underneath the HTML submit button, and a live HTML editing plugin like Safari Stand is totally helpful here, so, again, any advice is welcome.

I know it's kinda like cleaning before your housekeeper comes over, but I'd like to be in top shape before showing it to the pros, experts, and gurus. We'll see if my site gets picked for a critique, and, if so, I'll be sure to post the "results" here.

Comments

jojo said:

Dude, your acronyms/abbreviations are bold, all-caps, italic, and underlined…wait'll you get to page thirty-one!

Posted on November 23, 2005 01:25 PM

Dan Mall said:

@jojo: Touché! Page 31 convicted me, so I’ve updated the styles. What a great book!

Posted on November 23, 2005 01:57 PM

Sorry: comments are closed.