Friday, May 27, 2011

Floating Social Bookmarks with Mouseover

Now, I will post about Floating Social Bookmarks with Mouseover. You have seen many kinds of Social Bookmarks style. There is floating, under the post, or maybe on sidebar. So, we will add the floating Social Bookmarks. Just see the DEMO. Interested? Follow the step below, to add into your blog.

1. Log in to your blogger account
2. Go to Design --> Page Elements --> Add Gadget
3. Choose "HTML/Java Script"

<style>
ul#navigation {
position: fixed;
margin: 0px;
padding: 0px;
top: 0px;
right: 0px;
list-style: none;
z-index:999999;
width:721px;
}
ul#navigation li {
width: 103px;
display:inline;
float:left;
border:0;
}
ul#navigation li a {
display: block;
float:left;
margin-top: -2px;
width: 100px;
height: 25px;
background-color:#eeeeee;
background-repeat:no-repeat;
background-position:50% 10px;
border:1px solid #BDDCEF;
-moz-border-radius:0px 0px 10px 10px;
-webkit-border-bottom-right-radius: 10px;
-webkit-border-bottom-left-radius: 10px;
-khtml-border-bottom-right-radius: 10px;
-khtml-border-bottom-left-radius: 10px;
text-decoration:none;
text-align:center;
padding-top:80px;
opacity: 0.96;
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=70);
}
ul#navigation li a:hover{
background-color:#CAE3F2;
}
ul#navigation li a span{
letter-spacing:2px;
font-size:11px;
color:#60ACD8;
font-family:trebuchet-ms, arial, tahoma, Sans-Serif;
font-weight:bold;
text-shadow: 0 -1px 1px #fff;
}
ul#navigation .rss a{
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6GF0ggLUIWc1jP0RdQbi6yiOsSo0j1itWz7CaAb7Lms24Xq8pB6gx8Za0ax_EL-gfl0yCbrZJsvCYOJj7KunDS1GszwGYD4dhtMj7040z4-zDqJ7nvSHszAdxK0TA0cqaVG1_vGPOek9z/s400/rss_64x64.png);
}
ul#navigation .facebook a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoLcGomG2R5-e-BC6Tsy7WuHZuQFcLAjjc0YJn9DmUd3YyQWbT7Sqaud4t8ubScjWUfAjL9saMxN5yaB64O_TruMK076HW7htAglx-XXquw4_kR4SqaoeuUFOjI67f878muegAqrDPnGbb/s400/facebook_64x64.png);
}
ul#navigation .twitter a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4GSzFhU-4pB_lFMSogppJjSdKrmDLaazBpY7_ysc4tKI8UHBxF3BVbc7suuKCMBUxfDvv3NgSfjOzrK86PTko-CMg0RrgXuSEETMIYcsTCG4jGMUnQszCFRPmOTFr79ly7BDcHJTFa4j6/s400/twitter_64x64.png);
}
ul#navigation .googlebookmarks a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4hL0E9irtxRvS5uPXL1N_RemZXAzT5j3Z8gM2O6V3gUtwPg0kALGS2KdkC83GLjPx7oFyXOOsJgOUT_DVabvUo4IiTdOeEp2R0crT0s8KEn6uLPPg2qVkiA-r-NT2861McqPwlfBIhyphenhyphenGf/s400/google_64x64.png);
}
ul#navigation .e-mail a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhg8sOqEwBOBRHaQa2JTpaOd4aZP41rTCFTGr-YOl271n_05nh1uruWnTk48X_al_9SPLYFxeXThHZOYtnMtFVbE4Vls2ewyTvuWEfPp1-78cCAi4V07_9dV_5fZub0qv0Si-yGdByd6zyU/s400/yahoo_64x64.png);
}
</style>

<script src="http://jqueryjs.googlecode.com/files/jquery-1.3.2.js" type="text/javascript">
</script>
<script type="text/javascript">
$(function() {
var d=300;
$('#navigation a').each(function(){
$(this).stop().animate({
'marginTop':'-80px'
},d+=150);
});

$('#navigation > li').hover(
function () {
$('a',$(this)).stop().animate({
'marginTop':'-2px'
},200);
},
function () {
$('a',$(this)).stop().animate({
'marginTop':'-80px'
},200);
}
);
});
</script>

<ul id="navigation">
<li class="rss"><a href="http://YOUR-BLOG.blogspot.com/atom.xml">RSS Feed</a></li>
<li class="facebook"><a href="FACEBOK-PROFILE">Facebook</a></li>
<li class="twitter"><a href="TWITTER-ACCOUNT">Twitter</a></li>
<li class="googlebookmarks"><a href="https://www.google.com/bookmarks/">Google</a></li>
<li class="e-mail"><a href="YAHOO!-ACCOUNT">Yahoo!</a></li>
</ul>


4. Then, add the code below
5. Click SAVE TEMPLATE

No comments:

Post a Comment