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.
So, let us start with our tutorial. Consider the following steps.
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.
- Go to
Layout
>>Add A Gadget
, then chooseHTML/JavaScript
- 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/AVvXsEjQ7IJvGs2Gprh6SR3K0dJwni1MJqME3OqrqngjtCqkw-hVJ6XqqkAo25D8pSuW6c4VdkB6YYlEyYevn0Ur7xviUTnzsZ7o7kisJInQgCCW6UgM9MIFrJm5dVSuKisdqotY7yTSh-wSAtY/s1600/Twitter.png)no-repeat; background-position:center center; } ul#social .googleplus a { background:#D73D27 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg64VeZXb6Pn5gemiROMVTCpjhj1Id4tPxQtZTRbzZJPsc3n7QLxnKMZ5ENuFnpHN6woQVVK6XpMunA_49g-k3JY9u0asr30mb6za3IHWm8OcUyNtfVhyMCwRAb3IqjoDDVxXfKM2BeqnU/s1600/GOOGLE+PLus.png)no-repeat; background-position:center center; } ul#social .facebook a { background:#1A4B97 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSjCUw1YJa8DRqc5hM4Ti_iyU2gH5o8bvCrbNOkKdeBm3RMAmhpwD7zI2CSCzuJaFGcFVAJo7n3oKeG5my4H7MQ2Sz7a4zsRN_KN1IfQ8BELai2p3ruzal5K4iKp3VBJh1JTAc9AHhy7g/s1600/Facebook.png)no-repeat; background-position:center center; } ul#social .rss a { background:#FAAE17 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwxgq5uDk_VvUIxDXPNrq4yTaJkJvAcmRRb72OEFpXLRn2XLZQTb7geBzyN9DRcGhtS62ojOfZxG7AaY-HHNtIU8TZDkJSwZfFBGL4qNkTO2yOvpKv0wNVJsh7XIVWufqBPBdndbfwmZc/s1600/rss.png)no-repeat; background-position:center center; } ul#social .pinterest a { background:#963336 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2-d5yN4pldp4VoiwYUaEEAyvz8mgb2Qir7sC1-ggAuSVOa-DtJk8OpLjyRptmVlUTVV2Xufi5Vld015HBnHigU4uDWWK0kw_ir_efkFqYaIZiA2gPMa2VPwjN-U6BcXy73atWiGArbRU/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 - Now save the widget and See your blog. :D
0 blogger-facebook:
Post a Comment