Cara Membuat Beautiful Slide Out Navigation
1. LogIn Blog Kamu
2. Rancangan --> Edit HTML --> cari Code ]]></b:skin>
3. Masukan Kode Di bawah Ini di Di Atas Kode ]]></b:skin>
/*----------------
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/AVvXsEi3aFC-P8IUBuNLFXg_SBBJIIR6q7kPfyawjy5sqdOMd5zSAaWIDl0yzEVRYkcnwQoN4FYAh2llKE84E_LWBzXJqs6lQGTnbpYqzF7ukOkp83PvJA4P3AxWrsOAaIrpUSvjfrJQ2wzKax8/s1600/home.png);
}
ul#navixed .about a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvTiBWJ4KlFA0rW31o-Eu6AaB6JngebfqRQuEKFJqlSsYnwe94tj1UbcAu7TfbRLaMAW4-gl35clEhOWIsEQObSNWrfVpBNrz0j0ZNQX3c3i00_K_pelzev057INlESpkbsKkUUXh8dQY/s1600/id_card.png);
}
ul#navixed .search a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgh0ktBwjpKViQvHAZY8dgKirXZJCiMXDkh3NRY_0ir4f_IEcn7g41zAW6cVp9Ispik6b-2ze0JsR0Ng3tq06CA7K13wEG3HUvyDs5qjwZp-VgZb2QYqcO_xnnOHsuMPY_fXo41sdmYcF8/s1600/search.png);
}
ul#navixed .podcasts a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi18K0hy9B8he6jF-0xsIF6FWEABDxM1L7yMPMXC48zOBQ6u3R7kdqeHFGic1oD5X1aAPlNo9P2Y3JDpm00WHawBJcZ10DDchF21ws3Fq9Q3d1D-IS4HD3J3kVXyEhPrINJo52D9AJCQEg/s1600/ipod.png);
}
ul#navixed .rssfeed a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgELBhhN8sX0k00X7ih-Tx3rB_aIqHkgzw49oC7VdpWCRYa4j76W4q_E-yqniwKPP7oKQ76UZndoqqcf4Ycu7MSb7ink1kgO2x1pF5iRCyskjw3YQ-4pkuoI9DaaZCeXTcaBLaE-HPTs6c/s1600/rss.png);
}
ul#navixed .photos a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1dLoOyn9709ZU4Sy9fOpsc1W8soTK1NYQARa2Ey6P8599VXP6oUbLbESii4TeM49VdoEwAiOPx5cLSuVdl2pphIIftN5hrR1nPdv_Sowz-BUh85N_-Jh0vVJOP9OuYevcEUq-ScuqiJQ/s1600/camera.png);
}
ul#navixed .contact a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi133GGQvX0w-36_Wh_IVb_IE274VEwF3KHbmqRzHAclBs837BS6yvPdURtcLtTrfTytbr1W2q8d3Vi3FNFbiUj0QNLNOVjHZH3XTOG2JAu-a2d-YWo8iQFdu64XqitphKrkADk6Yn8h9Y/s1600/mail.png);
Masukan Kode ini di atas kode </head>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js'/>Yang Terakhir Masukan Kode Di bawah ini di atas Kode <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'>
<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>
Ganti # Dengan link kamu,,
4. Simpan Template Kamu
Selamat Mencoba
[./Good Luck] Label: Tutorial Blog
4 comments
good tutorial mas.....
seep ..
makasih atas Kunjunganya
mantap mas tutorialnya :)
ntar saya praktekan diblog saya
Thanks Visiting =))
Posting Komentar