Monday, December 14, 2009

Advanced Multi Tabbed Widget For Blogger – Fully Widgetized!



multi-tabbed-widget I had published a post on how to add a multi tab widget to your blogger blogs and how to customize it to suit your blog layout some months ago. The only problem with that widget is that it is not fully widgetized i.e you can not add archives, labels, author profile or other blogger official widgets to it unless you have their separate code with you. I just came across a beautiful and a more flexible and advanced tabber widget stylized by Lawny Designs and scripted by Barelyfitz. I have modified lawny’s tutorial and have made some changes to the code so to make it even more simpler to newbie bloggers. You can view this widget hanging on my sidebar.

 

To add this cute multi tab widget to your BlogSpot blogs follow these steps.

  1. Go to Blogger > Layout > Edit HTML
  2. Search For </head>
  3. And paste the code below just above it,

<script type='text/javascript'>
//<![CDATA[
document.write('<style type="text/css">.tabber{display:none;}<\/style>');
function tabberObj(argsObj)
{
  var arg;
  this.div = null;
  this.classMain = "tabber";
  this.classMainLive = "tabberlive";
  this.classTab = "tabbertab";
  this.classTabDefault = "tabbertabdefault";
  this.classNav = "tabbernav";
  this.classTabHide = "tabbertabhide";
  this.classNavActive = "tabberactive";
  this.titleElements = ['h2','h3','h4','h5','h6'];
  this.titleElementsStripHTML = true;
  this.removeTitle = true;
  this.addLinkId = false;
  this.linkIdFormat = '<tabberid>nav<tabnumberone>';
  for (arg in argsObj) { this[arg] = argsObj[arg]; }
  this.REclassMain = new RegExp('\\b' + this.classMain + '\\b', 'gi');
  this.REclassMainLive = new RegExp('\\b' + this.classMainLive + '\\b', 'gi');
  this.REclassTab = new RegExp('\\b' + this.classTab + '\\b', 'gi');
  this.REclassTabDefault = new RegExp('\\b' + this.classTabDefault + '\\b', 'gi');
  this.REclassTabHide = new RegExp('\\b' + this.classTabHide + '\\b', 'gi');
  this.tabs = new Array();
  if (this.div) {
    this.init(this.div);
    this.div = null;
  }
}

tabberObj.prototype.init = function(e)
{

  var
  childNodes,
  i, i2,
  t,
  defaultTab=0,
  DOM_ul,
  DOM_li,
  DOM_a,
  aId,
  headingElement;
  if (!document.getElementsByTagName) { return false; }
  if (e.id) {
    this.id = e.id;
  }
  this.tabs.length = 0;
  childNodes = e.childNodes;
  for(i=0; i < childNodes.length; i++) {
    if(childNodes[i].className &&
       childNodes[i].className.match(this.REclassTab)) {
      t = new Object();
      t.div = childNodes[i];
      this.tabs[this.tabs.length] = t;

      if (childNodes[i].className.match(this.REclassTabDefault)) {
    defaultTab = this.tabs.length-1;
      }
    }
  }
  DOM_ul = document.createElement("ul");
  DOM_ul.className = this.classNav;
  for (i=0; i < this.tabs.length; i++) {

    t = this.tabs[i];

    t.headingText = t.div.title;

    if (this.removeTitle) { t.div.title = ''; }

    if (!t.headingText) {

      for (i2=0; i2<this.titleElements.length; i2++) {
    headingElement = t.div.getElementsByTagName(this.titleElements[i2])[0];
    if (headingElement) {
      t.headingText = headingElement.innerHTML;
      if (this.titleElementsStripHTML) {
        t.headingText.replace(/<br>/gi," ");
        t.headingText = t.headingText.replace(/<[^>]+>/g,"");
      }
      break;
    }
      }
    }

    if (!t.headingText) {
      t.headingText = i + 1;
    }

    DOM_li = document.createElement("li");

    t.li = DOM_li;

    DOM_a = document.createElement("a");
    DOM_a.appendChild(document.createTextNode(t.headingText));
    DOM_a.href = "javascript:void(null);";
    DOM_a.title = t.headingText;
    DOM_a.onclick = this.navClick;

    DOM_a.tabber = this;
    DOM_a.tabberIndex = i;

    if (this.addLinkId && this.linkIdFormat) {

      aId = this.linkIdFormat;
      aId = aId.replace(/<tabberid>/gi, this.id);
      aId = aId.replace(/<tabnumberzero>/gi, i);
      aId = aId.replace(/<tabnumberone>/gi, i+1);
      aId = aId.replace(/<tabtitle>/gi, t.headingText.replace(/[^a-zA-Z0-9\-]/gi, ''));

      DOM_a.id = aId;
    }

    DOM_li.appendChild(DOM_a);

    DOM_ul.appendChild(DOM_li);
  }

  e.insertBefore(DOM_ul, e.firstChild);

  e.className = e.className.replace(this.REclassMain, this.classMainLive);

  this.tabShow(defaultTab);

  if (typeof this.onLoad == 'function') {
    this.onLoad({tabber:this});
  }

  return this;
};

