Beautiful Slide Out Navigation Horizontal Menu
Beautiful Slide Out Navigation Horizontal Menu atau kalau diartikan kedalam bahasa indonesia artinya adalah Menu Navigasi Horizontal cantik dengan efek slide out. Kalau kemarin 4-jie udah pernah bahas tentang cara membuat navigasi horizontal sub menu ala oom, namun kali ini 4-jie buat sedikti berbeda dari biasanya. Pastinya lebih keren, lebih waw, dan lebih lebih deh.
Buat yang udah tidak sabar untuk membuat navigasi horizontal ini, silahkan ikuti panduan nya :
1. Masuk ke dashboard blogger
2. Pilih Rancangan --> Edit HTML
3. Cari kode ]]></b:skin> dan letakkan kode CSS berikut diatasnya
Itulah tutorial membuat Beautiful Slide Out Navigation Horizontal Menu, silahkan dicoba and keep smile :)
Beautiful Slide Out Navigation Horizontal Menu |
1. Masuk ke dashboard blogger
2. Pilih Rancangan --> Edit HTML
3. Cari kode ]]></b:skin> dan letakkan kode CSS berikut diatasnya
/*----------------4. Jika sudah, cari lagi kode </head>, kemudian script berikut ini diatasnya
Beautiful Slide Out Navigation
-------------------------------*/
.headerfixed
{
width:600px;
height:56px;
position:absolute;
top:50%;
left:10px;
background:#fff url(title.png) no-repeat top left;
}
ul#navixed {
position: fixed;
margin: 0px;
padding: 0px;
top: 0px;
right: 10px;
list-style: none;
z-index:999999;
width:721px;
}
ul#navixed li {
width: 103px;
display:inline;
float:left;
}
ul#navixed li a {
display: block;
float:left;
margin-top: -2px;
width: 100px;
height: 25px;
background-color:#000;
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.7;
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=70);
}
ul#navixed li a:hover{
background-color:#000;
}
ul#navixed li a span{
letter-spacing:2px;
font-size:11px;
color:#FFF;
}
ul#navixed .home a{
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2RV_sEULBhX-maxCBVdt_1w2QjYCEA3QGk7j8cgjFUQVvztwDyt9RD8-FpWgfICzR__rw6GccaIgbR0xFAPItyWHt7OC47qe_-YfOSnPeH0RT6fPsPYJrfKEJ1hQ2GKIKKMbUCz3Ap44/s1600/home.png);
}
ul#navixed .about a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlyC0EtmlmTwiq7mgxJLx7GZIkef-RY1z069HlemOOVR0NxvoE5Ceh4Qd575nS0diwAbt6N700ZP-e98GM2uhpscggWuqxeZV3xAiI_FoFyld5eGPMWr3Tf277fI19WqrdqcNR1X3mCJg/s1600/id_card.png);
}
ul#navixed .search a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNe7lXmNcZ-WisreQaKWrjVwq-pARkRKMZ-2v5ZD4tH148CC9dQp1mfp8DW7lPu8MZu6T6IPkUxJOPqjaRu_7h8GgBW9nc79ak__ezumGiAza_oE47NwSLduK2TS7OA5JYV0JSKf_UKgU/s1600/search.png);
}
ul#navixed .podcasts a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSS4sCmaUt6yrFdyENyiQbIXMngyt92Iy7UbLpc41lNbUWtFiHy17yEQJ5Jd5zZ3lYaDKJ2wgJZAbW79o0jW2x0nbZZU-uylNTExTJFn28wDJxL-Y5LmgLvnQR67Y-8eTcFMzee4bEEGo/s1600/ipod.png);
}
ul#navixed .rssfeed a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjypgGbV8awbJKERU0bWuYXSsDJBeGlFdoxdlPjCXTpneGkBm7M_vBYhpB4S7-lNT-yCigA93qQawH9aFWbRo5q-_v1GLPjc6cffWBOqWfkcSukpeHXvzxOFxMhA4MFV22fEvCDkT9dPdI/s1600/rss.png);
}
ul#navixed .photos a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilwHQ4UQJDAXASIWYEfYlyUgAOMOjBPagHqlZ_Ttr7J1zztnp916lgiFcKooavUVNZjhDRY2pnrEtOssZHfD2DlOj3uf-J1tFVoge99b_KF5CSt9T5HWsi-5klUnYAvB1ZvRDeaH5XQj0/s1600/camera.png);
}
ul#navixed .contact a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiilbgMjcr0kDjtKP8LO5EQACgrw_Fp4lddZcyrSe_dyMEDIS0z_a4PHsvsv-SjzQOpncXvlIPg7ou7w2F3k-8rrVg4YtbFDj4XRWwmnHS7vMoYLOKMDhx0n65tCD8jZwZumexh7S0DPtQ/s1600/mail.png);
}
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js'/>5. Untuk menampilkan menu navigasi horizontalnya, simpan kode CSS berikut sebelum <body>
<script src='http://kangdadang.googlecode.com/files/jcolor.js'/>
<script type='text/javascript'>
$(function() {
var d=300;
$('#navixed a').each(function(){
$(this).stop().animate({
'marginTop':'-80px'
},d+=150);
});
$('#navixed > li').hover(
function () {
$('a',$(this)).stop().animate({
'marginTop':'-2px'
},200);
},
function () {
$('a',$(this)).stop().animate({
'marginTop':'-80px'
},200);
}
);
});
</script>
<ul id='navixed'>6. Selesai, jangan lupa simpan
<li class='home'><a href='#'><span>Home</span></a></li>
<li class='about'><a href='#'><span>About</span></a></li>
<li class='search'><a href='#'><span>Search</span></a></li>
<li class='photos'><a href='#'><span>Photos</span></a></li>
<li class='rssfeed'><a href='#'><span>Rss Feed</span></a></li>
<li class='podcasts'><a href='#'><span>Podcasts</span></a></li>
<li class='contact'><a href='#'><span>Contact</span></a></li>
</ul>
Itulah tutorial membuat Beautiful Slide Out Navigation Horizontal Menu, silahkan dicoba and keep smile :)
0 komentar:
Posting Komentar
Please write your comments here.Thanks.