I use that method in a theme of mine, but it isn't for WordPress. Nonetheless the concept is a good one.