Floating 5 Social Media Widget for Blogger
A beautiful and distinctive custom Widget for who have Blogs with limited space. Sensitive to touch the mouse, after automatically opens that touched a category,
A beautiful and distinctive custom Widget for who have Blogs with limited space. Sensitive to touch the mouse, after automatically opens that touched a category,
So let's See The Tutorial How to add Floating Social Media Widget For Blogger
- Go to Blogger Dashboard
- Click on Drop & Down Menu of your blog
- Click layout >> and click Add a Gadget >> Html/Javascript
- Then paste the below code on it
<style type="text/css">
ul#social {
position: fixed;
margin: 0px;
padding: 0px;
top: 20%;
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/AVvXsEhbFlFDVbXo4gYVioPqRsnD4qbJERXVmgMLUn4rL1oPhxKXxNYag5_eGkPz2XsbIYbOVVeqqiB3l-eS_TFu7upeClELKjBYaK4QhD1RWPrGMjNh8atZJkbUQU4SInqEstX1Lld5Txu9e8Q/s1600/Twitter.png)no-repeat;
background-position:center center;
}
ul#social .googleplus a {
background:#D73D27 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPasDnTUzJScF0pm1Vyi3haQSeCAIXvQaBXk8AA9Snm7bJTssOdOHYXqJJwwvzwI8sp7ufvrYqeV8_6fwiNeokFMNcbkx-Uk2laOtx5NavfJQkvEQIG-2dPJcXLZnAtru3B24WLouq104/s1600/GOOGLE+PLus.png)no-repeat;
background-position:center center;
}
ul#social .facebook a {
background:#1A4B97 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjil6-HsNWJbtW6DQlrEzCKaKvXPNOy3ZU1SAAAMgiQ7jrkIM8AeBspooTXoe-umlt9W1qzxZ_rzU0IHkWNMRoAos4dU-TDhcwdtDO-VVEGVT-Taobbb8Z7ez6OrdxUkxPg3X-boU-dn_c/s1600/Facebook.png)no-repeat;
background-position:center center;
}
ul#social .rss a {
background:#FAAE17 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7IOUlBFMmRJfj8SZ_niSuMsSva6Sf6fcbrQB2u1rCG3uFYt5-UY9dL0cIaEMFXFdHeViqah-p2OXBiWjqky6b52LtlRrptPAzR-Q_7o1m_h99hKN-fp5FCCUS9j6D-qiUia3T3aRZEX8/s1600/rss.png)no-repeat;
background-position:center center;
}
ul#social .pinterest a {
background:#963336 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigjIg4iMibE2xzwAGGle2GUMOL4pNbXXFTY2mUpfCTJgECp7UtTpnOmo-wkw705OlWtGGMof-fVJeg-fhCS-M8QTRAXChyYNpoSr4OPtCir13EiYOFnAOr_YrC7IRM2RfWXfUvbt9EWxw/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>
<br />
<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>
ul#social {
position: fixed;
margin: 0px;
padding: 0px;
top: 20%;
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/AVvXsEhbFlFDVbXo4gYVioPqRsnD4qbJERXVmgMLUn4rL1oPhxKXxNYag5_eGkPz2XsbIYbOVVeqqiB3l-eS_TFu7upeClELKjBYaK4QhD1RWPrGMjNh8atZJkbUQU4SInqEstX1Lld5Txu9e8Q/s1600/Twitter.png)no-repeat;
background-position:center center;
}
ul#social .googleplus a {
background:#D73D27 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPasDnTUzJScF0pm1Vyi3haQSeCAIXvQaBXk8AA9Snm7bJTssOdOHYXqJJwwvzwI8sp7ufvrYqeV8_6fwiNeokFMNcbkx-Uk2laOtx5NavfJQkvEQIG-2dPJcXLZnAtru3B24WLouq104/s1600/GOOGLE+PLus.png)no-repeat;
background-position:center center;
}
ul#social .facebook a {
background:#1A4B97 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjil6-HsNWJbtW6DQlrEzCKaKvXPNOy3ZU1SAAAMgiQ7jrkIM8AeBspooTXoe-umlt9W1qzxZ_rzU0IHkWNMRoAos4dU-TDhcwdtDO-VVEGVT-Taobbb8Z7ez6OrdxUkxPg3X-boU-dn_c/s1600/Facebook.png)no-repeat;
background-position:center center;
}
ul#social .rss a {
background:#FAAE17 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7IOUlBFMmRJfj8SZ_niSuMsSva6Sf6fcbrQB2u1rCG3uFYt5-UY9dL0cIaEMFXFdHeViqah-p2OXBiWjqky6b52LtlRrptPAzR-Q_7o1m_h99hKN-fp5FCCUS9j6D-qiUia3T3aRZEX8/s1600/rss.png)no-repeat;
background-position:center center;
}
ul#social .pinterest a {
background:#963336 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigjIg4iMibE2xzwAGGle2GUMOL4pNbXXFTY2mUpfCTJgECp7UtTpnOmo-wkw705OlWtGGMof-fVJeg-fhCS-M8QTRAXChyYNpoSr4OPtCir13EiYOFnAOr_YrC7IRM2RfWXfUvbt9EWxw/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>
<br />
<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>
- Save It.
View your blog this widget will appear correctly if you facing some problem then leave a comment below.
0 comments:
Post a Comment