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/AVvXsEjEi6TGU3NFZdYP09dxgp0sKh-SfaQy6sL4z9p__om7-B-ReemRrcv7jTjxQqmvJsGOS1BwSia7_enLNcXq9wdvIOqEaWsZfAo_N05PowNZHrWdKcT9bKzGpw8sOi920j_qi3K7150dY-s/s1600/home.png);
}
ul#navixed .about a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRkSPxjhtt_4MZhy95UmSj7BTYW5QPSgHtF34AjmJ4aUAYHvksS88BAAkAvyNFyyl7i8pB5NTwd8e9bFCE4yE20RkqPK339JDlDdMeWFW50enUhnlEhBuVoOsk2XcAPYoNRTRlM7h1OkU/s1600/id_card.png);
}
ul#navixed .search a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXbiEci_Kb6PVnCzHG2UmLOmU9b6mZGdGgJNHtd-y6lNgT2OaY9MQ3LdkRibw2Z0VB0yvPqi-211UfrQgWim2O5I-6KLHHmTaSrto4puqxLtcTiE3mfmPy9ORipsE4zg4UvJCBOLtIyXU/s1600/search.png);
}
ul#navixed .podcasts a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3W7Mc7MnIkPPQgS2VVddqmmhkvgFH8B93K1M-Ns-cox6kVsKuD65clsWNrmAduJ4D4Rcjk9KTptO7fMZk3geV-MHW7ggblBDC8eCuRlgAtNZv-W2VyJs0Q2oPVGerktxwAe85qMEfkjE/s1600/ipod.png);
}
ul#navixed .rssfeed a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqfbgsQhbBetkJMCJW3EQ3qtW9CRDpsCHStpncZZ1FOp_tKv3MHJK6bn7lNcq18NceveuXQRTB__qywV8HsrzZpVdehxq4jPOwU6iwDYiiToOfMVLmHLZhCuk_TNqFgkv3ZZzSEMKjyZQ/s1600/rss.png);
}
ul#navixed .photos a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgy1GCUiA19PBJbgnLWKxh1Wnp-HLCbZptPHn5n8zsnyUezKx0koR1kxHojlNkvqMsVDagz-lCRcX5dhq24EQT14fyAvblPBdztWJp0djG1GsAXAb4QYJf1Rf-a2w-yeahh1c3j7IUAAAc/s1600/camera.png);
}
ul#navixed .contact a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdMNaspEzq38YxaOZI1zYjMxO913Ef86MTe8Myg0AU7ufimuTqK6ajrJYbKRhzXs3ft2mSEk7hLux8wIZcm4Gc0_jkYG2oTQyRY9yxOMvYI-RACs00D0gpqqXRL5nniaYwpkWRpiZLsvM/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 :)
Thank's gan atas share ny ! Kebetulan sekale ane baru belajar bikin Blog, maklum masih nyari hiasan gitu :D
ReplyDeletekunjungan OMM
ReplyDeletenice share
sangan Bermanfaat thanks . . ye =))
ReplyDeletenice, keep on writting :D
ReplyDeleteadak gak demonya
ReplyDelete