Top 5 Blog Search Engines

Top 5 Blog Search Engines

Although there are dozens of Blog Search Engines indexing all the blogs, some are very inaccurate showing irrelevant results, some requires custom submission,and some don't even show the search results at all. But here I compiled a list of Top 5 Best Blog Search Engines that can really help you in searching content from blogs, with accuracy and perfection.
Read More »
Twitter Submit button for blogger blog

Add Tweet Button with Tweets Counts in Blogger Posts

If you want your blog's articles to be shared and viewed instantly by world, you can install a quick tweet button in your blog that helps your readers in tweeting your articles.
Read More »
Bitdefender 2010 Products

Download BitDefender 2010 All products with one-click direct download links

BitDefender is #1 trustable security for your computer. The only antivirus software with the deepest scanning and cleaning capabilities. Bitdefender 2010 products stand-alone installers with One-Click direct download links.
Read More »
Personas for Firefox

Personas for Firefox - Light weight Skins for Firefox

Personas for the firefox are just the skins that can be easily installed with a single click without need of downloading any addon to apply the skins.
Read More »
Windows 7 Transformation Pack

Download Windows 7 Transformation Pack for XP and Vista

Windows 7 Transformation Pack aka "Seven Transformation Pack" will transform your entire user interface, including a 7-themed Boot Screen, Welcome Screen, and Visual Style, as well as new icons, wallpapers, and more.
Read More »
Should I upgrade to Windows 7?

Can my Computer run Windows 7? Ask Windows 7 Upgrade Advisor

Windows 7 Upgrade Advisor scans your PC for potential issues with your hardware, devices, and installed programs, and recommends what to do before you upgrade to Windows 7.
Read More »
What is being copied from my blog?

Do You Know Where Your Blog's Content Is Going?

People reading a blog usually copy content or images they like to save or to share. You can easily track and monitor visitors and their visits to your blog but do you know you can also track the content that is being copied from your blog?
Read More »
download youtube videos

World's Fastest Way to Download Youtube Videos

How about making the process of Video downloading from Youtube so fast that you can not only download the videos with one-click but with accelerated download speed too?
Read More »

"Submit Blogger Blog's Sitemap to Top Search Engines

Sitemap is an XML file that lists URLs for a site along with additional metadata about each URL (when it was last updated, how often it usually changes, and how important it is, relative to other URLs in the site) so that search engines can more intelligently crawl the site.
Read More »

Follow Simple Tips to Drive Traffic to your new Blog

In this post we release Imprezz ¨C a simple and beautiful 3-column-theme, a free WordPress theme designed by Gopal Raju from ProductiveDreams for Smashing Magazine and its readers. The theme can be used in various setting for various purposes - in magazine-blogs, but also in corporate and private blogs.
Read More »

Get 1000's of Twitter followers in one button click

After understanding "What is twitter" second thing that twitter users find disturbing is "How to make people follow you?", so that they can read your tweets. :)
Read More »

Fastest way to Listen and Download Mp3 Songs

All you have to do is to put in the song's name (it would be better if you include the artist's name also for accurate results) and hit Search Music button. And on the very next page it shows all the "Direct links" of the song you searched. :)
Read More »

Add Live Traffic Feed Widget to your Blogger Blog

Ever wanted to see where traffic is coming from on your blog?
Live traffic widget can help you to show visitors' traffic flow.
So you can see in real time, WHO, FROM WHERE coming on your site and ON WHICH post!
Read More »

Fastest way of Social Sites Bookmarking

Usually most of the sites have social bookmarking buttons embedded within the posts/articles. But still you have to click them one by one to submit the article to all of your favorite social bookmarking sites. Well, Let me share with you the fastest way to submit a site to multiple social bookmarking sites in one click!
Read More »

How to Insert Adsense Ads inside Blogger Posts

There's no gadget available to place adsense ads inside the posts. So, to Place adsense ads inside a blogger post, you have to modify the template a little bit to place the adsense code in there. And if you dont know, then let me tell you that CTR of the ads inside the blog posts is much more higher than the ads outside posts.
Read More »

Download Google Chorme 4 Offline Installer

