Powered By Blogger

Monday, November 26, 2007

Type your summary here.
and I proudly present our Super Peek-A-Boo posts: you can expand them from summary to full post, collapse them, and if you don't have a post summary in a particular post, the "Read More..." and "Collapse" links will not show up in your post.
Type the rest of your post here.
As you can see in this post, it starts with only the summary, followed by the 'Read more...' link. Clicking the link expands to the full post. Now at the bottom you will find a 'Summary only...' link, that collapses the post back to its summary.This hack was first implemented by Ramani at Hackosphere. I expanded on it to make it collapsable. Together we developed the finishing touch of hiding the expand/collapse link when there is no need for them.This is how to implement it.Step 0:Back-up your template before modifying it.Step 1:Add the following javascript code to the head of your template. You can place it just above the -tag.

1 comment:

Anonymous said...

Happy Wednesday! Bloghoppin' here... Hey, I have an interesting tutorial for you that I have written myself. It is about adding Adsense on your Single Post in XML template. I hope you'll like it! God Bless you!