Menu Sidebar Melayang
15:44:00
By Unknown
Css
0
komentar
Trik Cara Membuat Menu Sidebar Melayang dengan Efek Jquery, untuk Conoth bisa di lihat tampilan scrensot blog Postingan ini.
Membuat Menu Sidebar Melayang dengan Efek Jquery Keren
1. Masuk ke dashboard blogger > Klik Rancangan Template > Klik Edit HTML
2. Cari Kode ]]></b:skin> agar lebih mudah gunakan CTRL+F, lalu letakkan atau pastekan kode berikut tepat diatas kode ]]></b:skin>
3. Cari kode </body> agar lebih mudah gunakan CTRL+F, lalu letakkan atau pastekan kode berikut tepat diatas kode </body> tadi
4. Klik Simpan Template
5. Selanjutnya klik Rancangan lagi, tepatnya pada Elemen Laman, Tambah Widget / Gadget Baru, pilih HTML / JavaScript, lalu masukkan kode berikut:
Selesai, sekarang buka blog kamu dan lihat hasilnya, Menu Sidebar dengan Efek Jquery Keren sudah ada diblogmu :)
Membuat Menu Sidebar Melayang dengan Efek Jquery Keren
1. Masuk ke dashboard blogger > Klik Rancangan Template > Klik Edit HTML
2. Cari Kode ]]></b:skin> agar lebih mudah gunakan CTRL+F, lalu letakkan atau pastekan kode berikut tepat diatas kode ]]></b:skin>
/* Starts Menu Sideabr Jquery melayang by mazzpuji.blogspot.com Starts*/
ul#navigation {
position:fixed;
margin: 0px;
padding: 0px;
top: 55px;
left: 0px;
list-style: none;
z-index:9999;
}
ul#navigation li {
width: 100px;
}
ul#navigation li a {
display: block;
margin-left: -2px;
width: 100px;
height: 50px;
background-color: #ffffff;
background-repeat:no-repeat;
background-position:center center;
border:1px solid #fff;
-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;
opacity: 0.9;
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=90);
}
ul#navigation .home a{
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNvRCDmW7V6PEP5a7bWxStK7zMkMnFNJv0SmdOYbZDKmjRv8m1IeqS60zDviC5WOJdGqiktisaxM9_M1Tysrde-6ozfCMOWjF7KuCLknXVcFoxRDdi5RfLrUfcbyjrpYQG7BoyX3mszoY/s1600/home.png);
}
ul#navigation .about a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_i4f1gS8Zm8klyCkV6RvgzQ7J7xan-21bYSHLWUeN9_NFVUbME125POp8hUOSbeaQRck-g_lQNakO5DE2WzmbWGR6jeiULwqz5b9WaxZL7qDMRPIWIa1sJ4k3b9R94vwJw-EDdrgKkqE/s1600/konco.png);
}
ul#navigation .rss a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtcd3iGEbI7l0TwiYMK4h8jSWnLqLiwAavjnz2Y0uhIXLR5ITMOkYDT7_bAtmmdztlDSTb_2CKorOT6R9jkfpVDR1jwU7NHD4hEOD5uSPes-KDxSo6aDrO5tYPs1QCI6wvZr4btrUyckc/s1600/rss.png);
}
ul#navigation .mail a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-hSDwdwX2lvRhqv8UU_VNLbwRN1heTghKlMp29dmnk_UgHt1PC43d-zIqb-1gHpNNxlR1VZNWpWv16mFJmE2cNaQgcy9SIeZP2Vv1FHk1P72Hb-9WTZsTdT27NvAzriSVdiP48OwH_Uw/s1600/mail_receive.png);
}
ul#navigation .facebook a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-FGSXuHMWJVc0dbdPAxR6oDnKKISV3VAHYmWTU0FVoNbE9MwSWlR5KnRi59wG1JD9LH78A4K8ETj-CmO0jqxDCIj1xTFpWgdKa4HWJbP8UA-sPdnvK6yTQUaB0893x7gLO9wW_vjiU2I/s1600/about.png);
}
ul#navigation .twitter a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtDISwv6qgc1ir8SqOGJds01c0j0E0H6klaGowZ4wsbqXjI38LB9Hoe_p2ts0yMinYl_ImE4lO6oJg2UXO_VNXqbp4Eqef-pSVlvUFYYTJ4TDLIhbwihV8A8x3qY5Zx2dovdU5oo_Dm6I/s1600/twitter.jpg);
}
ul#navigation .youtube a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiU7xtX4jCtecmYEr0pIZMCtERhvF2wX7cCu-_KTt69FbxB_isyDoRfyUSAdKI2n_CN6MEZ1e_KNCxtUTx7C5tM5lzq2UNZrvu9C7FrxqA5FfWenlUISQVt8t4Ol3-JbubJQ5BPLRUi4CA/s1600/You+Tube.png);
}
ul#navigation .googleplus a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYK9myjRt1eZnj3xEtjlKJeY4KT3gdbI8A8Fqx2ylCQX3TZQ_2_z38xZJEdEDRNKvsUm-Xc4Nf9Gj5Pb9VjC9-UgalX_UkJIwKeBeaJAK3vJjeI5fT-yTMCjepRDLSqQfnpNr-bXA8fig/s1600/google+plus+circle.jpeg);
}
ul#navigation .yahoo a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnaEXP4MiAnRP1yZgvoy-zmB8An6v2AUpmlTxEs4jRQiDTAImYJhG9ArCGpv4nxyfRMIoPOlpE6I5fR-LEjmH6HwUvLvpqzp1MOWymtOhAKuNtOpJ3z89NATdjAAfvPGOpkvrvhc4RxR0/s1600/yahoo+icon.jpg);
}
/* End Menu Sideabr Jquery melayang by tutorialbelajarblogger.blogspot.com End*/
3. Cari kode </body> agar lebih mudah gunakan CTRL+F, lalu letakkan atau pastekan kode berikut tepat diatas kode </body> tadi
<script src='http://x-gen.googlecode.com/files/x-gen-jquery.js' type='text/javascript'/>
<script type='text/javascript'>
$(function() {
$('#navigation a').stop().animate({'marginLeft':'-85px'},1000);
$('#navigation > li').hover(
function () {
$('a',$(this)).stop().animate({'marginLeft':'-2px'},200);
},
function () {
$('a',$(this)).stop().animate({'marginLeft':'-85px'},200);
}
);
});
</script>
4. Klik Simpan Template
5. Selanjutnya klik Rancangan lagi, tepatnya pada Elemen Laman, Tambah Widget / Gadget Baru, pilih HTML / JavaScript, lalu masukkan kode berikut:
<div class='header'></div>#Ganti link yang saya beri warna kuning dengan link kamu, Lalu klik simpan
<div class='scroll'></div>
<ul id='navigation'>
<li class='home'><a href='mazzpuji.blogspot.com' title='Home'></a></li>
<li class='about'><a href='mazzpuji.blogspot.com' target='_blank' title='About us'></a></li>
<li class='rss '><a href='http://feeds.feedburner.com/' target='_blank' title='Rss feed'></a></li>
<li class='mail'><a href='http://mail.google.com' target='_blank' title='Contact Me'></a></li>
<li class='facebook'><a href='http://fb.com/oktri.darmadi' target='_blank' title='Add Me on facebook'></a></li>
<li class='twitter'><a href='http://twitter.com/oktri.darmadi' target='_blank' title='Follow us on twitter'></a></li>
<li class='youtube '><a href='http://youtube.com/' target='_blank' title='Follow Me on Youtube'></a></li>
<li class='googleplus '><a href='https://gplus.to/xgen' target='_blank' title='Follow Me on google plus'></a></li>
<li class='yahoo'><a href='http://yahoo.com/' target='_blank' title='YM With Me'></a></li>
</ul>
Selesai, sekarang buka blog kamu dan lihat hasilnya, Menu Sidebar dengan Efek Jquery Keren sudah ada diblogmu :)
0 komentar: