Beautiful Slide Out : Tutorial



    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/AVvXsEjwdWf_5IE8V0xq40ZaTYzI3SsivD2kc2tTGGSCInhbNa2Gfd4YYKIRi1kaE0gF7ioRbm0ZiRCci4f8u6hyO6nnkRsU1siLMFZGzAvZAX0Qh_RCp9b5KGnX5WAdxJK9ueoqixZ5duTgckE/s1600/home.png);
}
ul#navixed .about a      {
    background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifyO3kxyePP5Wh1EtfNmc_gbaghJBIVNuxY6QWmjMqtcZdYJprmVB82bkfMYqW3Wiq7OBoCZhYYArQSyAimXcJUo606CC4sDjIKr7B0EQDiqABJd1r0y_8vqxd73GDwoUNKpE1opzQCiw/s1600/id_card.png);
}
ul#navixed .search a      {
    background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2PN2pWf-17-6mTvs3TpY2y0xKnq1AD3QEv8zzvbOARc_mSV0OSBTYJjX936Ptrkw-80mk5MoIBc81gGsouvL1x2VnSQA9UG82qC_4HW8Ko8LWJexed5QRVcZyo-0l1JZpWA1vLHa0Ol8/s1600/search.png);
}
ul#navixed .podcasts a      {
    background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6yQrB4wTE9mqMr-VaA55ljo9DYDDSyPaE4Z5a5VLiHBg5ANK0Anx1RkwHQlTB_KA7sO0TGRTlLMVi6N9UxaDBql7aSL1sJLFk-udQi7FLwHkpTCdgeYxnV8u084QUA8tESFEy5sFbNfE/s1600/ipod.png);
}
ul#navixed .rssfeed a   {
    background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhakaOS_OS4lDZW6Vi7s7k2PMnAdFAofOH8jBHj0_9QEoq4Q8C2vBPfEPZqfu2_i0UDCf_oEtegnW2NDbvCsy48rrO4ZrkoYbP96bLbwfKqHdAEw7O4HWEwoRgdoaW-nn-Hktfy8U1-fKw/s1600/rss.png);
}
ul#navixed .photos a     {
    background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjABEukWk568VObZF4IYPRw5NnlDRXHGszM6ZlGprva4DC4G23-hRPkjKrdm1qVbDxtsFZvu-wyyuh4hsQLk0MwRwWtgPMSUCCUIhuahgmP6Jo4uzMnc7KQvvMtQ01-X3qwhrLXbKFe6B4/s1600/camera.png);
}
ul#navixed .contact a    {
    background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2evZQhRhF2R_784whUT6cToJRTL99YEUb273_ABI5v61DxSZ_lXGB_pA4nMHMhFdgCahKuklBl15MMi57Ks2rjavc95jPTwr7XXKGRS4-AFTZv5feo7v5EFi9otZiQeyuerCuUgTRxvE/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...... 

Anda sedang membaca Artikel tentang Beautiful Slide Out : Tutorial, jika Anda menyukai Artikel di blog ini, silahkan masukkan email Anda dibawah ini untuk berlangganan gratis via email, dengan begitu Anda akan mendapat kiriman artikel baru.
Share this post
  • Share to Facebook
  • Share to Twitter
  • Share to Google+
  • Share to Stumble Upon
  • Share to Evernote
  • Share to Blogger
  • Share to Email
  • Share to Yahoo Messenger
  • More...

0 komentar

 
© 2014 - 2015 Cyberdark Blog
Designed by CyberdarkBlog Cooperated with Duy Pham
SMPIT Al - Masykar Bina Insani
Like FP Cyberdark Blog yah