• Breaking news

    Friday, December 23, 2011

    Blogger Follow Us J-Query Widget ( Social Icons )


    After getting a lot of questions about our social icons on our sidebar, and how to add it for blogger, i decided that blogger users deserves whats better, So today we will learn how to add a beautiful and clean Follow Us J-query blogger widget. Please see the demo , then read the steps to learn how to add it in very easy steps.
    Widget Features.
    • Auto resizing that fits any blogger template.
    • 4 social icons including ( facebook, twitter, mail letter, and rss feeds).
    • J-Query hover effect ( tooltip ).
    • Clean and unique design.
    Demo Of Blogger Follow Us J-Query Widget
    Warning : Before you start applying any changes to your blogger template code, We encourage you to Backup it, by clicking on Download Full Template link.
    Step 1, Adding the css code
    Please go to your blogger account, And navigate to ( Dashbaord >> Design >> Edit Html )
    And At this page, Please find the next code,
    ]]></b:skin>
    And exactly before it, Please add the following code,
      #social {
    width: 98%;
    height: 45px;
    margin: 0;
    padding: 10px 5px 5px 30px;
    list-style: none;
    border-right:solid 1px #853529;
    position: relative;
    background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgytYnQvoUNjoeOUkaUyIHLcxOke5qaVgLOP__vVzth6wqDaoKmcT6fE-sWyuJBK30VEBXRuU6QWkDsSllSCcks_J0-zIZwZiLpZeoL0PVBk_PbEuuQAuTzhQ7IKTfQQ7a8cmylDXTKYeQ/) no-repeat left top;
    }

    #social p{
    font-size:1.5em;
    color:#FFFB98;
    font-weight:bold;
    float:left;
    margin: 10px 10px 0 0;
    text-shadow: 1px 1px 0px #000000;
    filter: dropshadow(color=#000000, offx=1, offy=1);
    }

    .abt{
    font-size:0.8em;
    color:#787878;
    float:right;
    margin: 0 -30px 0 0;
    text-shadow: 1px 1px 0px #ffffff;
    filter: dropshadow(color=#ffffff, offx=1, offy=1);
    }

    #social li {
    width: 32px;
    height: 32px;
    float: left;
    margin-right: 3px;
    }

    #social li a {
    float: left;
    display: block;
    width: 100%;
    height: 100%;
    text-indent: -1000em;
    background-repeat: no-repeat;
    text-decoration: none;
    }

    #social #rss {
    background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9Svoyur68MyG4Ke_aXTXtvaBqfvV8XR74LOV26BJ4sZK33ILYO6scWb5NEkNvwReAvUwGxP8FEaqsyKBBF6vwqBWkTwo0bJfF5ysZmIhIyPTTYlUKOX3wHWcPjcjtUCMr75JDtCuNeU8/s400/allblogtools_rss.png);
    }

    #social #facebook {
    background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmTPGSqCm3c6-P7vR_qpXahqK4Wb4f0TEe1Pc53BzkxRoF_onqXti8hRg0kdMqKkFGTXxhEcyQ9iNrWx0aZbRK-ZAv1bC8YP12z8Tl2EyGAb-H_O-fmht_pl0sOizIQuHruDErXYfjFEo/s400/allblogtools_facebook.png);
    }
    #social #twitter {
    background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEha1kCUS0vGyK0eV218euaoONRdLDBVZrWJ84O2QGRfA1yv8gmUpIBmu4X9xhPoQfHxGSjBxgpk2efKJLFFaDRCo1BnHd8UGJHHM46Iged54shXWlEntibjkyj1_8TL6hGZt1jWMckoMa0/s400/allblogtools_twitter.png);
    }
    #social #mail {
    background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWR71r5zB7gnvpQkW40J2cmxwm0DYcP9HC9okzy7REscJKdXgEiJHEuFtjpyRobpmUkWSJOBeTBsl1MsZW_sDRu47w0o0c_N3WyIQy_HDLlxGdoZz6QTl-ne3GGzWp74pVfJapgyJF2kk/s400/allblogtools_email.png);
    }

    span.tooltip {
    background: #575757;
    padding: 3px;
    display: block;
    width: 140px;
    border: 1px solid #000000;
    position: absolute;
    margin-top:-40px;
    color: #F0F0F0;
    font-size:10px;
    text-indent: 0;
    font: Arial, sans-serif;
    text-align: center;
    -webkit-box-shadow: inset 2px 2px 2px #616161;
    -moz-box-shadow: inset 2px 2px 2px #616161;
    box-shadow: inset 2px 2px 2px #616161;
    -moz-border-radius: 5px;
    border-radius: 5px;
    }
    And now go the the next step.
    Step 2, Adding the J-query codes
    At the same page in step 1, find the following code,
    </body>
    And before it, and the next code,
    <script type='text/javascript'>
    window.setTimeout(function() {
    document.body.className = document.body.className.replace(&#39;loading&#39;, &#39;&#39;);
    }, 10);
    </script>

    <script src='http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js' type='text/javascript'/>
    <script type='text/javascript'>
    //<![CDATA[
    $(document).ready(function() {

    $('#social li').each(function() {

    var $li = $(this);
    var title = $li.find('a').attr('title');

    $li.find('a').removeAttr('title');

    $('<span class="tooltip"/>').text(title).appendTo($li.find('a')).hide();


    $li.find('a').mouseover(function() {


    var top = $(this).position().top;
    var left = $(this).position().left;

    $(this).find('span').fadeIn()({
    top: top,
    left: left
    }, 'slow');

    });

    $li.find('a').mouseout(function() {


    $(this).find('span').fadeOut('slow');


    });

    });


    });

    //]]>
    </script>
    Now please click Save Template And go ahead to step 3.
    Step 3, Adding the widget code to your sidebar.
    Now go to ( Dashbaord >> Design ) , You are now at page elements page,
    At your sidebar, click Add A Gadget, And from the list, choose Html / JavaScript 
    Now paste the following code,
    <ul id="social">
    <p>Follow Us </p>
    <li><a href="http://BLOG-NAME.blogspot.com/feeds/posts/default?alt=rss" id="rss" title="Follow Our Feeds">Rss</a></li>

    <li><a href="MailLink#" id="mail" title="Subscribe To Our News Letter">Mail</a></li>

    <li><a href="FaceBookLink#" id="facebook" title="Be Our FaceBook Fan">Facebook</a></li>

    <li><a href="TwitterLink#" id="twitter" title="Follow Us On Twitter">Twitter</a></li>
    </ul>

    <b class="abt"><a href="http://www.allblogtools.com/#">Get This Widget</a> | By <a href="http://www.allblogtools.com">AllBlogTools.com</a></b>
    All you have to do is to change the green words to your social account urls.
    And click Save 
    That’s it, I wish you like it and in case you wanted to download the widget images, you’ll find it here 209.
    Feel free to leave your comments and feedback.

    No comments:

    Post a Comment

    About us

    TechArchivez is one of the most popular site for proxy, web technologies, mobile technology, Latest news, Etc

    Contact Form

    Name

    Email *

    Message *