Selamat pagi sahabat blogger kali ini saya akan memberi tahukan cara membuat Slide Navigation . Berhubung saya masih agak mengantuk langsung saja ke TKP tanpa banyak basa-basi :)
Cara membuatnya :
1. Login Blogger
2. Buka Daftar Entri
3. Template > Edit HTML
4. Lalu cari kode ]]></b:skin>
5. Dan copy kode berikut 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/AVvXsEh0Rl1DCmE3gIKB_8VqcNddFVAVl5frD2qoApTX7UWQXGCqBbGkhwB8BRunzu122uP0Fu-_064zF80OncL6YuBgrmb8W1UF5D0hPMIOhOXsG6lnTCZaUiwoVxRq9NncKQhKck_2KyTCC4Y/s1600/home.png);
}
ul#navixed .about a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCnKKiLMwxT6rZa8iGxJnai3NONxISPtORLoZBhgvVnSC-xQz-8uF9PTM-Z4G7-xFVih25GuBP2vGJ4lERPevHL8JconAGRYu-cI9wBY7t9f6OQEN3FgUIcpZzMrXGo2J0jsffFbZA3j8/s1600/id_card.png);
}
ul#navixed .search a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimwxzoUzrmbVJFtlxjT_szxN1ZaGnnTaKL3V6maZS-Y7RRlj0pDm_L6E-CajtAju3oX16DqRh93odhiVZ8W8jS4iGbSTPkE6VI7xhRlHjrkmg3R5YCJ0YSYgcCawPv4_uD1AXijuP4a-0/s1600/search.png);
}
ul#navixed .podcasts a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqwHNkoyBB8B0WDWcWU1Cslf7ieutFBhF0XMbtt9MlBa5d2z6f-OUC1i591DzAZqH8ndjaBghvGttL_gCymFJi_6M076GR6JQykx3-nt1Hz70S22EBXKJ_G9PRo0CTZBlgLWwhvB3pdpU/s1600/ipod.png);
}
ul#navixed .rssfeed a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCa5gDpN7ybzlxsnsFeA043h_vH_L6Hi_IMJJlt3MYmN4YS55MlDvkuwh8xaCDLuR1dw-6tyZBN4XZ2LCkKwxyEi1eNJ76WFIVBY2-vVNkL3yIYG7qBMyVyDivwwsJhvSH2W1v7TRPY5k/s1600/rss.png);
}
ul#navixed .photos a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiguARhPdIguKZsBWrxAFke_IXuz31UcL9xsI0k6ejesPLISAbyE2KSvij1dMPfce3Xee8i8gGW6LaRkvdswsAx8JXyKNnzYXTVzDwObQGVdDrEMyO9uwAdxtWYXYstTy4mNEvnk8LUf8g/s1600/camera.png);
}
ul#navixed .contact a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgImIiUNGoIlYZuzRIL960vB_Tqux0tFngboQGzdZf6_kpTvhTfj4-svTWKqUWWLroO-Rok3YEnUan0OgBhBgDrKeJLNfkXYi1PoRdfAvSJIvZHdKJrEcJ6QqH1EpUMmdSX8MWsY05fg9s/s1600/mail.png);
}
dan simpan script ini di atas kode </head> :
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js'/>
<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>
6. Dan terakhir cari kode <body>
7. Simpan kode berikut di atas kode tersebut
<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>
Selelsai lalu simpan template. Selamat Mencoba dan semoga bermanfaat
Home » Tips dan Trik Blog » Cara Membuat Beauty Slide Navigation Konten Lain di Sini
{ 0 komentar... Skip ke Kotak Komentar }
Tambahkan Komentar Anda
Terima Kasih Telah Berkunjung Ke Blog Sederhana Ini.
Silahkan Anda berkomentar di kotak komentar di bawah ini.
Mohon Untuk Tidak :
1. Berkomentar OOT (Out Of Topic)
2. Komentar mengandung SARA