Artikel Terbaru :

Sabtu, 05 Maret 2011

Membuat menu dropdown Horizontal

Apa saja yang harus dilakukan untuk meletakkan menu drop down tersebut dalam template Anda ?
Silahkan Anda ikuti langkah-langkah dibawah ini :

1. Masuk Ke halaman Dashboard - Tata Letak - Edit HTML.
2. Jangan Lupa untuk 'Download Template Lengkap' untuk mengantisipasi terjadinya error pada template Anda.
3. Copy kode di bawah ini dan paste tepat di atas kode ]]>

#catmenucontainer{
height:33px;
width:1000px;
margin:0 auto;
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjgOKhfVWnod4Gwq79JAy9mvVA4-7TEbIxadV2rCrLssvLDHY8fL-jjL9RxI005BDShIbPYbgD4eeJEcKkRJPU4gqm-r6A4OHgYuAoh0nyw71le4Zka4FGozM8CblN0lDbAeg3yuIh_vMi/) repeat-x;
display:block;
padding:0px 0 0px 0px;
font-size:12px;
font-family:"Segoe UI",Calibri,"Myriad Pro",Myriad,"Trebuchet MS",Helvetica,Arial,sans-serif;
font-weight:normal;
border-top:1px solid #252424;
}


#catmenu{
margin: 0px;
padding: 0px;
width:1000px;
background:#252525 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjgOKhfVWnod4Gwq79JAy9mvVA4-7TEbIxadV2rCrLssvLDHY8fL-jjL9RxI005BDShIbPYbgD4eeJEcKkRJPU4gqm-r6A4OHgYuAoh0nyw71le4Zka4FGozM8CblN0lDbAeg3yuIh_vMi/) repeat-x;
height:33px;
}


#catmenu ul {
float: left;
list-style: none;
margin: 0px;
padding: 0px;
}


#catmenu li {
float: left;
list-style: none;
margin: 0px;
padding: 0px;
}


#catmenu li a, #catmenu li a:link, #catmenu li a:visited {
color: #fae7df;
display: block;
margin: 0px;
padding: 9px 10px 10px 10px;
}


#catmenu li a:hover, #catmenu li a:active {
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdJx3KeqVK5QCOjVMBbS579sh4pnl9nMtUWxdtvjqcVvRJEvSnKkWOnUjueDzpu-I0pw9K0Duqxnt4I3w27XvG5JOcJbaBf5vPN-392dDllA61XQzj3OMPmMNK1n06EKYyT5JyMmXprdPl/) repeat-x;
color: #fff;
margin: 0px;
padding: 9px 10px 10px 10px;
text-decoration: none;
}


#catmenu li li a, #catmenu li li a:link, #catmenu li li a:visited {
background:#ED4A05;
width: 150px;
color: #fae7df;
font-family:Tahoma,century gothic,Georgia, sans-serif;
font-weight: normal;
float: none;
margin: 0px;
padding: 9px 10px 10px 10px;
border-bottom: 1px solid #FF7800;


}


#catmenu li li a:hover, #catmenu li li a:active {
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdJx3KeqVK5QCOjVMBbS579sh4pnl9nMtUWxdtvjqcVvRJEvSnKkWOnUjueDzpu-I0pw9K0Duqxnt4I3w27XvG5JOcJbaBf5vPN-392dDllA61XQzj3OMPmMNK1n06EKYyT5JyMmXprdPl/) repeat-x;
color: #fff;
padding: 9px 10px 10px 10px;
}


#catmenu li ul {
z-index: 9999;
position: absolute;
left: -999em;
height: auto;
width: 170px;
margin: 0px;
padding: 0px;
}


#catmenu li li {
}


#catmenu li ul a {
width: 140px;
}


#catmenu li ul a:hover, #catmenu li ul a:active {
}


#catmenu li ul ul {
margin: -34px 0 0 170px;
}


#catmenu li:hover ul ul, #catmenu li:hover ul ul ul,
#catmenu li.sfhover ul ul, #catmenu li.sfhover ul ul ul {
left: -999em;
}


#catmenu li:hover ul, #catmenu li li:hover ul,
#catmenu li li li:hover ul, #catmenu li.sfhover ul,
#catmenu li li.sfhover ul, #catmenu li li li.sfhover ul {
left: auto;
}


#catmenu li:hover, #catmenu li.sfhover {
position: static;
}

4. Setelah itu copy kode dibawah ini dan paste tepat dibawah kode <div id='content-wrapper'>  

<div id='catmenucontainer'>
<div id='catmenu'>


<ul>
<li><a href='http://NAMA LINK BLOG ANDA/'>Home</a></li>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-1</a>
<ul class='children'>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-1-1</a></li>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-1-2</a></li>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-1-3</a></li>
</ul>
</li>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-2</a>
<ul class='children'>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-2-1</a></li>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-2-2</a></li>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-2-2</a></li>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-2-3</a></li>
</ul>
</li>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-3</a>
<ul class='children'>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-3-1</a></li>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-3-2</a></li>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-3-3</a></li>
</ul>
</li>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-4</a></li>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-5</a>
<ul class='children'>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-5-1</a></li>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-5-2</a></li>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-5-3</a></li>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-5-4</a></li>
</ul>
</li>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-6</a>
<ul class='children'>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-6-1</a></li>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-6-2</a></li>
</ul>
</li>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-7</a></li>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-8</a></li>
</ul>


<div style='float:right;margin-right:20px;'>
<a href='http://feedburner.google.com/fb/a/mailverify?uri=pbtemplates'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkY9isB1RuSAZWw0MOg6Xumb2RiB_YR7X4MsVii6cpB8Ty2UYsXi1fBb65UREwBjOSJvFaWn-EPrFVBD460IzMinW8EYLvUgzaIexAJ1uXmAdJoge3vKmD-uqFKQz_2QnrCg4m8R5t4zCx/'/></a>
<a href='http://feeds.feedburner.com/pbtemplates'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJHRYifZQk8BO7mCoGlm9ZjKz1nqD3HYbh6rrvZNQl1yfpPNc5VI2c9poL6ZF6IcK8pOlhVkJLAVA27HGjadvtw3Nkc5cpVMLGpY1VVPY79bRRm4cO1skSVWFL5ZGX6l2bSbExXSbPtmRz/'/></a>
<a href='http://www.twitter.com/btipandtrick'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiT-zoDUqc9fbFL3Xh9_L5EfcvB4hqu2aGbLsdQnf3fffgWm0gtWBqVeJzjs0jWtHn-ws3jaLWX-Q7nVsHdSRHUicJUziArRNCmn6bUZF4qLf91bOkbdkV87TPGlKf7sZh7Mv7OYLSEeU5X/'/></a>

</div>


</div>
</div>


<div class='clear'/>

Selesailah sudah, jangan lupa untuk Simpan / Save Template Anda serta Lihatlah Hasilnya.

0 komentar:

Posting Komentar

Terima kasih Atas Komentarnya.

Pasang Iklan Anda Di Sini

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | coupon codes