How to Create Show or Hide Links for Posts on Blogger ?
- Login to Blogger.com.
- Go to "Dashboard".
- Go to "Template".
- Click on "Edit HTML".
- Add these lines in css style code of blogger template :
- Javascript Add the following code to template between <head> and</head>
.posthidden (display:none)
.postshown (display:inline)
<script type="text/Javascript">
function expandcollapse (postid) {
whichpost = document.getElementById(postid);
if (whichpost.className=="postshown") {
whichpost.className="posthidden";
}
else {
whichpost.className="postshown";
}
}
</script>