MENU TERUTORIAL ADVERTISING YOUR ADS

How to Create a Beautiful Slide Out Navigation

To complete my first post on the horizontal menu for this time I will add another horizontal menu with the navigation that comes with the image, may be mentioned more modern than I post navigation menu first:
How to make:
1. Login blogger
2. Design, Edit Html, Find this code ]]></ b: skin>
3. And Save the following code above:


/*----------------
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/AVvXsEhlJcoc18FYYDwedIOs6Vfhsz3swrtQKiBR7mNMF0Jzsu5AuuFNtAe3eAMcUD-5e-c5YTStsSIJ6-ZYbUzsWgBGQ_4Mi7ji0nddd7XJSE9hklpiGqw1aKcefpWCPhY0eq4UX1cjtdBA8GI/s1600/home.png);
}
ul#navixed .about a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGJeQSsVYwPGQUPU9KNkMVVPQ0DEGDtlm0inVatvchiifec7_E-9wFe8dOdhaqdgiQZrhTNvyZmuQVIq70lJ1l43SYYBIyqNOV7mdrMJByjeG2dss1rzcMOXfdutLQb4WRgCqU-lFLshY/s1600/id_card.png);
}
ul#navixed .search a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixMKDrs9xHiub8jn-MNers0cgNpzF5WRwjeaFEWerB8-dgVWVJAisLGKYiaA8gQU3PRDlfDhvqHFt_hHb05v8OqG79bZ_90MsTZEvoB2IQTAeFlbf_Si-QtFO-rVEOHRXGBrvA3TbOWpQ/s1600/search.png);
}
ul#navixed .podcasts a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgn7rS5F28VdKIO5jflamLCx7QsMOyS0bARFeXhB4xA5KqWduaz9Q_E6jaZN_JQ6jqygBGtvXQ0oI6RH-_wfNCGIgxji_nHw1Yy9dcr9RROghqUt06XNW2wj6AtZOIKM-KzrZ8y-Ovnyws/s1600/ipod.png);
}
ul#navixed .rssfeed a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCZGn7At5X-IUIz_5zbDQ20us3cViVV4aj-jIjBNdBFm07swjYYEpdd20BfxK8rBqpxzEw8C8yvtw2GkBCYKFNndwLz5t9jF82wpsfbAK0O7COzXHfoyjk2bGDk02Bt84xWGe862CGvho/s1600/rss.png);
}
ul#navixed .photos a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7BzFh5NM1QsdCLXUEsWaBNsfwN2mIMO4QTIaOimWcz3cF5npXfT_ODTKP8zCLRsbH50TjTxoEqzT8DE0EHIM_QhKvOgRuSa810S_eqtd6mxhMyOBdrpzQNA7pdhRvX_ziOW5Wzt1eB2Y/s1600/camera.png);
}
ul#navixed .contact a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkRD5lm3vtv0WUkd1_UKcbf4FKjZyh20XHnkZBPDMf_a1ecHWwNWHIHuL4-vrJ0iSVDwY-5MPbiIaLAt_rLYfd5rHQpGPszgu2qVN-O_BeBQm5JmLVl-5Ixbiq82F28PCnw3nDCf2wn84/s1600/mail.png);

4. Then the Search Code </ head> after copy the script below meet the above code </ 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> 

5. Finally save the way his calling above code <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>

information: please replace # with the links you want

0 komentar:

Post a Comment

Thank you for your visit and comment hope this blog can be better