Beautiful Slide Out : Tutorial

Posted by Unknown Sabtu, 10 Maret 2012 0 komentar


    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/AVvXsEixKAnLiPZ5hLa4P_8YpOj0FYdh-zBaKE1bjc2tH6zBYucG4vvMq9czIYo3CayaDqhIQX-U-k48VprspTXNyMQk08F49HMa_IuTjTnqJgMAqXhqLisd4zWmlAZS_5Lzwea490whua1UwNc/s1600/home.png);
}
ul#navixed .about a      {
    background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwCWtgmq2fK-IyDNN9cNcgpUU83J478bSPjWa0CPH6_dNZtC57gKNzsXz3mxT2T_hW5Qnt8OldVN9VAAIkVOO3PWH0ooEUw_ABnIU2Arzy3lJJsk9qnFaPOcoZVIEKKuWKUxOQN7Frlfg/s1600/id_card.png);
}
ul#navixed .search a      {
    background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhq8vEosUAD9qXPToJOSPo7GvRhN7bYNaWQPyXc9-G4Ci0uojBzdKfmsGaGxpT98Wajv13bDtDiVUq2nGI5dGLdG6DsXbUsEx2-EwFDJ0Tnld0byLma6gz5cP64n5sPaqneBlXiQi__Exk/s1600/search.png);
}
ul#navixed .podcasts a      {
    background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9Yl6TyhyPZ5h3NhR_pZjTUKX0BhN-D9aUtJLCdZ1V_DPZ2Y4Qpli8FR9SGcixxDLOyBEYPLlU2ooOLmG8eztS-8I7GfowSTGzwKo-dPW8ZRIAymuZMzKK4LCl-nJngHtddpm5B_VpALE/s1600/ipod.png);
}
ul#navixed .rssfeed a   {
    background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-U6DSn71UEsJtwE80EZp-4vvcMGemE4kPDw_Tb1800o8MQeO_LL7goe6Q81ragw1D7BImO_m_B_cKm_Bt9MX0dT_NlvzBFUuUudVou5aRUKMd7WUQyaug8V1iA3uilNvJbg9imajUzuc/s1600/rss.png);
}
ul#navixed .photos a     {
    background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitRtf5R-TG_fVfpx9pb_mXoFaBdlhyphenhyphenoB5MztUx_qFg3sv8be1bEGcgsgMYBK9iYoDQLOLY-rTB3OR6LWz_-nryT6QtcgpobmGg4cVVhH2bzcs-OU-ULLlgzyQFwJuWdblQy9HEd9jzzQo/s1600/camera.png);
}
ul#navixed .contact a    {
    background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3gjQLXQk6t8EnPO37WL7TBgKT2FGPbCwOReTfrL_Y2cU28z0qXXfMH6HcjYDmzB2_ukiGgy0YpsAXhn2vw7EFEg1VhaXGRZCp_riHtOmXo96oprk75bOL0uBgIL1PVi6k9lqtQLtB65I/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>
ket : silahkan ganti # dengan link yang anda inginkan

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

TERIMA KASIH ATAS KUNJUNGAN SAUDARA
Judul: Beautiful Slide Out : Tutorial
Ditulis oleh Unknown
Rating Blog 5 dari 5
Semoga artikel ini bermanfaat bagi saudara. Jika ingin mengutip, baik itu sebagian atau keseluruhan dari isi artikel ini harap menyertakan link dofollow ke https://samsung-batteris.blogspot.com/2012/03/beautiful-slide-out-tutorial.html. Terima kasih sudah singgah membaca artikel ini.

0 komentar:

Posting Komentar

Trik SEO Terbaru support Online Shop Baju Wanita - Original design by Bamz | Copyright of samsung galaxy battery.