Expand/Collapse Blogger comment Box with jQuery
Kindly also check out previous tutorials below to add even more fun.
Blogger Comment Box Series
1. Customize Blogger Comment Form
2. Comment Form with Black Background Theme - Just like ours!
3. Over 1000 Background Themes For Blogger Comment Box!
4. Expand/Contract Blogger comment Box with jQuery
How it works?
This idea came in my mind by reading an interesting discussion between some fellows atstackoverflow. The discussion was a little confusing at first but a little focus made it to this structured code. All this functionality does is that it hides the div sections in active mode but displays the content when clicked. You can see a live demo by clicking our comment box .
Credits
The codes below are copyrights of MBT blog. We therefore request both bloggers and developers to kindly attach an attribution link back to this page if they wish to share this tutorial with their readers.
Note: Most of our gadgets are redistributed with no credits attached. All such blogs are being repeatedly reported to both AdSense, Blogger and DMCA. Some readers are therefore advised to kindly use our resources only for non-commercial use only.
Install on blogger
The installation guide is extremely simple. We have kept the steps as clear as possible. You just need to copy and paste the codes as guided. Lets get to work now.
- Go To Blogger > Template
- Backup your template
- Click Edit HTML
- Click Proceed
- Click Expand Widget Templates
- Just below <head> paste the following code:
7. Now search for ]]></b:skin> and just above it paste the following CSS code
- To change the width of the button just edit: 518px
- To change the color, font size, font type of the text "Click here to add Comment" edit the highlighted part of the code.
8. Next search this:
9. Just below it paste the following code:
and just above </b:includable> paste this code:
See the image below to see you have followed the steps correctly.
10. Save your template and all done!
You can customize the comment form by reading our previous tutorials. You can choose over one thousand background themes to breath a new life in the same commenting system that once looked really dull and simple.
Visit your blog to see your blog in completely different neat look. Your visitors will love to comment now! :)
No comments:
Post a Comment