Google is rapidly updating its browser: Chrome. After its stable version 2, there was a very short time period between release of version 3 and all new Chrome v 4.0.202.0 beta. Download offline installer of Beta 4.
Read More »

UXTheme Multi-Patcher - Install Windows Themes/Visual Styles with a Double Click

If you want to apply third party themes you need to bypass the certification verification (of uxtheme.dll) by patching this system file. UXTheme Patcher removes this check to provide the Microsoft Windows users a free and easy way to enable third-party customization of Microsoft Windows user interface.
Read More »

Increase Torrent Download Speed- The Easy Way!

If you have a DSL internet connection and download torrents frequently and not satisfied with the download speed, then this little trick is definitely for you! Which would increase torrent download speed noticeably.
Read More »

Increase Your Blog's Page Views Upto 300 Percent By Linkwithin

After reading something if a reader finds no where to go next finds nothing else to read, he immediately closes the browser window and there you go - you just lost another reader for your blog.
Read More »

In this post we release Imprezz ¨C a simple and beautiful 3-column-theme, a free WordPress theme designed by Gopal Raju from ProductiveDreams for Smashing Magazine and its readers. The theme can be used in various setting for various purposes - in magazine-blogs, but also in corporate and private blogs.
Read More »
Prev 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 Next

Tuesday, September 8, 2009

tabbxx1

One of the space efficient widgets for bloggers is of course a multi-tabbed widget, which saves a lot of precious space for any blog. You can use it for merging number of gadgets in one widget.
Instead of showing basic widgets like Popular posts, Archives, Tags , Recent Posts etc separately, you can merge them all in one multi-tabbed widget to save space.

See my side bar to see how it looks.

In other methods you have to upload some .css and/or javascript (.js) files to some other hosting server and then add that link of the script back to your blog. FYI, this increases page load time.

So Unlike other methods that you have seen of any multi-tabbed widget, this method has all the css/scripts in your own blog's template, thus reducing page load time noticeably.

Installation has three parts;

1. First part contains css/javascript code installation in template.
2. Second part explains installation of multi-tabbed widget in the template for your sidebar.
3. Third one is simple and tells adding the main gadgets from the layout section in the multi tab widget.

Part 1 - Installating css/script in Template



1. Navigate to Edit HTML pag.

2. Download a backup of your template. (Dont skip this step!)

3. Search (Ctrl+F) for :


]]></b:skin>


and Just ABOVE it, copy and paste this entire css code block



Click to expand CSS code [+/-]



<!-- Multi-Tabbed Widget CSS STARTS-->