tabberObj.prototype.navClick = function(event)
{

  var
  rVal,
  a,
  self,
  tabberIndex,
  onClickArgs;

  a = this;
  if (!a.tabber) { return false; }

  self = a.tabber;
  tabberIndex = a.tabberIndex;

  a.blur();

  if (typeof self.onClick == 'function') {

    onClickArgs = {'tabber':self, 'index':tabberIndex, 'event':event};

    /* IE uses a different way to access the event object */
    if (!event) { onClickArgs.event = window.event; }

    rVal = self.onClick(onClickArgs);
    if (rVal === false) { return false; }
  }

  self.tabShow(tabberIndex);

  return false;
};

tabberObj.prototype.tabHideAll = function()
{
  var i;

  for (i = 0; i < this.tabs.length; i++) {
    this.tabHide(i);
  }
};

tabberObj.prototype.tabHide = function(tabberIndex)
{
  var div;

  if (!this.tabs[tabberIndex]) { return false; }

  div = this.tabs[tabberIndex].div;

  if (!div.className.match(this.REclassTabHide)) {
    div.className += ' ' + this.classTabHide;
  }
  this.navClearActive(tabberIndex);

  return this;
};

tabberObj.prototype.tabShow = function(tabberIndex)
{

  var div;

  if (!this.tabs[tabberIndex]) { return false; }

  this.tabHideAll();

  div = this.tabs[tabberIndex].div;

  div.className = div.className.replace(this.REclassTabHide, '');

  this.navSetActive(tabberIndex);

  if (typeof this.onTabDisplay == 'function') {
    this.onTabDisplay({'tabber':this, 'index':tabberIndex});
  }

  return this;
};

tabberObj.prototype.navSetActive = function(tabberIndex)
{

  this.tabs[tabberIndex].li.className = this.classNavActive;

  return this;
};

tabberObj.prototype.navClearActive = function(tabberIndex)
{

  this.tabs[tabberIndex].li.className = '';

  return this;
};

function tabberAutomatic(tabberArgs)
{
  var
    tempObj,
    divs,
    i;

  if (!tabberArgs) { tabberArgs = {}; }

  tempObj = new tabberObj(tabberArgs);

  divs = document.getElementsByTagName("div");
  for (i=0; i < divs.length; i++) {
    if (divs[i].className &&
    divs[i].className.match(tempObj.REclassMain)) {
      tabberArgs.div = divs[i];
      divs[i].tabber = new tabberObj(tabberArgs);
    }
  }
  return this;
}
function tabberAutomaticOnLoad(tabberArgs)
{
  var oldOnLoad;

  if (!tabberArgs) { tabberArgs = {}; }

  oldOnLoad = window.onload;
  if (typeof window.onload != 'function') {
    window.onload = function() {
      tabberAutomatic(tabberArgs);
    };
  } else {
    window.onload = function() {
      oldOnLoad();
      tabberAutomatic(tabberArgs);
    };
  }
}

