Add Show - Hide Links in Posts

From Bloggerhacks

(Difference between revisions)
 
(2 intermediate revisions not shown)
Line 31: Line 31:
==Sites Using This Hack==
==Sites Using This Hack==
-
* unknown
+
* [http://bunny-power.blogspot.com/ http://bunny-power.blogspot.com/]
Edit this area and add your own link if you are using this hack.
Edit this area and add your own link if you are using this hack.
Line 37: Line 37:
[[Category:Hacks]]
[[Category:Hacks]]
[[Category:Expandable Posts]]
[[Category:Expandable Posts]]
 +
 +
[[Category:Blogger Classic]]

Current revision as of 04:09, 22 December 2006

Contents

Platform

For use with Blogger blogs.

Author

Blogger Team

Homepage

"How can I make show/hide links for my posts?" in Blogger Help

Skill Level

You must be comfortable with editing CSS and your Blogger template.

Description

Use this hack to hide all post content behind a link. When the link is clicked, the entire text of the post will become visible. Once added to your blog, this functionality will apply to every post. When clicked a second time, the post text will become hidden once more.

The drawback of this method is that all posts, regardless of their length, will be hidden behind the "show/hide" link (or whatever text you use for the link).

Method

  1. Obtain styles, JavaScript, and template code.
  2. Insert styles into the stylesheet portion of your Blogger template.
  3. Insert JavaScript snippet into the head element of your Blogger template.
  4. Insert template code into the body element of your Blogger template.
  5. Re-publish your blog.

Sites Using This Hack

Edit this area and add your own link if you are using this hack.

Personal tools
FreshTags