Membuat Menu Horizontal Drop Down

by - Februari 28, 2012

Sekian lama gw gak ngeshare dan sekarang gw mau share tentang "Membuat Menu Horizontal Drop Down". Okay, kita mulai langsung aja.


Berikut caranya :



1. Loggin ke account blogger (www.blogger.com)

2. Pilih Design/Rancangan > Edit Html
3. Sangat disarankan untuk membackup Template dengan mengklik " Download Full Template "

4. Centang Expand Template Widget
5. Cari Kode Html  ]]></b:skin>
Tips : Jika kalian kesusahan dalam mencarinya cukup click " ctrl + f " itu akan memudahkan kalian untuk mencari sesuatu.

6. Copy Kode berikut :
#subnavbar {
                background: #ffffff;
                width: auto;
                height: 26px;
                color: #FFF;
                margin: 0;
                padding: 0;
    }
    #subnav {
                margin: 0;
                padding: 0;
    }
    #subnav ul {
                float: left;
                list-style: none;
                margin: 0;
                padding: 0;
    }
    #subnav li {
                list-style: none;
                margin: 0;
                padding: 0;
    }
    #subnav li a, #subnav li a:link, #subnav li a:visited {
                color: #000000;
                display: block;
                font-size: 11px;
                font-weight: bold;
                text-transform: uppercase;
                margin: 0 5px 0 0;
                padding: 6px 13px;
    }
    #subnav li a:hover, #subnav li a:active {
                background: #888;
                color: #FFF;
                display: block;
                text-decoration: none;
                margin: 0 5px 0 0;
                padding: 6px 13px;
    }
    #subnav li li a, #subnav li li a:link, #subnav li li a:visited {
                background: #666;
                width: 140px;
                float: none;
                margin: 0;
                padding: 6px 10px;
                border-bottom: 1px solid #FFF;
                border-left: 1px solid #FFF;
                border-right: 1px solid #FFF;
    }
    #subnav li li a:hover, #subnav li li a:active {
                background: #888;
                margin: 0;
                padding: 6px 10px;
    }
    #subnav li {
                float: left;
                padding: 0;
    }
    #subnav li ul {
                z-index: 9999;
                position: absolute;
                left: -999em;
                height: auto;
                width: 160px;
                margin: 0;
                padding: 0;
    }
    #subnav li ul a {
                width: 140px;
    }
    #subnav li ul ul {
                margin: -25px 0 0 161px;
    }
    #subnav li:hover ul ul, #subnav li:hover ul ul ul, #subnav li.sfhover ul ul, #subnav li.sfhover ul ul ul {
                left: -999em;
    }
    #subnav li:hover ul, #subnav li li:hover ul, #subnav li li li:hover ul, #subnav li.sfhover ul, #subnav li li.sfhover ul, #subnav li li li.sfhover ul {
                left: auto;
    }
    #subnav li:hover, #subnav li.sfhover {
                position: static;
    } 


7. Letakkan Kode di atas tepat di atas kode ]]></b:skin>
8. Cari kode </b:section>, lalu copy Kode berikut tepat di bawah kode tersebut

<div id='subnavbar'>
          <ul id='subnav'>
    <span style='font-weight: bold; text-shadow: 3px 3px 3px rgb(204, 204, 204);'><li>
    <a href='http://electricshare.blogspot.com/'>Home</a>
    <ul>
    <li>
    <a href='http://electricshare.blogspot.com/p/daftar-isi.html' target='blank'>Daftar Isi</a>
    </li>        
    </ul>
    </li>
     <li>
    <a href='#'>Read Free Manga Online</a>
    <ul>
    <li>
    <a href='http://mangastream.com/' target='blank'>MangaStream</a>
    </li>
    <li>
    <a href='http://mangafox.com/' target='blank'>MangaFox</a>
    </li>
    <li>
    <a href='http://Mangafire.net/' target='blank'>MangaFire</a>
    </li>
</ul></li>

<li>
<a href='http://electricshare.blogspot.com/p/software.html'>Download Software</a>
    <ul>
    <li>
    <a href='http://electricshare.blogspot.com/search/label/Software%20%28Tools%29'>Tools</a>
    </li>
    <li>
    <a href='http://electricshare.blogspot.com/search/label/Software%20%28Security%29'>Security</a>
    </li>
    <li>
    <a href='http://electricshare.blogspot.com/search/label/Software%20%28Multimedia%20n%20Design%29'>Multimedia n Desaign</a>
    </li>
<li>
    <a href='http://electricshare.blogspot.com/search/label/Software%20%28Musik%29'>Musik</a>
    </li>
<li>
    <a href='http://electricshare.blogspot.com/search/label/Software%20%28Intrenet%29'>Internet</a>
    </li>
<li>
    <a href='http://electricshare.blogspot.com/search/label/Drivers'>Drivers</a>
    </li>
<li>
    <a href='#'>Utilities</a>
    </li>
</ul></li>

<li>
<a href='http://electricshare.blogspot.com/p/terima-kasih-telah-berkunjung-pilihan.html'>Artikel n Tutorial</a>
    <ul>
    <li>
    <a href='http://electricshare.blogspot.com/search/label/Tutorial'>Tutorial</a>
    </li><ul>
    <li>
    <a href='http://electricshare.blogspot.com/search/label/blogger'>Blogspot</a>
    </li></ul>
    <li>
    <a href='http://electricshare.blogspot.com/search/label/Artikel'>Artikel</a>
    </li>
 
<li>
    <a href='http://electricshare.blogspot.com/search/label/Islami'>Islami</a>
    </li><li>
    <a href='http://electricshare.blogspot.com/search/label/NusantarQ'>NusantaraQ</a>
    </li><li>
    <a href='News|http://electricshare.blogspot.com/search/label/News'>Indo. News</a>
    </li></ul></li>

<li>
<a href='http://electricshare.blogspot.com/p/tv-online_26.html'>Tv Online</a>
    <ul>
    <li>
    <a href='http://electricshare.blogspot.com/2007/07/tv-one.html'>Tv One</a>
    </li>
    <li>
    <a href='http://electricshare.blogspot.com/2007/07/antv.html'>Antv</a>
    </li>
    <li>
    <a href='http://electricshare.blogspot.com/2010/12/tv-islam.html'>Tv Islam</a>
    </li>
<li>
    <a href='http://electricshare.blogspot.com/2007/07/live-tv.html'>Mivo.Tv</a>
    </li>
<li>
    <a href='http://electricshare.blogspot.com/2007/07/indowebtv.html'>Indoweb.Tv</a>
    </li>

</ul></li>
<li>
    <a href='http://electricshare.blogspot.com/p/buku-tamu.html'>PlayList</a>
    </li><li>
    <a href='http://electricshare.blogspot.com/p/daftar-isi.html'>Daftar Isi</a>
    </li>
<li>
    <a href='http://electricshare.blogspot.com/2011/01/tukaran-link-n-banner.html'><b>Link Exchange</b></a>
    </li></span></ul></div>

9. Silakan anda edit url dan title sesuai dengan blog anda.


Sekian Share saya kali ini. Semoga bermanfaat bagi kalian yang membacanya.

Let's Share Anything

You May Also Like

0 comments