Silahkan Kunjungi rumah blog kami yang baru klik DISINI
untuk fotonya silahkan anda koment sendiri....ha...ha....

Minggu, 07 Desember 2014

Membuat Menu Sidebar Melayang dengan Efek Jquery Lebih Menarik

print this page Print this page

Membuat Menu Sidebar Melayang dengan Efek Jquer

Tutorial Belajar Blog | Trik Blog | Tips Blog - Sekedar Berbagi Tutorial Seputar Blogging , Trik Cara Membuat Menu Sidebar Melayang dengan Efek Jquery, untuk Contoh 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/AVvXsEjNAG_MAQ8ceyxSXGb3YdtaBcqRP6s4Jjb-5_e1C9LlCJlwoqrgJBzdokkpGrhT86xeFDuU9mvU-ivn_feBbZ73F2vjN_JnnsP0k8vDZCdYNaxict4q4Dbe8pr1mdkp1tizl0FUve4A2dA/s1600/home.png);
}
ul#navigation .about a      {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqT2fPY66pZ8PcjdDwnHWzJtXaF9RJV8K5fdjMFqGBvl0tDTa6Nt0f3LLq2iwaL0D4KQrU5DJnFUl67NO8dCBsrVc3VE1DtVLRJChGcK0fx3iRKiPjw1EfzIPU20lSrigY6tdlzds1f58/s1600/konco.png);
}
ul#navigation .rss a      {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFrQxY7cC_rDiFeZJ-iXh1bAr5tGxRtn4GEYoqNUR4LqrwZ0ycZ-5jHqvuX7Ln3nfNaQdU_G5FzE_qzvBUqFloQo5-IGDZmez_ueazJnu5UVJMIwgZIF8D8j9SRhym5hpcvWlz-nParr0/s1600/rss.png);
}
ul#navigation .mail a      {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbCu_QnLf8eIXTgERv_uzmXqzpczEgMG8XGuD9vhxYHd-gfWNmELnSwjgNoMHNIZf0fNbKOkUMwwvXpJ-gt6R26-An1_-ZTldqlHw-MPyxw437TFIZu2_XDNefEuCfENjeEMfoNOO9aso/s1600/mail_receive.png);
}
ul#navigation .facebook a   {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQiPDeu41f__s2wmEJTjQab-wScazE5Chx0keMf7JVwRc8z-l9rvNaDB1DackmKT4T57kCE9LWyi4wYqRfZ1OlVMKENDfnEy7xhaFak8FMDSTo2lJ_4zD_P-Eq29Od1Heh2eN_Fa0l_Kw/s1600/about.png);
}
ul#navigation .twitter a     {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj01P9YsViczcDWkp46npeLYRyDwDAPCFVN_4zWVFBl1SwMGweIuzi-xhRvgJkf0_lPrjS_rji0TFq6gZoEtisrpFfinZ4znFCuSt4WnK1L-VkwTo9jPJd4nbsr4GsC5y7kAm4ooLO5Bug/s1600/twitter.jpg);
}
ul#navigation .youtube a    {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOFl7yloFVquz1V3rgT3i684ls55bG4le3vJh5NFdZgSeeZlWEPLRMjvxMvqlwQ_YPN_93SIhvD5KDp60LJSBgb2fDt8yJAzFGvFTZibEus4o2NQjTp6HaqOHq7EBzo7wlUBoBZ52S9Lk/s1600/You+Tube.png);
}
ul#navigation .googleplus a    {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_8aWS20dmWhFd65nJtwF9YewHaAKYGLHHAtw18yZGxehvnFFj7WkwmGw9gqF87sxZsclPtUbpjh727DjrDMN1JOAXK3iNzUsKo4hiG2VWPLj3ceFmp0J9cs1IWzwbEIg0Of-vyMyreQw/s1600/google+plus+circle.jpeg);
}
ul#navigation .yahoo a    {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhktsYXuT7OdRqXxxTPeBiFfs8_OjxyrrgeMO1vycysWfj3Sm0zo3T6l7gx-KxpFeRNWHKlt09HJ8gCmM6GhEIOvwLvZN8jgmbQMdxbgEiIdpFYSSba-DTMzWlWr0paJXpftuCZnDvJk-E/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 :)
Artikel Terkait

A M A R A J E N

0   komentar

Posting Komentar

Cancel Reply
A M A R A J E N
Blog ini didirikan hanya untuk kalangan sendiri, Terima kasih telah singgah.. Semoga kita berjumpa kembali.....!