Kamis, 15 Maret 2012

Cara membuat Menu Slide Out Di atas Navigator

 

 

1. Masuk ke Blogger

2.Lalu Ke Rancarangan lalu klik Edit HTML Cari kode ]]></b:skin> (cari dengan Menggunakan tombol F3)

3. Copy Script Di bawaH Ini lalu Pastekan Tepat di atas ]]></b:skin> kemudian di save

Copy Javascript:



/*----------------
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/AVvXsEjo44YB5Ta04SW7xCCrMXi1EmxbMe64_VWmsxrG_0UpMHb2WU11kTbbCWzCpheFjUDfpw4eUZlFVbqcxxZyggjU92nIzuLlvvnGwPHI25aYh3CR8sI6aOYnK2NUDbM7W3O-_6z6g2le1uQ/s1600/home.png);
}
ul#navixed .about a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOeG-vAh-StmgLRpdLHeX0ehYX8WgkRdZ5cvOZawL0p00LOI47oxu1S-YdhJ8Ax8-HQLzvYifJNhOh7J3XYbyhgV4kxCMVFkN28noJE0HbbXCvEzN0Tu_fgr0_e3NM8FtAdXTsUIr8bi4/s1600/id_card.png);
}
ul#navixed .twitter a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWDa06UQx3IJKXN_V1mqsVFrHEeXjsnR39OcQz7Zq8SYM9-UEs52slO7uypj8slGJJfU5MKRol2xKpQvYc1vsIn2fUglHt8-JFCbNS4KCvLF78n2wV-YviPJGR2wcR2zYP1IIgo_eT7Is/s1600/search.png);
}
ul#navixed .facebook a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPFLDVPAoSCH4aadQGJREgZy8hW1dr-gQlWqAW86ZECErVcXM5gUIakNZVwedKm2ZvFhrxJjQRycZekZDtV4T2UVQP5AJbLMXySfxq_XXTGKwRHi2LmD7uwa9yWZZyAuMFPD29YANzceI/s1600/facebook.png);
}
ul#navixed .login a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUmn9zodxsY72gpqDgN5WrQCe42Zd-e9iwDZhhJQXTnB_IeHqiDUwNyxDbma1DbVLPKwwZpnZCdfYXfdBWID7m9BjmNArtDKIB82VoNWmBiU9QMMNxRKKRaKxFhu3jw5cO-J7nIo3tDDg/s1600/Login.png);
}


4 kemudian cari Code </head> lalu letakan script dibawah ini di atas code </head> lalu Di save lagi

Copy JavaScript :

<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;
$(&#39;#navixed a&#39;).each(function(){
$(this).stop().animate({
&#39;marginTop&#39;:&#39;-80px&#39;
},d+=150);
});

$(&#39;#navixed &gt; li&#39;).hover(
function () {
$(&#39;a&#39;,$(this)).stop().animate({
&#39;marginTop&#39;:&#39;-2px&#39;
},200);
},
function () {
$(&#39;a&#39;,$(this)).stop().animate({
&#39;marginTop&#39;:&#39;-80px&#39;
},200);
}
);
});
</script>


5.dan langkah terakhir cari code </body> copy script di bawah ini lalu paste di atas </body>

Copy JavaScript:
<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>


Lihat Contoh Di http://cheat-megaxus.blogspot.com/

 

Tidak ada komentar:

Posting Komentar