/* Run tabberAutomaticOnload() unless the "manualStartup" option was specified */

if (typeof tabberOptions == 'undefined') {

    tabberAutomaticOnLoad();

} else {

  if (!tabberOptions['manualStartup']) {
    tabberAutomaticOnLoad(tabberOptions);
  }

}

//]]>
</script>

 

 

4.  Now search for ]]></b:skin>  and just above it paste this code,

/*---------- Tabber Start-------- */


.tabberlive{
margin:0;
padding:5px;
clear:both;
background:$tbbxbgcolor;
border:1px solid $tbbxbrcolor;
}
.tabbernav {
margin:0;
padding: 3px 0;
border-bottom: 1px solid $tbbxbrcolor;
font-family:Arial,Helvetica,sans-serif;
font-size:12px;
font-weight:bold;
}
.tabbernav li {
list-style:none;
margin:0;
display:inline;
}
.tabbernav li a {
padding:3px 0.5em;
margin-right:1px;
border:1px solid $tbbxbrcolor;
border-bottom:none;
background:$tbbxcolor2;
text-decoration:none;
color:$tbbxcolor1;
}
.tabbernav li a:hover {
color:$tbbxcolor2;
background:$tbbxcolor1;
border-color:$tbbxbrcolor;
text-decoration:none;
}
.tabbernav li.tabberactive a,
.tabbernav li.tabberactive a:hover {
background:$tbbxcolor1;
color:$tbbxcolor2;
border-bottom: 1px solid $tbbxcolor1;
}
.tabberlive .tabbertab {
padding:5px;
border:1px solid $tbbxbrcolor;
border-top:0;
background:$tbbxcolor1;
}
.tabberlive .tabbertab h2,
.tabberlive .tabbertabhide {
display:none;
}
.tabbertab .widget-content ul{
list-style:none;
margin:0 0 10px 0;
padding:0;
}
.tabbertab .widget-content li {
border-bottom:1px solid $tbbxbrcolor;
margin:0 5px;
padding:2px 0 5px 0;
}


/*------- Tabber End--------*/

 

5.  Don’t save your template. Now search for Variable definitions and paste this code with other variable definitions,

<Variable name="tbbxbgcolor" description="Tab box Background Color" type="color" default="#f8f8f8" value="#f8f8f8">
<Variable name="tbbxbrcolor" description="Tab box Border Color" type="color" default="#dcdcdc" value="#dcdcdc">
<Variable name="tbbxcolor1" description="Tab box Color 1" type="color" default="#ffffff" value="#ffffff">
<Variable name="tbbxcolor2" description="Tab box Color 2" type="color" default="#5588aa" value="#5588aa">

 

If you can’t find Variable definitions  then search for #navbar-iframe and paste this code below #navbar-iframe { Some text here }

/* Variable definitions
   ====================

<Variable name="tbbxbgcolor" description="Tab box Background Color" type="color" default="#f8f8f8" value="#f8f8f8">
<Variable name="tbbxbrcolor" description="Tab box Border Color" type="color" default="#dcdcdc" value="#dcdcdc">
<Variable name="tbbxcolor1" description="Tab box Color 1" type="color" default="#ffffff" value="#ffffff">
<Variable name="tbbxcolor2" description="Tab box Color 2" type="color" default="#5588aa" value="#5588aa">

*/

 

6.   Now the final part. Search for <div id='sidebar-wrapper'> and paste this code just below it,

<div class='tabber'>
<b:section class='tabbertab' id='tab1' maxwidgets='1'/>
<b:section class='tabbertab' id='tab2' maxwidgets='1'/>
<b:section class='tabbertab' id='tab3' maxwidgets='1'/>
<b:section class='tabbertab' id='tab4' maxwidgets='1'/>

