Saturday, 19 December 2015

(New) Add Simple Multi-Tab Sidebar Widget In Blogger

How to Install a Multi Tab Sidebar widget in Blogspot blog - The actual benefit of this widget is that if my friend added too many widgets in the sidebar, then by installing a multi-tab widget will save the placement of widgets in the sidebar column which usually extends downward. This multi-tab widget will make your blog become more neat and attractive. 
Before you add this widget on your blog, make sure to take a look of this widget by clicking on the below demo button.
If you like this widget and want to install it on your own blog, then follow the below simple steps and setup this Multi-tab widget without having any problem.
Add Simple Multi-Tab Sidebar Widget In Blogger By Askwithloud

How to Install Multi-Tab Sidebar widget?

At first, login into your blogger account - Login
Go to the "Template" section.
Click on the "EditHtml" button.
In template editor add the below code just before ]]></b:skin> or </style>
/* Multi Tab Widget */
.multitab-section{background:#fff;text-transform:uppercase;width:100%}
.multitab-widget{list-style:none;margin:0 0 10px;padding:0}
.multitab-widget li{list-style:none;padding:0;margin:0;float:left}
.multitab-widget li a{background:#22a1c4;color:#fff;display:block;padding:15px;font-size:13px;text-decoration:none}
.multitab-tab{border:0;width:33.3%;text-align:center}
.multitab-section h2,.multitab-section h3,.multitab-section h4,.multitab-section h5,.multitab-section h6 {display:none;}
.multitab-widget li a.multitab-widget-current{padding-bottom:20px;margin-top:-10px;background:#fff;color:#444;text-decoration:none;border-top:5px solid #22a1c4;font-size:14px;text-transform:capitalize}
Now copy the below jQuery Script and paste it Just before </body>.
<script type='text/javascript'>
//<![CDATA[
// Multi tab widget
jQuery(document).ready(function($){ $(".multitab-widget-content-widget-id").hide(); $("ul.multitab-widget-content-tabs-id li:first a").addClass("multitab-widget-current").show(); $(".multitab-widget-content-widget-id:first").show(); $("ul.multitab-widget-content-tabs-id li a").click(function() { $("ul.multitab-widget-content-tabs-id li a").removeClass("multitab-widget-current a"); $(this).addClass("multitab-widget-current"); $(".multitab-widget-content-widget-id").hide(); var activeTab = $(this).attr("href"); $(activeTab).fadeIn(); return false; }); });
//]]>
</script>
Then, add the below code (In your template editor) where you want to show this widget.
<div class='multitab-section'>
<ul class='multitab-widget multitab-widget-content-tabs-id'>
<li class='multitab-tab'><a href='#multicolumn-widget-id1'>Popular</a></li>
<li class='multitab-tab'><a href='#multicolumn-widget-id2'>Tags</a></li>
<li class='multitab-tab'><a href='#multicolumn-widget-id3'>Archive</a></li>
</ul>
<div class='multitab-widget-content multitab-widget-content-widget-id' id='multicolumn-widget-id1'>
<b:section class='sidebar' id='sidebartab1' preferred='yes'/>
</div>
<div class='multitab-widget-content multitab-widget-content-widget-id' id='multicolumn-widget-id2'>
<b:section class='sidebar' id='sidebartab2' preferred='yes'/>
</div>
<div class='multitab-widget-content multitab-widget-content-widget-id' id='multicolumn-widget-id3'>
<b:section class='sidebar' id='sidebartab3' preferred='yes'/>
</div>
</div>

After that, save the template, refresh your blog and see the magic.
That's it! I hope you like this widget! Stay tuned for more cool widgets! Thanks for reading +Prince Chaudhri 
Load comments

0 Comment to "(New) Add Simple Multi-Tab Sidebar Widget In Blogger"

Post a Comment