Home » » Show/Hide your contents

Show/Hide your contents


How to Install to your blog?
Log in to your Blogger account
Go to "Design" > "edit html"
Find this piece of code
Immediately Before that paste this code
<style type="text/css">
.commenthidden {display:none}
.commentshown {display:inline}
<script type="text/Javascript">
function togglecomments (postid) {
var whichpost = document.getElementById(postid);
if (whichpost.className=="commentshown") { whichpost.className="commenthidden"; } else { whichpost.className="commentshown"; }
} </script>

How to use on your post?
<a aiotitle="" href="javascript:togglecomments('hideshowdemo')">+/- Click Here to Expand and Collapse</a>
    <div class="commenthidden" id="hideshowdemo"><ul>
    <li><a href="Your Url">Link Name</a></li>
    <li><a href="Your Url">Link Name</a></li>
    <li><a href="Your Url">Link Name</a></li>
Change The Url and Link Name With your Own...
Share this games :


Post a Comment

Sign up for FREE daily Updates.