Sunday, September 1, 2013

Stylish Jquery Animated Tabs Widget for Blogger

Tab widgets always help to save website space.In this tutorial im gonna explain how to add Unique juery tab widget for blogger.We can use add few pages for tab widgets.jQuery tabs are very stylish and very popular for blogging.This is a simple jquery tab widget.I used Css and jQuery to make this widget.This tab widget work with every modern web browsers.However its not work with IE. you can take a look at in demo page to get idea how it works. 


How to add Jquery Animated Tabs Widget to Blogger

1. Go to Blogger Dashboard > Template
2. Find ]]></b:skin>
3. Paste below code just below it.

.b, .c{ display:none;}
    border-bottom:solid #d1c8b8 4px;
    width:80px;-moz-border-radius: 1em 4em 1em 4em;
    border-radius: 1em 4em 1em 4em;
    text-decoration:none; color:#FFFFFF;
    float:left;font-family:Georgia, "Times New Roman", Times, serif; font-size:14px
.buttonHover{background:#86b8b4;border-bottom:solid #FF0000 4px;}
a.buttons:hover{background:#86b8b4;border-bottom:solid #FF0000 4px;}
#multitab {
    -moz-border-radius: 1em 4em 1em 4em;
    border-radius: 1em 4em 1em 4em;    height:200px;

<script type='text/javascript'>
// <![CDATA[
$(document).ready(function() {
function navigate_tabs(container, tab)
    $(".b").css('display' , 'none');
    $(".c").css('display' , 'none');
    $(".a").css('display' , 'none');
// ]]>
<script charset='utf-8' src='' type='text/javascript'/> 
4. Now go to blogger Layout
5. Click Add Gadget and select 'HTML/Javascript'
6. Paste below code.
<div id="multwrap">
 <a href="javascript:navigate_tabs('a','first-tab');" class="buttons" id="first-tab">Tab 1</a>
<a href="javascript:navigate_tabs('b','second-tab');" class="buttons" id="second-tab">Tab 2</a>
<a href="javascript:navigate_tabs('c','third-tab');" class="buttons" id="third-tab">Tab 3</a>
   <br clear="all" />
      <div id="multitab" align="center">
          <div class="a">
                <em>B</em>logger is a blog-publishing service that allows private or multi-user blogs with time-stamped entries. It was developed by Pyra Labs, which was bought by Google in 2003. Generally, the blogs are hosted by Google at a subdomain of  <br />  <br /> Thanks!

                <div class="b"><em>L</em>orem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.

                <div class="c"><em>S</em>tarting in February 2013 Blogger began integrating user blogs with multiple country specific URL addresses i.e. would be automatically redirected to in Canada, in the United Kingdom etc. </div>
</div> </div>
Note:  You can past any text or code  with replacing above 3 different texts.

7. Now save your HTML/Javascript'.
You are done. If you have any problem related to this Jquery Animated Tabs Widget. Just leave a comment.I will help to you.