Cara Membuat Menu Drop Down Di Atas Header Atau Di Bawah Header

Cara Membuat Menu Drop Down Di Atas Header Atau Di Bawah Header:

1. Seperti biasa sobat harus login dulu di akun blog sobat
2. Pilih rancangan / desing dan klik edit HTML dan lanjutkan
3. Centang "Expand Template Widget" untuk menghindari apabila terjadi kesalahan
4. Sobat 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/AVvXsEgQ8E14mIrRPEhrAzs6xE7R0ZOk6WhaNxNpZjNaWGM3BOKQAWKe2ezSz_Rd3wdy35LF2bkg2rs6crZB8MV24gWEJotOMmbU0ZtkygyuW3r8Ks31hg30JptUUC5UcOfnvjzn9GbanFMk8Kk/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/AVvXsEiq_Xzh4Jbeb7yPsf0wsdxRsmyySpJIRLL7_xzZSD6z-NIw5NQupD53EJrAOFvx2u8BR7GT4YbA2cPlB097QXm37uZz8WS_n8uLxDOKaHYnTIWnFZmjyf_17aWYfayd3xZNvBs16yXYi1c/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}



Selanjutnya sobat 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/AVvXsEhaWszZ1Lg1HIh2mPjr9S8Dnbd5JNE0sKX05XqtKsscNPZQ26b0mU562QQnSsdrr9A0v6qpLp6RBRC1_Mgb0l2563TvObugWpfgrC20UbzV9eHDcm0L2-XlMbOTmRrh7IjXGGWTeX9WOYI/s1600/home_white.png' style='padding:0px;'/> Home</a></li>
<li><a href='http://pehbate.blogspot.com/p/blog-page_13.html'>Windows</a></li>
<li><a href='http://pehbate.blogspot.com/p/backtrack.html'>Kali linux</a></li>
<li><a class='trigger'>Download</a>
<ul>
<li><a href='https://plus.google.com/u/0/106997202037581570725' target='new'>Software</a></li>
<li class='hr'/>
<li><a href='http://pehbate.blogspot.com/p/best-site-games-pc.html' target='new'>Best Site PC Games</a></li>
<li class='hr'/>
<li><a href='http://www.myspace.com/denzuaz' target='new'>Contact on Myspace</a></li>
<li><a href='http://www.facebook.com/zuazTama' target='new'>Zuaz&#39;Z on Facebook</a></li>
</ul>
</li>
<li><a class='trigger'>Tutorial</a>
<ul>
<li><a href='http://pehbate.blogspot.com/p/j.html'>Jaringan</a></li>
<li class='hr'/>
<li><a href='#'>Komputer</a></li>
<li class='hr'/>
<li><a href='#'>Blogspot</a></li>
<li class='hr'/>
<li><a href='#'>Visual Basic</a></li>
<li class='hr'/>
<li><a href='#'>Turbo Pascal</a></li>
</ul>
</li>
<li><a class='trigger'>Pengetahuan</a>
<ul>
<li><a href='#'>Jaringan</a></li>
<li class='hr'/>
<li><a href='#'>Komputer</a></li>
<li class='hr'/>
<li><a href='#'>#</a></li>
</ul>
</li>
</ul> <div class='menusearch'>
<div style='float:right;padding:8px 8px 0 0;'>
  <form action='http://pehbate.blogspot.com/search/label/' method='get' target=''>
<input name='sitesearch' style='display:none;' value='http://pehbate.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/AVvXsEgdVifs96UN1-1spm9Yw-6VaqZBzMg4SnTxMTGpSV8de3_b36ol5Iu4ArhECRzPDppRsO023f65JyA_pvdLiK8janwWQRqCw2CLYhf9SCkQuBppwnBLlO3qFkLjsj-ojgzXl-8m2Gl6-hY/s1600/field-bg.gif) no-repeat;' type='text' value='Search'/><input align='top' id='search-btn' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTL5y0SLx9CI21O7HmJNdGqeO6WSN0dr7md4P9r_P7zCIrDwOkHViIUVBqH-QNV2f9IS2z5ZmdyNXF_wEtsqVObUfWwwtTQYBNl7qZ1tPiOwvr-Oh9eOMYxxiICWaL2e7A-mdOowi-Dc4/s1600/bg_search.gif' type='image' value='Search'/>
</form></div></div><br class='clearit'/></div><div style='clear:both;'/></div>


silahkan sesuaikan dengan keinginan anda
Labels:

Post a Comment

[blogger]

Author Name

Contact Form

Name

Email *

Message *

Powered by Blogger.