Minggu, 28 Oktober 2012

Pasang Menu Drop Down



Cara Membuat Menu Drop Down
  • Anda login terlebih dahulu ke blogger
  • Klik Design, dan lanjutkan klik Edit HTML
  • Lihat gambar 1 di bawah kode berikut




KODE - 1
/* Menu Horizontal Dropdown ----------------------------------------------- */ #menuwrapperpic{background: url(http://2.bp.blogspot.com/-eVufkC686Cw/TwGo8YAlWwI/AAAAAAAAAYM/tWP7l3ENpjY/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(http://3.bp.blogspot.com/-LzmPTNyR6po/TwETZufjSTI/AAAAAAAAATo/oisHmXUjmSY/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}



1.      Tekan Ctrl + F kopi dan masukkan ]]></b:skin> ke dalam kotak lalu tekan enter di keyboard
2.      Kode  nomor 1 di atas, anda kopi dan paste di atas ]]></b:skin>
KODE - 2

<div id='menuwrapperpic'>
<div id='menuwrapper'>
<ul id='menubar'>
<li><a href='http://pengawasdikmensumenep.co.nr/'><img border='0' src='http://1.bp.blogspot.com/-Yx-NuFKviSQ/TwETaPMdmfI/AAAAAAAAATs/fLZvwofZ8N0/s1600/home_white.png' style='padding:0px;'/>Home</a></li>
<li><a class='trigger'>Alamat Sekolah</a>
<ul>
<li><a href='http://alamatsekolahsumenep.blogspot.com/p/data-sekolah.html'>SMP </a></li>
<li class='hr'/>
<li><a href='http://alamatsekolahsumenep.blogspot.com/p/data-sekolah.html'>SMA</a></li>
<li class='hr'/>
<li><a href='http://alamatsekolahsumenep.blogspot.com/p/data-sekolah.html'>SMK</a></li>
<li class='hr'/>
</ul>
</li>
<li><a class='trigger'>Tutorial</a>
<ul>
<li><a href='#'>MS Office Word</a></li>
<li class='hr'/>
<li><a href='#'>MS Office Excel</a></li>
<li class='hr'/>
<li><a href='#'>MS Office Powerpoint</a></li>
</ul>
</li>
<li><a class='trigger'>Download</a>
<ul>
<li><a href='#'>Ebook</a></li>
<li class='hr'/>
<li><a href='#'>Silabus</a></li>
<li class='hr'/>
<li><a href='#'>RPP</a></li>
<li class='hr'/>
</ul>
</li>
<li><a class='trigger'>Link Edukasi</a>
<ul>
<li><a href='http://alamatsekolahsumenep.blogspot.com/p/link-ekukasi.html'>SMP, SMA, SMK</a></li>
<li class='hr'/>
</ul>
</li>
<li><a class='trigger'>Link Website</a>
<ul>
<li><a href='#'>Blog 1</a></li>
<li class='hr'/>
<li><a href='#'>Blog 2</a></li>
<li class='hr'/>
<li><a href='#'>Blog 3</a></li>
</ul>
</li>
</ul> <div class='menusearch'>
<div style='float:right;padding:8px 8px 0 0;'>
<form action='http://pengawasdikmensumenep.co.nr/' method='get' target=''>
<input name='sitesearch' style='display:none;' value='http://pengawasdikmensumenep.co.nr/'/>
<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(http://1.bp.blogspot.com/-kmhya2YU7jE/Tv9JVye66xI/AAAAAAAAAP8/S0ZeuQ910Ow/s1600/field-bg.gif) no-repeat;' type='text' value='Cari Data ….'/><input align='top' id='search-btn' src='http://4.bp.blogspot.com/-b9FTjjXAbp4/TwEo-YIwe-I/AAAAAAAAAU4/Du-VmpE9hPE/s1600/bg_search.gif' type='image' value='Search'/>
</form></div></div><br class='clearit'/></div><div style='clear:both;'/></div>

Kode warna merah diatas ubah ke alamat blog anda
Selanjutnya anda cari kode berikut :
1. </header> : kopi dan paste di kotak pencarian klik enter
2. Kopi dan paste kode nomor 2 di atas letakkan tepat di bawah kode </header>
3.  ‘ # ‘  tanda pagar ubah ke alamat link yg diinginkan.
4. Klik Simpan template.

0 komentar:

Posting Komentar