Ticker

6/recent/ticker-posts

Floating Social Bookmarks dengan Mouseover



Demo

Langkah 1
Copy kode dibawah ini.

<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/AVvXsEi0byDS4n5erbAPk5WOuHFbJGdRTKbUHBPD1Y2X4-IA11h2i0jTa6XHhS-BtWsFC9_NhY0MH_8p-fRcE9ftn8NRHnxHTtQmjF4qxUU6sbjnWL4NMj-0Q84bzhNm3pFFbJNCqXKzsedqtGPs/s400/rss_64x64.png);
}
ul#navigation .facebook a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgou4bfMZh3mJ0vSoJbTCPnPo8qjmfLnC-FZZ1zU5-L7iYsf_rlk2YTwBjqKEvcMzOMPDZJCNKSX44WhRNctsuI30m6I_Q54SWFD-EM2vaDN640jpcnKMUZz9aP_3yQrz0N0tZkFTO07-i4/s400/facebook_64x64.png);
}
ul#navigation .twitter a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgB6_fdxwWBzxzZEDU19GslnCmXNm10xZeq4VXw9s9w7pcUCX41CApSNpRxDU5cMTUbVuZvrYFacHC3HGkexxigyHhPak92xTtzgSWnZXq4iCuvrZ6zfNW8oi7sk9283LQ154uxG3kW02S_/s400/twitter_64x64.png);
}
ul#navigation .googlebookmarks a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnXAdW7vadOV-IxLICVy17AgVYRNFjFgUEZqfhLucez2hROmESsjRxIPNpxV3LmzJR0DaOzw87QOPvtV1Fn20alS7rz2KlXpYza91WtOFE9QGA5eW3ECm_YwK1kwnqxGJIQ9oqMJTDJsEH/s400/google_64x64.png);
}
ul#navigation .e-mail a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgU6XiSPtVlJbJ3kNsLeIp-svL8kuz2SQHtNhn2klpEqcNwTkaYbnS36QbzOeoMLx0IZ1aXZyxen6YEtOpe1aIhTR2cRlpb2KimwqWo5VTput3j0h1OoursIFRvaQ7upLsTjJtVSwnSYjta/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 rel="nofollow" target="_blank" href="http://YOUR-BLOG.blogspot.com/atom.xml">RSS Feed</a></li>
<li class="facebook"><a rel="nofollow" href="FACEBOK-PROFILE">Facebook</a></li>
<li class="twitter"><a rel="nofollow" href="TWITTER-ACCOUNT">Twitter</a></li>
<li class="googlebookmarks"><a rel="nofollow" href="https://www.google.com/bookmarks/">Google</a></li>
<li class="e-mail"><a rel="nofollow" href="YAHOO!-ACCOUNT">Yahoo!</a></li>
</ul>

Langkah 2
Cara Pemasangan.
1. Login ke Blogger, Klik Design :
2. Pada Elemen Halaman, klik Add Gadget di lokasi yang Anda ingin letak; 3. Pilih HTML/Javascript;
4. Copy paste code HTML diatas ke dalam Content yang telah tersedia;
5. Selepas itu klik Save dan lihat hasilnya.

Catat Ulasan

2 Ulasan