AneDari kemaren-kemaren bingung nyari cara bikin menu kaya gini,keliling ke om google ngga nemu-nemu eh ane nemu di blog tmn ane,ane mnta
cara-caranya ngga di kasih maz bro,malah disuruh CTRL+U di blognya.weleh suruh nyari sendiri gitu scriptnya,akhirnya ane nemu tuh scriptnya dan mau bagi-bagi nih ma maz bro yang mau nyoba,kan jarang tuh menu kaya gini di blog yang lain.
OK deh langsung ja yu kita mulai cara-cara memasangnya.
- Biasa kalau mau edit-edit blog harus Log In dolo dong ke blog kita.
- Klik Rancangan
- Klik Edit HTML
- Jangan lupa centang Expand Template Widget
- Cari Kode ]]></b:skin> lalu simpan script di bawah ni tepat diatas kode tadi.
/*----------------
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/AVvXsEhtPEyRYUp5yIOwZx50Gfox9RgOIKlTRCp70_gBVlRgvMBHA94f-2EJi1_0CjuL-cfrGR_BWr6lmeq1hzS-lf2cNyCYpr4vnohj7YeqTYlxR8rkGoQkOkJDJENuKw2t9yYh0n4Lj2zrgD4/s1600/home.png);
}
ul#navixed .about a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5lNtfTYi-cb3Tnu6xHK6HkG4BP3ObcvkeeBIbhGIqXZgjetjioWePWq_F-zgXU4lFrvxTSEI0xZG0w_WaLWZPmFOmUbPMoBN3BrG-DxceQZXvMTMr8lWbb82bAaFf-rWemcltH1chqAk/s1600/id_card.png);
}
ul#navixed .search a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVL8FevpQo2lSdqbCjxm9U5Wr75pNia3Ku52Kn0V8ArjDZNX3mI-tRGlwkwckAKO3LZTSEgtlxs2_og2UJaD6EHWo6FZX44fMpoTk-Lc-lxVGXLfAF6BS2ECWVLoEo6oyfcbtHFnWL7X0/s1600/search.png);
}
ul#navixed .podcasts a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqQPvzGACbPkbVa5_YoTyrtvkBl2hpkj6Wm-ASb_crJgN7_bQJZV4cD5ePzUw-pAHlxWt2_SNgNKg5jIg5V_1e6BmcZD9xeM4OnSXB3iQiBPwGWlWCVS0mBPuS_hSgQG6uS-e6ZWE5Gd8/s1600/ipod.png);
}
ul#navixed .rssfeed a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2EmKpJHTlvFGsYf3u14dkg7daohyphenhyphenU_Kkgx_lFHY6Fmc_iiiYgaqQboDTHKanAR7x038J_dgXU-IsANt5ScPGJKFP0LFuBzggHhhBS2gS-poWbgvlQhNCD_7XTJ0s4yyC2_yc98lOr4hc/s1600/rss.png);
}
ul#navixed .photos a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwhMY0vA6Q48rkdjYGyokJG0ShWbglLL7PXy2qK8qHiAlYy4xMBgIxz_ofEPViO2BLS6wFh3-Pyzls2Cr0H-EdOGZsD3aoQ95d9dgIjdEmeDA5568LxCkqVPb2vtIMlGo-LlaVctWp8IU/s1600/camera.png);
}
ul#navixed .contact a { background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLTSwGXQTxlwhEvZA5KlJNUwMvNnjtRHF3_yyAaEte8-P5ahn-57oviM7zl2jgjkUbLRJti3UegZSieloifo0DFWafVtl2npdJj8thYURXvvyL4jvlryFdS-1GcLlwnym138Edmc0UiUw/s1600/mail.png);
- Cari Kode </head> dan letakan script di bawah ni tepat di atasnya
<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> - Ni Script yang terakhir dah cari kode <body> lalu COPAS script di bawah dan letakan tepat di atsa kode ini.
<ul id='navixed'>
<li class='home'><a href='URL_LINK_SOBAT'><span>Home</span></a></li>
<li class='about'><a href='URL_LINK_SOBAT'><span>About</span></a></li>
<li class='search'><a href='URL_LINK_SOBAT'><span>Search</span></a></li>
<li class='photos'><a href='URL_LINK_SOBAT'><span>Photos</span></a></li>
<li class='rssfeed'><a href='URL_LINK_SOBAT'><span>Rss Feed</span></a></li>
<li class='podcasts'><a href='URL_LINK_SOBAT'><span>Podcasts</span></a></li>
<li class='contact'><a href='URL_LINK_SOBAT'><span>Contact</span></a></li>
</ul>
Selesai dah tinggal simpen template dan lihat hasilnya.
Oh ya maz bro,supaya gampang nyari kode ]]></b:skin>,</head>,<body> silahkan tekan F3 atau CTRL+F semoga berhasil.
Kalau mau lihat hasilnya disini juga ada.
0 komentar:
Posting Komentar