Loading...

Floating Social Media Widget With Mouse Hover Effect

Hey Friends! Today I am going to share a Awesome Social Media widget for blogspot platform. In these days social popularity is very and most important thing for a blog because the social media popularity brings tons of traffic and page views to a blog. This widget has a set of five social media properties i.e. Facebook, Twitter, RSS, Google plus and Pinterest. This widget works on some very simple but effective CSS and java-script coding. The widget has sliding effect whenever a visitor will hover on a social profile, it will appear with a slide effect of that profile.

Where This Widget Will Appear:-

Before, we get on to our Tutorial let us first learn where this widget will appear in a website. Since, this is a Sleek Widget. Therefore, it is extremely small in size so it wouldn’t take a large space on a website. We have integrated a Slide out Functionality that would produce sparks in the eyes of visitors. It will appear at the Top-left side of the screen.

How To Add This Widget To Your Blogger Blog:-

The steps mentioned below are extremely simple. We have tried our best to minimize the steps.

So, let us start with our tutorial. Consider the following steps.


  1. Go to Layout >> Add A Gadget, then choose HTML/JavaScript
  2. Paste this code inside it.


If your blog already have a jQuery Plugin then remove the highlighted code.
(<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>)


<style type="text/css">
ul#social {
    position: fixed;
    margin: 0px;
    padding: 0px;
    top: 10px;
    left: 0px;
    list-style: none;
    z-index:9999;
}
ul#social li {
    width: 100px;
}
ul#social li a {
    display: block;
    margin-left: -2px;
    width: 100px;
    height: 70px;    
    background-color:#fff;
    background-repeat:no-repeat;
    background-position:center center;
    border:1px solid #AFAFAF;
    -moz-border-radius:0px 10px 10px 0px;
    -webkit-border-bottom-right-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    -khtml-border-bottom-right-radius: 10px;
    -khtml-border-top-right-radius: 10px;
    -moz-box-shadow: 0px 4px 3px #000;
    -webkit-box-shadow: 0px 4px 3px #000;
}
ul#social .twitter a{
     background:#0F96C6 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9Gm98W3-cuD2o9fqLTDtP_Kk1gzlEpg3ysRZdIBzS-TkIYF53haCO96U_wtCsWjrsaX6IzG_eJVv5PfMYVE_1jLMGJ-RKwlNS9urirsKVCElOVRBSpaz8b-pbVsyjBQMx-xDglLp_5Ns/s1600/Twitter.png)no-repeat;
background-position:center center;
}
ul#social .googleplus a      {
    background:#D73D27 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPQUK8JcNUvtB17a-QUt2CgIQn34g55ArIniKyj2cAF7F0NeAGDoEc4yiFkYELt-Cw9pFSjFBpp4bPfHn9brDDkOETkS8gFR3y9el0pCf_QDiJMyAndm-ex8TvOSphx46hUKrdit3UpIQ/s1600/GOOGLE+PLus.png)no-repeat;
background-position:center center;
}
ul#social .facebook a      {
    background:#1A4B97 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyxT-v3w-nEpXjKD_BOohVOSB7Ol0Z6wS5UqIzSYJlbHpb99iAwXTtxPZvqIgWIqWPovRpa8cv2i9xGQoud2v05QloFbONQcBq9aSb2Z7NByrwX_OWe28blDyn1Svy0oLPma8DYENf9pk/s1600/Facebook.png)no-repeat;
background-position:center center;
}
ul#social .rss a      {
    background:#FAAE17 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdvXU2uymj3kc-e0aB_cSctPEhjlWcxTAQ4xATY5GvVoC5xJ8vueJjDF_TtIlj8Xil5gcPNfttGveiVzPUi4gZDHK80BjiSqLgLXB8qzakNi9x-Uv_xdhwoySF1HfLR24qGINMtGjB62I/s1600/rss.png)no-repeat;
background-position:center center;
}

ul#social .pinterest a   {
    background:#963336 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCjWs-pcpGuovtJnN883uTQxw2FP6HGGtP6MB2gbQ7ltUHEmill_hkq34SH8ShwzrWn4wb7FXK04k1jpUFH8M2oW-4w9yh4uC1i-mnTEMQ-mKuTwlpA4n2cEnNacHlLPXWPX2HrLIrRD8/s1600/Pinterest.png)no-repeat;
background-position:center center;
}
</style>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script type='text/javascript'>
$(function () {
    $('#social a').stop().animate({
        'marginLeft': '-85px'
    }, 1000);

    $('#social > li').hover(
        function () {
            $('a', $(this)).stop().animate({
                'marginLeft': '-2px'
            }, 200);
        },
        function () {
            $('a', $(this)).stop().animate({
                'marginLeft': '-85px'
            }, 200);
        }
    );
});
</script>
<ul id='social'>
 <li class='twitter'><a href='#' title='Twitter'></a></li>
 <li class='googleplus'><a href='#' title='Google Plus'></a></li>
 <li class='facebook'><a href='#' title='Facebook'></a></li>
 <li class='rss'><a href='#' title='Rss'></a></li>
 <li class='pinterest'><a href='#' title='Pinterest'></a></li>
</ul>


  • After Adding the above code Replace # with your Profile link

    3. Now save the widget and See your blog. :D


If you Liked it! then Feel Free to Share this widget. Kindly let me know your views About this Widget in the comment box below.
Widget 6093100170170496939

Post a Comment

emo-but-icon

Home item

Facebook

ADS

Popular Posts

Random Posts