Saturday, May 24, 2008

Degrading Expandable Blog Posts in Blogger for Clients with JavaScript Disabled

Previously I discussed enabling expandable blog posts in Blogger through a template customization. While I liked the modification a great deal, I wanted to modify the output on clients with JavaScript disabled, where the tweak displays a link to the full post for every home page item.

After some meddling with the original code from, I adjusted the modification so that when JavaScript is disabled, the blog front page displays as it would without the tweak -- with complete posts and no links to full posts.

This seemed like the best option with the Blogger environment and still provided full usability for JavaScript-disabled clients.

1 comment:

  1. How did you do that? I am very interested in doing this at my blog as well.