• Home Home
  • Buku Tamu
  • Kontak
  • Fb
  • Download Theme Blogger
  • Versi Mobile

:D

THIS BLOG HAS BEEN HACKED :D


#YOSH24


Thanks for Quest

I WIN


#HackerIndonesia

cara buat Beautiful Slide Out Navigation

"fv aRhy" 12 Apr 2011

Demonya bisa dilihat disini








    Cara membuatnya :
  1. Login blogger
  2. Rancangan, Edit Html, Cari kode ]]></b:skin>
  3. 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/AVvXsEjQAMkRPR-5RnxYu9ReBtfNqky3vLSH75tGg1JgB6cg6IG_ygR1p6VpzwsjW9IkWrdfOK223TmpZXWq-E2GsFfAIoksG3HZEhwpvS9XqOBojr3Vi1LEEOAbWaoh4uONPmrdFvvYGTmrJeQ/s1600/home.png);
}
ul#navixed .about a      {
    background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaMOffm5s02fhBIg993WN7T4zvCgN4jmyDbY8RikXbhFFLHJlViKfnI9EMgbgaaEsmORTHaTKOHh9wCUtupIjlE5tZVrYUNa9KiaYMSdTlRyWzpqRZpWrjvjk4b-V5rcZWBZ9ObEjRn6Q/s1600/id_card.png);
}
ul#navixed .search a      {
    background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQUzn0ADoBuxU7rIldyDRuIm1BAH4vowYweiAUw_FmNRhEwgL5QRnhIkTSPLYIrI7CRhR4pUbxmxI9hVb_pglZAq0Dq9To-f5IlfnvKW5BP7XHooyMxvoNJPSJ0Fv9bCvPDzU8TMJnCbk/s1600/search.png);
}
ul#navixed .podcasts a      {
    background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjw6JX5dry0xNoVCpL6DOUDSij7TY73jzxCo2HkqJWZf_iSlFZA8kJLx9dnyG_cjOa01P6NAbeblhDJ7cK2ROc65Pqu4gPjhXRmzkhrbpNMftjXHfHb6E2CY0817sKnIMP6kVVzRny0FXw/s1600/ipod.png);
}
ul#navixed .rssfeed a   {
    background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjti2HNBfzaKpn6nNSCZ_20WpDgqmimI7xRrYcfViAAPUz-4HOtP9xgW2nK34pugd3uBapkkQvtd0iNOEiQQ7tFckNYx-SfXWjPonaanTa4y1ofGGrJQyYJ9pj6jSN0_a4uRkIICd6YyvI/s1600/rss.png);
}
ul#navixed .photos a     {
    background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-HM5s4HUUjBIoiDAzuQM1WSe3EaufmLFaoV5BK6waY0uBOgtI-V1nPcgeh4UsdHbSdr7Jmyc9M_vt9KZR3W_RG-GFv8IjaqEYCKlOnBJu_rVoDPjSnSiNMrekmDkpTixPqdsNOMTRnDE/s1600/camera.png);
}
ul#navixed .contact a    {
    background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYLi-xsiXt85NNRm1WGMEXzlwfrNBtKeSLbtW9bu8gmMl37h5aMIEOSeCdyZxTml2rZxaVsjmsN3NgGqX4iRLSTTqlWL_oWFPdoFUvVy_7HNU5uP5Be0LPSH8Par8VX64P8xXP-Retgqk/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;
                $(&#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>

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>

selesai... jangan lupa simpan template......

Posting Komentar

blogging tidak ubahnya dunia offline, banyak hal yang harus anda pahami. jangan menerima suatu informasi dengan apa adanya. blogger yang maju selalu kritis terhadap apapun,,,salah satu caranya dengan berkomentar..