Rabu, 17 April 2013

Membuat Menu Sidebar Melayang dengan Efek Jquery Lebih Menarik

Tutorial Belajar Blog | Trik Blog | Tips Blog - Sekedar Berbagi Tutorial Seputar Blogging , Trik Cara Membuat Menu Sidebar Melayang dengan Efek Jquery, untuk Conoth bisa di lihat tampilan scrensot blog 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>



/* Starts Menu Sideabr Jquery melayang by tutorialbelajarblogger.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/AVvXsEjH-TKD6gDA3ZL8V6yrv9LCVj-D_NW8xnetqIwANJ18a3C_jHIFT8ZBBmNVjEffn8fHdq7CaVNW3-8dHT0u_XAWTjzoOKDNrNPd3Cdsxtszws47UTorduwNLud5OR9jBcEkyFJwp3zz9pk/s1600/home.png);
}
ul#navigation .about a      {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHpeMYP5I9E1Wj58vK2RXCPOeBMXIgW8pEIX4Z36Xyux5pQ5Qz0tRI9Uyr74owsqWg279mhZyP_N14w-gksrJMnLx60jDFYVJCzPBJHZDPWBlsUag8z3f9LomhQmNtZAM6nhLCQajKTJg/s1600/konco.png);
}
ul#navigation .rss a      {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwFax_V6Dw7Lg74sW1hkB0bNUAa7FJ2FTdqCuqrYKNzRQwTtpfUADgTQ-OhyphenhyphenZ2LkDNXr85DLuf5L4B-NAW9YBC1bGbDz-wiALPlyjxetwgaiCmzN7U8XiY9pgtdONrMm8VScvPfS5kzxQ/s1600/rss.png);
}
ul#navigation .mail a      {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnDyUQPn5oeTtqTNkZsaP2gE25wDAkzSZpRUZlgBC0-PdFai2I0eWIRwy-Qzg-MXs71Zkn14KfqNGsYJrhgkan0I9e8jyENbk3oCBXsyQMMoJsYx3ESf6Zd8NaD1JcaUXCDnPfo8oDfoQ/s1600/mail_receive.png);
}
ul#navigation .facebook a   {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8OZyS4vvKFK-mduvhV15Jh_KBCoRiuWGivOc4ptR-BHsOghm37ru5LSWWO-SlNnNsL6ioqeYAa1wG6d0hPqFL9yvLwHt7TF8wcApBwb4VCk93N21X6RLB5WB-4B26wEXK6xndgX8-WR4/s1600/about.png);
}
ul#navigation .twitter a     {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0p4LEhJIhJJMqmqmbsdDXQsEm6_0vOEZreSTjsyn1fYoa4kwOACmwepe_VkJUaoYun99avEiIWjdVBhq7GN-JogA1m8Eq8-qjHAN4qGxtI9BU86UxQwTEbLXOLp_H5mDdkrDkw2yYX7Q/s1600/twitter.jpg);
}
ul#navigation .youtube a    {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPYP1qBE-W6JUHB8r8BhU2xPFpEJLn9oWdU9thuN0iyvouqqSmceWm3hCO8LxZZ8ovSuZPZsKDpYVB8VmCP43t0cbZFE26Yo8vZvLPiLhNh3r-jTBRJngxADlUaPeRdDSlYdaVfZsRpe4/s1600/You+Tube.png);
}
ul#navigation .googleplus a    {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7JZYcPbOwhqHUa7e4fyeGQ7FCphks5IY9EHlgTQhsRk_tuh1A8Un3e3f3nHJoSWbRDJlZuuZea2GJphwuBkg95fu8uEjCIZXtzD2bRP3IJNCok5oI91Kfc59AwUgiyl2JUzNlKUTtKDM/s1600/google+plus+circle.jpeg);
}
ul#navigation .yahoo a    {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEMnwvC7gRXyxo0oFpLSgB0gKql05vv-3ccYUx0MBLX0R0q5rYhaVRXu-UIO1MvDxBAURwLDHKNmXG_LFdlE21E-v3g2m4evI9zeBOtz1NqqHAl96mvcKWbLTMJdB5qy84k5eBoxxE0CY/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() {
$(&#39;#navigation a&#39;).stop().animate({&#39;marginLeft&#39;:&#39;-85px&#39;},1000);
$(&#39;#navigation &gt; li&#39;).hover(
function () {
$(&#39;a&#39;,$(this)).stop().animate({&#39;marginLeft&#39;:&#39;-2px&#39;},200);
},
function () {
$(&#39;a&#39;,$(this)).stop().animate({&#39;marginLeft&#39;:&#39;-85px&#39;},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>
<div class='scroll'></div>
<ul id='navigation'>
<li class='home'><a href='tutorialbelajarblogger.blogspot.com' title='Home'></a></li>
<li class='about'><a href='tutorialbelajarblogger.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>
#Ganti link yang saya beri warna kuning dengan link kamu, Lalu klik simpan

Selesai, sekarang buka blog kamu dan lihat hasilnya, Menu Sidebar dengan Efek Jquery Keren sudah ada diblogmu :)

keyword: cara membuat menu sidebar dengan efek jquery keren, cara membuat menu jquery, membuat menu css, cara membuat sidebar jquery, membuat sidebar css, menu sidebar melayang jquery, menu sidebar melayang css, cara membuat menu sidebar melyang dengan efek jquery keren

Tidak ada komentar:

Total Tayangan

Banner1