</div>

 

7. Finally save your template and visit Layout > Page Elements to start adding widgets to the tabs! It will look something like this,

multi-tab-widget-tab-number

The numbers in blue are tab numbers. To add a gadget/widget to any tab simply click the tab number and start adding whatever you want. For example to add a widget to tab 3 click link #3 and so on.

8. Finally view your template to see it hanging!

Customization Guide To Multi Tab Widget

Here we will discuss how to change the Look and position of this multi tabbed widget.

Changing Position:

To shift this tabber widget to the bottom section of your sidebar rather at the extreme top, do this,

  • Paste the code in Step#6 just above </div> and not just below <div id='sidebar-wrapper'> As shown in the image below,

Shift-position-of-tabber

  • Save your template and go to Layout > Page Elements  to see if it has shifted to the bottom.

Changing Look and Feel:

  • The background colours of the widget can be changed by editing the code in step#5. I am rewriting the code here with some description.

<Variable name="tbbxbgcolor" description="Tab box Background Color" type="color" default="#f8f8f8" value="#f8f8f8">


<Variable name="tbbxbrcolor" description="Tab box Border Color" type="color" default="#dcdcdc" value="#dcdcdc">


<Variable name="tbbxcolor1" description="Tab box Color 1" type="color" default="#ffffff" value="#ffffff">


<Variable name="tbbxcolor2" description="Tab box Color 2" type="color" default="#289728" value="#289728">

 

This code has four main sections amongst which the sections tbbxcolor1: and  tbbxcolor2: are the most important. I will describe each one in detail.

Important Sections:

tbbxcolor1: This is an important section. It defines the background colour of this multi tab widget and also the colour on mouse hover. The default colour is white i.e #ffffff

tbbxcolor2: This refers to the background colour of the tabs and the text inside the tabs. the default colour is green. You can change the value #289728 to a different colour value using our color chart

Change these only if you wish:

tbbxbgcolor: This section refers to the background colour of the tab box. By default the colour is grey. If you wish to change it to a different colour simply change the hexadecimal colour value #f8f8f8 to something different using our Color Chart

tbbxbrcolor: This refers to the border line color across the tabs and the box.

That’s All!

I hope this widget will help a lot in giving a clean and neat touch to your blogs. Any question is welcomed :D


Respected Readers:
As a 20 year old student, the only income I rely on is my pocket money. Bearing the running costs of MBT Blog has become really difficult. We educate thousands of bloggers a week with our tutorials. To help us go forward with the same spirit, a small contribution from your side will highly be appreciated.



If you enjoyed this post and wish to be informed whenever a new post is published, then make sure you subscribe to our regular Email Updates!

Thanks for making this possible! Kindly Bookmark and Share it.
Technorati Digg This Stumble Facebook Twitter

49 comments:

Anup @ Hack Tutors on 8:01 AM, December 14, 2009 said...

Hey this is cool thanks for the widget~!

Ms Hetal Patil on 10:05 AM, December 14, 2009 said...

Hello,

Many thanks for this wonderful widget

Sreejesh on 7:39 AM, December 15, 2009 said...

This is great!! Thanks for sharing Mohd.

Sreejesh on 7:41 AM, December 15, 2009 said...

Mohd, how to use CSS Sprites for fast loading site??

Coz I've added too many of ur codes and it doesn'y does normally in IE. But loads in any other browser. since more use IE, visitors r having problems. Please advice about fast loading

Mohammad Mustafa Ahmedzai on 9:17 PM, December 15, 2009 said...

@Sreejesh
For Fast loading kindly read this post 12 useful tips to reduce load time

Any further help is welcomed. The widgets I share are often used on my blog but they work pretty fine.


Image sprites tecnique have been used by us in this post http://www.mybloggertricks.com/2009/12/add-css-based-social-bookmarking-widget.html

Sreejesh but this technique can not be applied in most cases because managing the alignments are a bit difficult. One needs to be pretty good in CSS to use them.

KAMRAN said...

nO WORDS TO THANK YOU. WAS LIKE 1 2 3. THANKS DUDE!

Sreejesh on 11:25 AM, December 17, 2009 said...

Mohd, My real need is to create a CSS sprite for 3 images. as you know I don't have any knowledge about the web editing or CSS. I just want to get 3 links in one image. for the below screen shot.

http://i46.tinypic.com/2yvjtqa.jpg

I want those 3 icons like the the social networking icons like naeem noors which hovers on mouse over..

( social networking icons by naeem noor you gave me the link earlier -->> http://www.cssreflex.com/2009/08/sexybookmarks-v2-for-blogger.html )

I created some image and code from http://css-sprit.es/ but I don't know how to implement it in blogger template.

Here is the image-->> http://i46.tinypic.com/vrbzpu_th.png

I'm struggling for this since I don't know CSS or web design. finally i gave up!!


Now you are the only hope. Please help!!!

My blogs'link is http://tunestore.blogspot.com/

if posible please send it to :mailmesreejesh@gmail.com

Also please advice me for the stability of the page in IE.


By the by the "12 useful tips to reduce load time" was wonderfull I've tried to implement all them in my blog.

Mohammad Mustafa Ahmedzai on 11:19 PM, December 17, 2009 said...

@Sreejesh


Working on your image. Give me some time like 4-10 hours. And yes I will kill you if you asked off-topic questions again :D Just kidding, you are most welcomed to ask any off topic question via email else my blog will become a forum :>>

Mohammad Mustafa Ahmedzai on 12:06 AM, December 18, 2009 said...

@Sreejesh


I guess I am a bit impatient. Created your code in just 5 minutes.
Copy paste the following code in your HTML/JavaScript widget,


<style>

.mbt-bookmark a {
display:block;
height:48px;
width:35px;
padding:0 8px;
float:left;
position:relative;
background:urlundefinedhttp://i46.tinypic.com/vrbzpu_th.png) no-repeat;
}

.mbt-bookmark a.orkut {
background-position:-99px 0px;
}
.mbt-bookmark a.orkut:hover {
background-position:-99px -48px;
}
.mbt-bookmark a.twitter {
background-position:-48px 0px;
}
.mbt-bookmark a.twitter:hover {
background-position:-48px -48px;
}
.mbt-bookmark a.facebook {
background-position:0px 0px;
}
.mbt-bookmark a.facebook:hover {
background-position:0px -48px;
}



</style>


<div class='mbt-bookmark'>
<a class='facebook' href="http://tunestore.blogspot.com/ " rel='external nofollow' target='_blank' title='Share This Blog On Facebook :&gt;'/>

<a class='twitter' href="http://tunestore.blogspot.com/ " rel='external nofollow' target='_blank' title='Share This Blog On Twitter :&gt;'/>

<a class='orkut' href="http://tunestore.blogspot.com/ " rel='external nofollow' target='_blank' title='Share This Blog On Orkut :&gt;'/>
</div>



Have fun!

ERIC JONES on 12:42 AM, December 18, 2009 said...

HELLO SIR i m having a blog at my blog there is a label or catogories named FUNNY SMS (8) having 8 posts

http://free-mobile-sms-messages.blogspot.com

my problem is that when i clcik on this this label {FUNNY SMS (8)}

all 8 posts shows on whole page. is there any trick for this to show only certain no of post at a time. i mean if someone clicks on that label only one post must be visible and other will be visible when clicked on older post similar to a site on a private domain

please find a way to solve my question

i have searched hole web but i can't find it one of my friend suggested me to ask www.mybloggertricks.com you about this. he said you will find the solution here so please help me sir

Mohammad Mustafa Ahmedzai on 4:05 AM, December 18, 2009 said...

@Eric Jones

Your question is answered on this page -> Blogger Help

Anonymous said...

Hi Mohd,
When we apply this widget ,it gets on the top of the page,I shifted it to the sidebar where as it has taken again the top place .How do I shift this place if I want this widget to be in between the sidebar ,more widgets above or below it and this one some where in between the sidebar but not on the top ? Hope I can do this?

Sreejesh on 12:13 PM, December 18, 2009 said...

Thanks I'm very delighted!!! you are superfast.. You did it in 5 minutes thats great!!!!!!!!!

I don't know how to express my happyness!!!!!

Mohammad Mustafa Ahmedzai on 1:08 AM, December 19, 2009 said...

@Sreejesh

I am glad it worked for you. Note that I have mistakenly not enclosed the background url with brackets replace that part with this,

background:url(http://i46.tinypic.com/vrbzpu_th.png) no-repeat;

For off-topic questions post on this newly created page -> Blogger Help

Mohammad Mustafa Ahmedzai on 1:10 AM, December 19, 2009 said...

@anonymous,


Send me your Blog URL I will let you know the exact location to paste your code

Sreejesh on 2:14 PM, December 20, 2009 said...

Excellent!!! it worked great!! You made it look and understand the code simple. superb coding!! I was struggling to get this for more that 3or 4 days and you did it within 5 minutes. That's Mohd and MBT!!!!

Anonymous said...

can i add more than 4 tabs ????
If yes pls heelp me how ??

Mohammad Mustafa Ahmedzai on 8:55 PM, December 24, 2009 said...

@Anonymous

To add another tab simple add this code above </div> in step#6

<b:section class='tabbertab' id='tab5' maxwidgets='1'/>

To add another add this,

<b:section class='tabbertab' id='tab6' maxwidgets='1'/>

and so on

Smaracande on 4:10 AM, January 11, 2010 said...

Thank you i really enjo surfing your blogger!i hope i can do this.
http://webizland.blogspot.com/

Savvy Guy on 8:55 AM, January 12, 2010 said...

Mohd,

Can you tell me how to adjust the height of the tabs AND allow for a title (per tab) that is two lines such as:
Recent
Post

Thanks..

Savvy Guy on 9:24 AM, January 12, 2010 said...

Mohd,

One more thing. With these tabs at the top of my right hand sidebar, it is running into my category header- see my blog:
http://thesavvyguy.blogspot.com/
Can you tell me how to drop it a bit.
Second, I seem to be getting an error since adding the above code, right when this multi-tab widget is loading- any suggestions?

Thanks so much for all of your help..

Mohammad Mustafa Ahmedzai on 1:08 AM, January 13, 2010 said...

@Savvy Guy

You can increase the height by adding height="15px" to .tabbernav {

But then this will look cluttered.

For adding a space between tabs find and edit this,

.tabbernav li {
list-style:none;
margin:0;
display:inline;
}

Chnage margin:0; to margin:5px 0; 5px will add a space of 5px between the tabs at top and bottom. Try reducing or increasing the value 5px to suit your preferences.

Suggestion:- Summarize your titles as Comments , Posts Archive Featured

The widget will load after all blog content have loaded. So it normal. You can Add it a bit lower. Just like mine so that readers may not observe it while loading.

Savvy Guy on 7:18 AM, January 13, 2010 said...

Mohd,

Thanks for all of the suggestions. Very helpful. Two more things and I should be good to go. 1.) The line on the left boarder inside the main border won't show up for me- any suggestions? 2.) How do I move the widget down a spot or two, so it doesn't run into my menu OR how can I add a space between it and the grey menu?
http://thesavvyguy.blogspot.com/

Thanks again....

Mohammad Mustafa Ahmedzai on 3:41 PM, January 13, 2010 said...

@savvy

1. I can see both borders. May be you have troubleshooted your self. Use a different browser to see it.

2. To shift the widget try reading the last of the tutorial carefully. I can not explain better than that :D

An easy way to give a gap between this widget and other widgets in your sidebar is to remove the out border from the widget and give the out background the same colour as that of your blog. To do that find and edit this,


.tabberlive{
margin:0;
padding:5px;
clear:both;
background:$tbbxbgcolor;
border:1px solid $tbbxbrcolor;

}

To remove the border delete the border line i.e border:1px solid $tbbxbrcolor; and to change the background color replace background:$tbbxbgcolor; with this background:#DFE3E6 Use my color code generator for changing colors .


Hope that would be helpful :>

Prabhat's Books and Comics on 4:33 PM, January 13, 2010 said...

Hello Mohammad, I'm visiting your site since last several months. Find several good tips. some hacks now using in my 2 blogs. This multi tab is really GOOD.

http://bookscomics.blogspot.com/
http://ijc-by-munnabhai.blogspot.com/


Thank you very much!

esydownloads on 6:24 PM, January 13, 2010 said...

Hello Mohammad

i have not found "Variable definitions " & "#navbar-iframe { Some text here }"

so any other option for my templet i m using ur old multitabber
i want to replace that tab

Mohammad Mustafa Ahmedzai on 8:18 PM, January 13, 2010 said...

@Prabhat's Books and Comics

Pleasure Dear! thanks for your Feedback.


@EasyDownloads

Dear find this code instead,

.navbar {
visibility:hidden;
display: none;
}


And paste the variable definition code in the above post just below this code

Esydownloads on 1:41 AM, January 16, 2010 said...

Thanks
this is nice Post For me

Thanks Mohammad

mary on 1:01 PM, February 02, 2010 said...

how can i move it on left with other elements as in your blog?

DJDB on 1:14 AM, February 03, 2010 said...

Hi there. Is there a way to make tabber load while the whole page is loading and not when the page has fully loaded? I'm using it on my blog (techgr.com) and it needs some seconds more the page has fully load to display tabber. Can we make tabber load while the page loads and not at the end?

Thanks in advance and congrats on a great Blogger hack!

DJDB

Mohammad Mustafa Ahmedzai on 3:25 PM, February 06, 2010 said...

@Mary
To move it to left search for this code in your blog,
<div id='sidebar-wrapper-left'>
And paste the code just below it.
If you could not find this code then share your blog URL.


@DJDB
Bro unfortunately at present I haven't find any way out. The best would be to place the widget at 1/2 portion of your blog so that users may be able to see it appearing while they crawl to the bottom.

mary on 4:33 PM, February 06, 2010 said...

i resolve the problem after i ask..but thankyou for assured me the corectitude.
i think i will understand these codes like you.
lol
just kidding

xoxo,mary ^^

Anonymous said...

I have two questions...

First, is it possible to make any part of this transparent, or have varying % of transparency, rather than having a solid/opaque background color?

Second, I changed the position so that my widget is positioned at the bottom of my page. When I click on a tab it opens below the viewing area of my screen. I have to scroll down in order to see its contents. It does not automatically push the page up as it opens, to display the whole tab. Is this how it is supposed to work, or is mine not working properly?

Mohammad Mustafa Ahmedzai on 2:42 AM, February 07, 2010 said...

@Mary

Great going mary! :p

@Anonymous

At present we can only add opacity effect to backgrounds in CSS and I am sure the transparency effect will surely be added in new versions of CSS3 or 4 but unfortunately this effect is not possible with present available Styles on current versions of browsers.

For your second answer I will simply say that if your multi tab is working just the way it is working on my blog then nothing is strange on your side :>

Amor Maternal on 7:35 AM, February 20, 2010 said...

Hey Mohd!

Thank you for all your great tutorials, I've applied quite a few to my mommy blog www.amormaternal.com

I have a test blog, for trying out new widgets, and figuring them out properly before installing them on my actual site. I tested this multi-tabber there, and have encountered a problem: after having followed all the steps, I go to layout-> page elements, and it ALWAYS says "ready with errors" (in my browser), even after reloading a dozen times. Also when I try to click on the numbers to include widgets in each tab, it doesn't do anything (and my browser says "javascript void" in the lower left corner). I've restored the old template, and tried to install it again from scratch in case I made a copy/paste mistake, and the same happened again... What could I be doing wrong?

This is the url of my test blog: http://loumasaderbujana.blogspot.com/ Please tell me what I can do to make the tabber work, it would save a lot of space on my mommy blog, I don't like blogs with 'forever scrolldowns', and have found a tabber to reduce page length...

Thanks, kind regards!

Louma

Amor Maternal on 8:46 AM, February 20, 2010 said...

Hey Mohd,

Forget it :) I tried again, and it finally worked! Thank you so much :D

Kind regards,

Louma

Mohammad Mustafa Ahmedzai on 1:42 AM, February 24, 2010 said...

@Amor Maternal

I like readers like you! =D


@Adil Farooq

Please read the previous comments. You will find your answer there

great99 on 11:49 PM, February 24, 2010 said...

hello Mohammad
first of all thanks for this widget. i have try it out at my test blog but it does not show it up. i am using a 3 column temolate and want to have this widget at the bottom of right column. Here is link for my test blog were i try this widget but its not shown so help me.
http://learnblog9.blogspot.com/

Mohammad Mustafa Ahmedzai on 11:58 PM, February 24, 2010 said...

@great99

Dear you have successfully added the widget but it is appearing below your top search box because you have mis-positioned it. Do this now,

1. Search for this code in your template,
<div class='sidebar section' id='sidebar-right'>

2. And then paste the code in step#6 just below it.
3. That's it.

Amor Maternal on 4:44 AM, February 25, 2010 said...

@Mohd: And I seriously love your blog, tricks and gadgets. Really clear and useful tutorials :) Keep up the good work!

