Sabtu, 22 September 2012

Cara membuat menu header Drop Down di blog


1. Seperti biasa login dulu
2. Pilih rancangan / design dan klik edit HTML dan lanjutkan
3. Centang "Expand Template Widget" agar tahu apa kesalahan saat menaruh HTML + tekan CTRL+F agar         mudah mencarinya
4. coba cari kode ]]></b:skin> dan letakkan kode berikut tepat di atas kode ]]></b:skin> 

/* Menu Horizontal Dropdown ----------------------------------------------- */ #menuwrapperpic{background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxn-jvHDlyEd6SMAXXHMXar4Yo5C3GnPauy_-p_5OEk8Zw9wM8bX0UfuI9CiBXELIkUTcY3vLidBYgEKwRwAFxnl0j9p5Y1v44NlpYpKDTZnhXfYQmWXmACaPxfwiymQpxXTGr75TM0QY/s1600/menubar.png) repeat-x;width:960px;margin:0 auto;padding:0 auto} #menuwrapper{width:960px;height:35px;margin:0 auto} .menusearch{width:300px;float:right;margin:0 auto;padding:0 auto} .clearit{clear:both;height:0;line-height:0.0;font-size:0} #menubar{width:100%} #menubar,#menubar ul{list-style:none;font-family:Arial, serif;margin:0;padding:0} #menubar a{display:block;text-decoration:none;font-size:12px;font-weight:700;text-transform:uppercase;color:#CECECF;border-right:1px solid #191919;padding:12px 10px 8px} #menubar a.trigger{background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqS2Zp9i87eSJS_iUxIUFxMBJkeSjKYOU9uwcpzfB0HTl-g9M9lRfQgUJ5MQVL5bGpTO4y-VKeB8kIadRcX7geOJx2A87AVwm5eMAobpfT6BinwSNkfqmdjj_oyMJ1FEca0Yb7GIpqepo/s1600/arrow_white.gif);background-repeat:no-repeat;background-position:right center;padding:12px 24px 8px 10px} #menubar li{float:left;position:static;width:auto} #menubar li ul,#menubar ul li{width:170px} #menubar ul li a{text-align:left;color:#fff;font-size:12px;font-weight:400;text-transform:none;font-family:Arial;border:none;padding:5px 10px} #menubar li ul{z-index:100;position:absolute;display:none;background:#222;padding-bottom:5px;-moz-box-shadow:0 2px 2px rgba(0,0,0,0.6);-webkit-box-shadow:0 2px 2px rgba(0,0,0,0.6)} #menubar li:hover a,#menubar a:active,#menubar a:focus,#menubar li.hvr a{background-color:#222;color:#E98C0A} #menubar li:hover ul,#menubar li.hvr ul{display:block} #menubar li:hover ul a,#menubar li.hvr ul a{color:#edfdfd;background-color:transparent;text-decoration:none} #menubar li ul li.hr{border-bottom:1px solid #444;border-top:1px solid #000;display:block;font-size:1px;height:0;line-height:0;margin:4px 0} #menubar ul a:hover{background-color:#555!important;color:#fff!important;text-decoration:none}


Lanjot para blogger cari kode berikut:
  • <header>  : untuk menempatkan menu di atas nama blog
  • </header> : untuk menempatkan menu di bawah nama blog

Copy kode di bawah ini dan letakkan tepat di atas kode <header> atau di bawah kode </header>
<div id='menuwrapperpic'>
<div id='menuwrapper'>
<ul id='menubar'>
<li><a href='/'><img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNWUJIipTWCZDb7PwIj8NWaitoxPtho0MOoOR1jddf3e8KOeqGiYLZSX9t76dfM91tjIS0OLZyzJPNctJ1eFvqGVNcG7VwqSIIYuUZPVfWpPl48gxe-AxHNLdSX-6ggOcgBRFSS1Wfcvk/s1600/home_white.png' style='padding:0px;'/> Home</a></li>
<li><a href='http://www.blogger.com/profile/01581899184421321996' target='new'>Tentang Admin</a></li>
<li><a class='trigger'>Kontak</a>
<ul>
<li><a href='https://plus.google.com/u/0/109679830060390964684/posts' target='new'>Goggle +</a></li>
<li class='hr'/>
<li><a href='https://www.facebook.com/Zubairi.Rakhman?ref=tn_tnmn' target='new'>Facebook</a></li>
</ul>
</li>
<li><a class='trigger'>tips dan trik</a>
<ul>
<li><a href='http://blengsharing53.blogspot.com/search/label/Tips%20and%20Trick%20Symbian'>Symbian</a></li>
<li class='hr'/>
<li><a href='http://blengsharing53.blogspot.com/search/label/kumpulan%20Savean%20Game'>savean game offline</a></li>
<li class='hr'/>
<li><a href='http://blengsharing53.blogspot.com/search/label/Blogger'>blogger</a></li>
<li class='hr'/>
</ul>
</li>
<li><a class='trigger'>Games</a>
<ul>
<li><a href='http://blengsharing53.blogspot.com/search/label/Rom%20GBA'>Rom GBA</a></li>
<li class='hr'/>
</ul>
</li>
<li><a class='trigger'>Aplikasi</a>
</ul>
</li>
<li><a class='trigger'>Multimedia</a>
<ul>
<li><a href='http://blengsharing53.blogspot.com/search/label/Delphi%207'>Delphi</a></li>
</ul>
</li>
</ul> <div class='menusearch'>
<div style='float:right;padding:8px 8px 0 0;'>
<form action='http://blengsharing53.blogspot.com/search' method='get' target=''>
<input name='sitesearch' style='display:none;' value='http://blengsharing53.blogspot.com'/>
<input id='search-box' name='q' onblur='if(this.value==&apos;&apos;)this.value=this.defaultValue;' onfocus='if(this.value==this.defaultValue)this.value=&apos;&apos;;' style='width:170px;border:none;padding:4px 10px; font:italic 12px Georgia;color:#666; background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhB58Qz_lIhsL4n1ytM9v50XsvjOduXXUbckjhCQVoNAgEZbf52A1nwwCuyaRPgt9_mpADcypSk92s25HAIPh-s98VYiXREkX679mYERUQ7N8AQN7sqy7aF2XWVbYB4rYWvBo4ImBEDCVY/s1600/field-bg.gif) no-repeat;' type='text' value='Cari disini ya sob...'/><input align='top' id='search-btn' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJ6s54aDMLTN5nyIqXPA3fvnvhK7TafBtjJoEZ1X0VBt1nYzT2HoQQLdPDV4ODJCQ7pa8e4ib5ZXwMzDHG1a6IR9r2eDXX3gciT0qhRFm49VxHlwNpok3K4rr4iu92rWd0dRUQguE-jRI/s1600/bg_search.gif' type='image' value='Search'/>
</form></div></div><br class='clearit'/></div><div style='clear:both;'/></div>

Keterangan:
  1. Kode berwarna merah adalah Url tujuan, silakan anda ganti dengan Url tujuan di blog anda
  2. Kode berwarna kuning adalah kalimat yang muncul saat menu dropdown, Silakan sesuaikan.
  3. Nama label berwarna Biru nama label yang di drob down
 Bila ada yang salah tolong beri tahu di komentar ..Selamat mencoba ..

Tidak ada komentar: