Y sobat blogger smuanya .. kali ini saya akan memberi taukan cara membuat slide navigation .. karena ada yang mananyakan cara membuatnya .. Ok langsung saja klo begitu ..
[-] terakhir simpan cara pemanggilannya di atas kode <body>:
Code di atas adalah code pemanggilannya .. ganti font yg berwana Biru dengan Link" sobat" blogger .
Selesai Jangan Lupa Simpan Template ... Selamat Mencoba~Good Luck ..
Jangan Lupa berikan Commentnya juga .. comment sobat" sangatlah berharga buat saya .. :D
- Cara membuatnya :
- Login blogger
- Rancangan, Edit Html, Cari kode ]]></b:skin>
- Dan Simpan 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/AVvXsEjVM0FaZGvY6Ml_S1jCeYKXW1-fHU8ucIIqq1WzIsTINIk2c0Qq413PjBjuGaEcIPKac4CKOzpXjGy2nR6R8_5Ypf9P_dtk128_2q18gcG8i1RSmxbd0Xdh2QG8tSb3Xmtxs1YYPrrWXk8/s1600/home.png);
}
ul#navixed .about a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhN8QN0WPYqZSeVSNnI6fQbPROWntDuH1bHVOMktzqCsRgiRI6JS1b19W_ka_Gb4b2-0VgBrHd0m116EvQAJg985ICI7KXuwRYhIqCA-71Pd364jym8Xv-EuHUN1fFvaXH7KiuwB5ArIsY/s1600/id_card.png);
}
ul#navixed .search a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8EzU0C-v3-oijioNRnT6avmsaVWQEq8NerDfyuICI_k3iRwDKzFg2GOfyAiWnYvGibftjC4P_GKWiZ2tryvUZOjO6Cdu_mGFJrkLY8La4PrQh0XUOJYz20lmbFfLhPamgzFWeY83BEmc/s1600/search.png);
}
ul#navixed .podcasts a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW2a_LrZdVVLcF2RJq9toaK0SXWQ087RoKVONY7WZTYY1i2A5qzFJ6jPM6ZJt_L8Wb3WF0dCeXTVwSX0AsEMYIK-YekaCGwyda77-qiBLocCpo0G01Nw0ZGR9oDt6_YUW75Tb0HRkpKSY/s1600/ipod.png);
}
ul#navixed .rssfeed a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_Ddkj3z4h6a3UfyhWua-IEpgRDu8HwowMg1kcQaKxltMVy-hbqCRjfV-G-G3N1ULYPObncLMBLGXZTUYImAC0i9yXmhS0ZjVZHB6YeXekJTks53XQ8ZOpLRbfj5GyY5KkFvkhOhoysvI/s1600/rss.png);
}
ul#navixed .photos a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgo5xNhhYvCvaywxS2p5Y3Gr1styRz1-yuTy9bAfCg5bp_ZO46gCFiYsjUb_Rn4x8zJnp5WSBAh1OVlc25NRgYTOLfJu7BrMVNK-5uDlixDhYES7y5_lfZ9N6reRXLeULvhf46TnvU9ypk/s1600/camera.png);
}
ul#navixed .contact a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQVnFAxV6in3FcqYeFNGxIGc075R9ChrPv0dLxQR8dze_5ybZcmv7Ub1j97wFnhTKdJWlzU69J5SQQ2aoEG-iJErdhIVe-RYGPwr-8bf_BXdadvYHnu0mOgy-nwok2kIS8528vxzhCEII/s1600/mail.png);
}
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/AVvXsEjVM0FaZGvY6Ml_S1jCeYKXW1-fHU8ucIIqq1WzIsTINIk2c0Qq413PjBjuGaEcIPKac4CKOzpXjGy2nR6R8_5Ypf9P_dtk128_2q18gcG8i1RSmxbd0Xdh2QG8tSb3Xmtxs1YYPrrWXk8/s1600/home.png);
}
ul#navixed .about a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhN8QN0WPYqZSeVSNnI6fQbPROWntDuH1bHVOMktzqCsRgiRI6JS1b19W_ka_Gb4b2-0VgBrHd0m116EvQAJg985ICI7KXuwRYhIqCA-71Pd364jym8Xv-EuHUN1fFvaXH7KiuwB5ArIsY/s1600/id_card.png);
}
ul#navixed .search a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8EzU0C-v3-oijioNRnT6avmsaVWQEq8NerDfyuICI_k3iRwDKzFg2GOfyAiWnYvGibftjC4P_GKWiZ2tryvUZOjO6Cdu_mGFJrkLY8La4PrQh0XUOJYz20lmbFfLhPamgzFWeY83BEmc/s1600/search.png);
}
ul#navixed .podcasts a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW2a_LrZdVVLcF2RJq9toaK0SXWQ087RoKVONY7WZTYY1i2A5qzFJ6jPM6ZJt_L8Wb3WF0dCeXTVwSX0AsEMYIK-YekaCGwyda77-qiBLocCpo0G01Nw0ZGR9oDt6_YUW75Tb0HRkpKSY/s1600/ipod.png);
}
ul#navixed .rssfeed a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_Ddkj3z4h6a3UfyhWua-IEpgRDu8HwowMg1kcQaKxltMVy-hbqCRjfV-G-G3N1ULYPObncLMBLGXZTUYImAC0i9yXmhS0ZjVZHB6YeXekJTks53XQ8ZOpLRbfj5GyY5KkFvkhOhoysvI/s1600/rss.png);
}
ul#navixed .photos a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgo5xNhhYvCvaywxS2p5Y3Gr1styRz1-yuTy9bAfCg5bp_ZO46gCFiYsjUb_Rn4x8zJnp5WSBAh1OVlc25NRgYTOLfJu7BrMVNK-5uDlixDhYES7y5_lfZ9N6reRXLeULvhf46TnvU9ypk/s1600/camera.png);
}
ul#navixed .contact a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQVnFAxV6in3FcqYeFNGxIGc075R9ChrPv0dLxQR8dze_5ybZcmv7Ub1j97wFnhTKdJWlzU69J5SQQ2aoEG-iJErdhIVe-RYGPwr-8bf_BXdadvYHnu0mOgy-nwok2kIS8528vxzhCEII/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>
[-] terakhir simpan cara pemanggilannya di atas kode <body>:
<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>
Code di atas adalah code pemanggilannya .. ganti font yg berwana Biru dengan Link" sobat" blogger .
Selesai Jangan Lupa Simpan Template ... Selamat Mencoba~Good Luck ..
Jangan Lupa berikan Commentnya juga .. comment sobat" sangatlah berharga buat saya .. :D
0 komentar:
:a: :b: :c: :d: :e: :f: :g: :h: :i: :j: :k: :l: :m: :n: :o: :p: :q: :r: :s:
Posting Komentar