great99 on 7:43 PM, February 25, 2010 said...

Thanks Mohammad
I have found it but the code was you said was not present.But some how i manage to get it but as i wanted it to be in right column but it is not coming there and can i change width of it.
i have paste the code just after this section





and it is not working when paste above
Thanks for your fast reply.
great99

great99 on 7:45 PM, February 25, 2010 said...

sorry has i try to put the section code but it does not work
1. Section

great99 said...

Dear Mohammad
you can delete abovve two comments as i cannot paste the section so how do i contact you to tell the code.

thanphong07 on 8:42 PM, February 27, 2010 said...

That's wonderful ! Thanks for great post !

Mohammad Mustafa Ahmedzai on 10:35 AM, February 28, 2010 said...

@Amor Maternal

You are always welcome here bro! :>

@great99
Send me your template at mustafa.stc@ gmail.com I will do it for you and will return you the template. I believe this will be easy for you :)
Different templates have different coding and the xml code is often not visible through the source code unless I see the main template coding.

Analyst on 4:33 PM, February 28, 2010 said...

Where can we see this widget in action. Rgds Indian-Share-Tips.Com

thanphong07 on 9:50 PM, March 01, 2010 said...

You can view this widget hanging on his sidebar.

Michelle Stanley on 5:20 PM, March 03, 2010 said...

how do i change tab from numbers to names?

Thanks

B &amp; D on 11:18 AM, March 06, 2010 said...

This Works Completely Perfect
Thanks Mohd.. !

Confused? Feel free to ask

Your feedback is always appreciated. I will try to reply to your queries as soon as time allows.
Note:-
1. Please do not spam Spam comments will be deleted immediately upon my review.
2. For asking Off-Topic questions please comment on this page -> Blogger Help

Regards,
Mohammad

 

Recent Posts

Join Me On Facebook

258+ Followers

Join The Team!

Licensed Under CC

Creative Commons License

Recent Comments

Follow Me On Twitter

| My Blogger Tricks (MBT) © 2010. All Rights Reserved | Template Style by Mohammad Mustafa Ahmedzai |