.domtab{margin:0px; padding:0px; float:left; width:370px; font-size:1em}
.domtab li{overflow:hidden}
.domtabs{margin:0px; padding:0px; float:left; width:370px; list-style-type:none} <-- Change this width to change widget's widht -->
.domtab h2{margin:0px; padding:0px; float:left; width:370px; display:none}
.domtab .widget h2{display:none; visibility:hidden; herght:0px}
.domtabs li.active a:link, .domtabs li.active a:visited, .domtabs li.active a:active, .domtabs li.active a:hover{color:#000; text-decoration:none; display:block; float:left; padding-right:15px; padding-left:15px; text-align:center; margin:0px; height:33px; padding-top:0px; border-top:1px solid #CCC; border-right:1px solid #CCC; border-bottom:1px solid #EEE; border-left:1px solid #CCC;

background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOm_G0sDfzJCvgvOs6GPX1hhGT8x32Jrdk5Blo6Ptx6Az7IMGbFXu00zecVTv51vOgB4UQuMizEK-zWSg2HaD1HdDqdRR1Qyxos8qefKEAGRklNjEptNP2kxfSUXZbXLYqjvmQhHcemT0/s1600/dom.gif) repeat-x bottom}
.domtabs a:link, .domtabs a:visited, .domtabs a:active, .domtabs a:hover{text-decoration:none; display:block; float:left; margin:0px; padding-right:15px; padding-left:15px; text-align:center; height:33px; background:#f9f9f9; border-top:1px solid #eee; border-right:1px solid #eee; border-left:1px solid #eee; color:#000; padding-top:0px; border-bottom:1px solid #E9E9E9}

.domtabs li{display:inline; float:left; line-height:30px; height:34px; font-weight:bold; padding:0px; margin:0px}
#tabs-wrap{float:left; width:370px}
#tabs-wrap object{margin:0px; padding:0px; float:left; height:200px; width:370px; border-width:0px}
#tabs-wrap embed{margin:0px; padding:0px; float:left; width:340px; border-width:0px; height:200px}

#tabs-wrap .widget{margin:0px; padding:5px 10px 10px; float:left; width:340px; list-style-type:none}
#tabs-wrap .widget ul{margin:0px; padding:0px; float:left; width:340px}
#tabs-wrap .widget li{margin:0px 0px 5px; padding:0px; float:left; width:340px; line-height:16px; color:#666}
#tabs-wrap .widget ul li{margin:5px 0px 0px; padding:0px; float:left; width:340px; color:#666}
#tabs-wrap .widget li a{color:#000; text-decoration:none; margin:0px; padding:0px 0px 0px 20px; background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-UHkJY3eHq7UZMZYSIdVyG6i11dCMU59iSJyR2j3SV9Ehm9FEyAE3hdNBTm86lLMpSQzJmVD346gPm5Ldx_QKL7ByNCWyCtmrUEXzSFIPQNsgRtjx8gJfYS_ZKhM4RjMF6U4aqIUhHqI/s1600/radio.gif) no-repeat 4px 2px; float:left}
#tabs-wrap .widget li a:hover{color:#900; text-decoration:underline; margin:0px; padding:0px 0px 0px 20px; background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-UHkJY3eHq7UZMZYSIdVyG6i11dCMU59iSJyR2j3SV9Ehm9FEyAE3hdNBTm86lLMpSQzJmVD346gPm5Ldx_QKL7ByNCWyCtmrUEXzSFIPQNsgRtjx8gJfYS_ZKhM4RjMF6U4aqIUhHqI/s1600/radio.gif) no-repeat 4px 2px; float:left}

#tabs-wrap .nolist{margin:0px; padding:10px; float:left; width:370px; list-style-type:none; font-size:1em; line-height:18px}
.nolist a{color:#C00; text-decoration:none}
#tabs-wrap .nolist ul{margin:0px; padding:0px; float:left; width:370px}
#tabs-wrap .nolist li{margin:0px 0px 5px; padding:0px; float:left; width:370px; line-height:24px; color:#000}
#tabs-wrap .nolist ul li{margin:5px 0px 0px; padding:0px; float:left; width:370px; color:#000}
#tabs-wrap .nolist li a{color:#000; text-decoration:none; margin:0px; padding:0px; float:left}
#tabs-wrap .nolist li a:hover{color:#900; text-decoration:none; margin:0px; padding:0px; float:left}

#tab_one{}
#tab_two{}
#tab_three{}
.BlogArchive #ArchiveList ul li{text-indent:0px !important}
.tab_one{float:left; width:370px; padding:5px 0px 10px; background:#E9E9E9; border-right:1px solid #CCC; border-bottom:1px solid #CCC; border-left:1px solid #CCC}
.tab_two{float:left; width:370px; padding:10px 0px 0px; background:#E9E9E9; border-right:1px solid #CCC; border-bottom:1px solid #CCC; border-left:1px solid #CCC}
.tab_three{float:left; width:370px; padding:10px 0px 0px; background:#E9E9E9; border-right:1px solid #CCC; border-bottom:1px solid #CCC; border-left:1px solid #CCC}
.tab_four{float:left; width:370px; padding:10px 0px 0px; background:#E9E9E9; border-right:1px solid #CCC; border-bottom:1px solid #CCC; border-left:1px solid #CCC}

<!-- Multi-Tabbed Widget CSS ENDS-->






4. Now come back to the same tag you searched in step 3


]]></b:skin>


and this time just BELOW it, copy paste this entire javascript :



Click to expand javascript [+/-]



<!-- Multi-Tabbed Widget JAVASCRIPT STARTS-->

<script defer='defer' type='text/javascript'>
/*
DOMtab Version 3.1415927
written by Christian Heilmann
check blog for updates: http://www.wait-till-i.com
free to use, not free to resell
*/

domtab={
tabClass:&#39;domtab&#39;, // class to trigger tabbing
listClass:&#39;domtabs&#39;, // class of the menus
activeClass:&#39;active&#39;, // class of current link
contentElements:&#39;div&#39;, // elements to loop through
printID:&#39;domtabprintview&#39;, // id of the print all link
showAllLinkText:&#39;show all content&#39;, // text for the print all link
prevNextIndicator:&#39;doprevnext&#39;, // class to trigger prev and next links
prevNextClass:&#39;prevnext&#39;, // class of the prev and next list
prevLabel:&#39;previous&#39;, // HTML content of the prev link
nextLabel:&#39;next&#39;, // HTML content of the next link
prevClass:&#39;prev&#39;, // class for the prev link
nextClass:&#39;next&#39;, // class for the next link
init:function(){
var temp;
if(!document.getElementById || !document.createTextNode){return;}
var tempelm=document.getElementsByTagName(&#39;div&#39;);
for(var i=0;i&lt;tempelm.length;i ){
if(!domtab.cssjs(&#39;check&#39;,tempelm[i],domtab.tabClass)){continue;}
domtab.initTabMenu(tempelm[i]);
domtab.removeBackLinks(tempelm[i]);
if(domtab.cssjs(&#39;check&#39;,tempelm[i],domtab.prevNextIndicator)){
domtab.addPrevNext(tempelm[i]);
}
domtab.checkURL();
}
if(document.getElementById(domtab.printID)
&amp;&amp; !document.getElementById(domtab.printID).getElementsByTagName(&#39;a&#39;)[0]){
var newlink=document.createElement(&#39;a&#39;);
newlink.setAttribute(&#39;href&#39;,&#39;#&#39;);
domtab.addEvent(newlink,&#39;click&#39;,domtab.showAll,false);
newlink.onclick=function(){return false;} // safari hack
newlink.appendChild(document.createTextNode(domtab.showAllLinkText));
document.getElementById(domtab.printID).appendChild(newlink);
}
},
checkURL:function(){
var id;
var loc=window.location.toString();
loc=/#/.test(loc)?loc.match(/#(\w. )/)[1]:&#39;&#39;;
if(loc==&#39;&#39;){return;}
var elm=document.getElementById(loc);
if(!elm){return;}
var parentMenu=elm.parentNode.parentNode.parentNode;
parentMenu.currentSection=loc;
parentMenu.getElementsByTagName(domtab.contentElements)[0].style.display=&#39;none&#39;;
domtab.cssjs(&#39;remove&#39;,parentMenu.getElementsByTagName(&#39;a&#39;)[0].parentNode,domtab.activeClass);
var links=parentMenu.getElementsByTagName(&#39;a&#39;);
for(i=0;i&lt;links.length;i ){
if(!links[i].getAttribute(&#39;href&#39;)){continue;}
if(!/#/.test(links[i].getAttribute(&#39;href&#39;).toString())){continue;}
id=links[i].href.match(/#(\w. )/)[1];
if(id==loc){
var cur=links[i].parentNode.parentNode;
domtab.cssjs(&#39;add&#39;,links[i].parentNode,domtab.activeClass);
break;
}
}
domtab.changeTab(elm,1);
elm.focus();
cur.currentLink=links[i];
cur.currentSection=loc;
},
showAll:function(e){
document.getElementById(domtab.printID).parentNode.removeChild(document.getElementById(domtab.printID));
var tempelm=document.getElementsByTagName(&#39;div&#39;);
for(var i=0;i&lt;tempelm.length;i ){
if(!domtab.cssjs(&#39;check&#39;,tempelm[i],domtab.tabClass)){continue;}
var sec=tempelm[i].getElementsByTagName(domtab.contentElements);
for(var j=0;j&lt;sec.length;j ){
sec[j].style.display=&#39;block&#39;;
}
}
var tempelm=document.getElementsByTagName(&#39;ul&#39;);
for(i=0;i&lt;tempelm.length;i ){
if(!domtab.cssjs(&#39;check&#39;,tempelm[i],domtab.prevNextClass)){continue;}
tempelm[i].parentNode.removeChild(tempelm[i]);
i--;
}
domtab.cancelClick(e);
},
addPrevNext:function(menu){
var temp;
var sections=menu.getElementsByTagName(domtab.contentElements);
for(var i=0;i&lt;sections.length;i ){
temp=domtab.createPrevNext();
if(i==0){
temp.removeChild(temp.getElementsByTagName(&#39;li&#39;)[0]);
}
if(i==sections.length-1){
temp.removeChild(temp.getElementsByTagName(&#39;li&#39;)[1]);
}
temp.i=i; // h4xx0r!
temp.menu=menu;
sections[i].appendChild(temp);
}
},
removeBackLinks:function(menu){
var links=menu.getElementsByTagName(&#39;a&#39;);
for(var i=0;i&lt;links.length;i ){
if(!domtab.backToLinks.test(links[i].href)){continue;}
links[i].parentNode.removeChild(links[i]);
i--;
}
},
initTabMenu:function(menu){
var id;
var lists=menu.getElementsByTagName(&#39;ul&#39;);
for(var i=0;i&lt;lists.length;i ){
if(domtab.cssjs(&#39;check&#39;,lists[i],domtab.listClass)){
var thismenu=lists[i];
break;
}
}
if(!thismenu){return;}
thismenu.currentSection=&#39;&#39;;
thismenu.currentLink=&#39;&#39;;
var links=thismenu.getElementsByTagName(&#39;a&#39;);
for(i=0;i&lt;links.length;i ){
if(!/#/.test(links[i].getAttribute(&#39;href&#39;).toString())){continue;}
id=links[i].href.match(/#(\w. )/)[1];
if(document.getElementById(id)){
domtab.addEvent(links[i],&#39;click&#39;,domtab.showTab,false);
links[i].onclick=function(){return false;} // safari hack
domtab.changeTab(document.getElementById(id),0);
}
}
id=links[0].href.match(/#(\w. )/)[1];
if(document.getElementById(id)){
domtab.changeTab(document.getElementById(id),1);
thismenu.currentSection=id;
thismenu.currentLink=links[0];
domtab.cssjs(&#39;add&#39;,links[0].parentNode,domtab.activeClass);
}
},
createPrevNext:function(){
// this would be so much easier with innerHTML, darn you standards fetish!
var temp=document.createElement(&#39;ul&#39;);
temp.className=domtab.prevNextClass;
temp.appendChild(document.createElement(&#39;li&#39;));
temp.getElementsByTagName(&#39;li&#39;)[0].appendChild(document.createElement(&#39;a&#39;));
temp.getElementsByTagName(&#39;a&#39;)[0].setAttribute(&#39;href&#39;,&#39;#&#39;);
temp.getElementsByTagName(&#39;a&#39;)[0].innerHTML=domtab.prevLabel;
temp.getElementsByTagName(&#39;li&#39;)[0].className=domtab.prevClass;
temp.appendChild(document.createElement(&#39;li&#39;));
temp.getElementsByTagName(&#39;li&#39;)[1].appendChild(document.createElement(&#39;a&#39;));
temp.getElementsByTagName(&#39;a&#39;)[1].setAttribute(&#39;href&#39;,&#39;#&#39;);
temp.getElementsByTagName(&#39;a&#39;)[1].innerHTML=domtab.nextLabel;
temp.getElementsByTagName(&#39;li&#39;)[1].className=domtab.nextClass;
domtab.addEvent(temp.getElementsByTagName(&#39;a&#39;)[0],&#39;click&#39;,domtab.navTabs,false);
domtab.addEvent(temp.getElementsByTagName(&#39;a&#39;)[1],&#39;click&#39;,domtab.navTabs,false);
// safari fix
temp.getElementsByTagName(&#39;a&#39;)[0].onclick=function(){return false;}
temp.getElementsByTagName(&#39;a&#39;)[1].onclick=function(){return false;}
return temp;
},
navTabs:function(e){
var li=domtab.getTarget(e);
var menu=li.parentNode.parentNode.menu;
var count=li.parentNode.parentNode.i;
var section=menu.getElementsByTagName(domtab.contentElements);
var links=menu.getElementsByTagName(&#39;a&#39;);
var othercount=(li.parentNode.className==domtab.prevClass)?count-1:count 1;
section[count].style.display=&#39;none&#39;;
domtab.cssjs(&#39;remove&#39;,links[count].parentNode,domtab.activeClass);
section[othercount].style.display=&#39;block&#39;;
domtab.cssjs(&#39;add&#39;,links[othercount].parentNode,domtab.activeClass);
var parent=links[count].parentNode.parentNode;
parent.currentLink=links[othercount];
parent.currentSection=links[othercount].href.match(/#(\w. )/)[1];
domtab.cancelClick(e);
},
changeTab:function(elm,state){
do{
elm=elm.parentNode;
} while(elm.nodeName.toLowerCase()!=domtab.contentElements)
elm.style.display=state==0?&#39;none&#39;:&#39;block&#39;;
},
showTab:function(e){
var o=domtab.getTarget(e);
if(o.parentNode.parentNode.currentSection!=&#39;&#39;){
domtab.changeTab(document.getElementById(o.parentNode.parentNode.currentSection),0);
domtab.cssjs(&#39;remove&#39;,o.parentNode.parentNode.currentLink.parentNode,domtab.activeClass);
}
var id=o.href.match(/#(\w. )/)[1];
o.parentNode.parentNode.currentSection=id;
o.parentNode.parentNode.currentLink=o;
domtab.cssjs(&#39;add&#39;,o.parentNode,domtab.activeClass);
domtab.changeTab(document.getElementById(id),1);
document.getElementById(id).focus();
domtab.cancelClick(e);
},
/* helper methods */
getTarget:function(e){
var target = window.event ? window.event.srcElement : e ? e.target : null;
if (!target){return false;}
if (target.nodeName.toLowerCase() != &#39;a&#39;){target = target.parentNode;}
return target;
},
cancelClick:function(e){
if (window.event){
window.event.cancelBubble = true;
window.event.returnValue = false;
return;
}
if (e){
e.stopPropagation();
e.preventDefault();
}
},
addEvent: function(elm, evType, fn, useCapture){
if (elm.addEventListener)
{
elm.addEventListener(evType, fn, useCapture);
return true;
} else if (elm.attachEvent) {
var r = elm.attachEvent(&#39;on&#39; evType, fn);
return r;
} else {
elm[&#39;on&#39; evType] = fn;
}
},
cssjs:function(a,o,c1,c2){
switch (a){
case &#39;swap&#39;:
o.className=!domtab.cssjs(&#39;check&#39;,o,c1)?o.className.replace(c2,c1):o.className.replace(c1,c2);
break;
case &#39;add&#39;:
if(!domtab.cssjs(&#39;check&#39;,o,c1)){o.className =o.className?&#39; &#39; c1:c1;}
break;
case &#39;remove&#39;:
var rep=o.className.match(&#39; &#39; c1)?&#39; &#39; c1:c1;
o.className=o.className.replace(rep,&#39;&#39;);
break;
case &#39;check&#39;:
var found=false;
var temparray=o.className.split(&#39; &#39;);
for(var i=0;i&lt;temparray.length;i ){
if(temparray[i]==c1){found=true;}
}
return found;
break;
}
}
}
domtab.addEvent(window, &#39;load&#39;, domtab.init, false);
</script>
<!-- Multi-Tabbed Widget JAVASCRIPT ENDS-->






Part 2 - Installing the Multi-tabbed Widget



6. Now Search for


<div id='sidebar'>

or

<div id='sidebar-wrapper'>


or you may find similar tag names in your template.

6. Just BELOW the tag, copy and paste this code:



Click to expand the code for Main widget [+/-]



<div class='domtab'>

<!-- Tabs titles -->
<ul class='domtabs'>
<li><a href='#tabone'>TITLE- Tab1</a></li>
<li><a href='#tabtwo'>TITLE- Tab2</a></li>
<li><a href='#tabthree'>TITLE- Tab3</a></li>
<li><a href='#tabfour'>TITLE- Tab4</a></li>
<!-- END OF Tabs titles -->
</ul>

<!-- Tabs content -->
<div id='tabs-wrap'>
<div class='tab_one'>
<h2><a id='tabone' name='tabone'/></h2>
<b:section class='sidebar' id='mytab1' maxwidgets='1' showaddelement='yes'/>
</div>

<div class='tab_two'>
<h2><a id='tabtwo' name='tabtwo'/></h2>
<b:section class='sidebar' id='maytab2' maxwidgets='1' showaddelement='yes'>
</b:section>
</div>

<div class='tab_three'>
<h2><a id='tabthree' name='tabthree'/></h2>
<b:section class='sidebar' id='mytab3' maxwidgets='1' showaddelement='yes'>
</b:section>
</div>


<div class='tab_four'>
<h2><a id='tabfour' name='tabfour'/></h2>
<b:section class='sidebar' id='mytab4' maxwidgets='1' showaddelement='yes'>
</b:section>
</div>

<!-- End of Tabs -->
</div>
</div>





Before saving, don't forget to make required changes.

- Text in red are the titles of the tabs, Replace them with the Titles that you want to give to each tab respectively.


8. After making required changes, Preview the template.

5. If you can see the multi-tabbed widget in your blog then Hit Save Button.
Double check for code you copied/pasted and their exact places if any error comes up while saving.


Part 3 - Adding the gadets in the Multi-Tabbed Widget



This part is fairly easy. After installing css/javascript part in the template save the template and open "Layout" page of your blog. You'll see "Add a gadget" section under each (embedded) tab of the multi-tabbed widget. Click Tab Titles one by one and Click "Add a gadget" under it, to add gadget of your choice under each tab.


CUSTOMIZATION



- The widget automatically adjusts its width wherever it is placed.
- If you want to change the width of the tabs, change width size in blue in css code of Part 1.
- You can reduce or add as many tabs as you want in the widget.



To Remove a Tab : [+/-]




1. Remove line defining tab four in the end.

.tab_four{float:left; width:370px; padding:10px 0px 0px; background:#E9E9E9; border-right:1px solid #CCC; border-bottom:1px solid #CCC; border-left:1px solid #CCC}


2. And then remove Tab 4's from the the main widget by removing:


<div class='tab_four'>
<h2><a id='tabfour' name='tabfour'/></h2>
<b:section class='sidebar' id='mytab4' maxwidgets='1' showaddelement='yes'>
</b:section>
</div>


...this will remove Tab #4, leaving only 3 Tabs.




To ADD a Tab: [+/-]




1. Just add this line in the end of the code you placed in step 3 (ABOVE ]]></b:skin> tag)

.tab_five{float:left; width:370px; padding:10px 0px 0px; background:#E9E9E9; border-right:1px solid #CCC; border-bottom:1px solid #CCC; border-left:1px solid #CCC}


This will add Tab # 5 in the widget.
If you want to add more tabs, copy this line one more time and paste in the end and replace .tab_five with .tab_six and so on...


2. Now Search for <!-- END OF Tabs titles --> in the template and just ABOVE it paste this code:


<li><a href='#tabfive'>TITLE- Tab5</a></li>



2. Now search for <!-- End of Tabs --> and just ABOVE it, paste this code.


<div class='tab_five'>
<h2><a id='tabfive' name='tabfive'/></h2>
<b:section class='sidebar' id='mytab5' maxwidgets='1' showaddelement='yes'>
</b:section>
</div>


...and Save the template again.



Tha's too messy - Any Alternative?


I'm sure you must be still looking at the large pieces of code above for the widget..Right?
But this is how reducing page load strategy works - putting all the scripts inside template's own body.

And If you have your own hosting then you may put the code in a separate .js file.
You may check out Multi-Tabbed Widget by bloggerstop that uses external .js and .css files.

I Hope you got all the steps and procedure, if its still confusing leave the queries/comments below.

0 comments: