Jumat, 12 Oktober 2012

Membuat Menu Drop Down

membuat menu dropdown

Membuat Menu Drop Down

1. Masuk ke Blogger.com atau Blogspot.com

2. 




3.

4.
5.
6. Cari kata ]]></b:skin>. Untuk mempermudah pencarian klik Ctrl+Fdi Keyboard kemudian ketik ]]></b:skin>
7. Copy script berikut tepat diatas tulisan ]]></b:skin>
/* Menu Horizontal Dropdown  ----------------------------------------------- */ #menuwrapperpic{background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNq8GA1ApbCbh6yFT0kSFmrlgq7NE9cdmPuYGi-JGXG8zGL8oOfBVt2Bej748UaDDEFYro8W1VUxaoSUe9BvNdeqGIiufugIv6rKNxBNFEArRi4BMjnxWZeZjHS7CE7uqKrilQ8_zgAPg/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/AVvXsEg-of2xD78uwIylM1uwYgaI58B5ajE4H8qFwm6zHK3T5g7VliaxIXAN0t6abm73CctQ4IYzmj0iijweo4iNfLKOK8Q_XoBpH99vm5gitN1SmYFepuc-OxhZ20EqINpbugtlY2E0KZFFoo8/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}
8. Kemudian cari kata <header> atau <head>. Atau klik Ctrl+F, dan ketik <header> atau <head>
9. Jika sudah, copy script berikut tepat diatas <header> atau <head>
<div id='menuwrapperpic'>
<div id='menuwrapper'>
<ul id='menubar'>
<li><a href='/'><img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcF1hg649lydc6yarOVqGLNqEvSY-8Uoyrf4EYUcN57TlsjjBFvR9WQvuAt1ydSe_gYnUcTBCrI9tRub1Ku_CZFURp6tr34V1tlj8EKgxtEZ0NGE2ArQCkwnYL9YUMDiCamFGA2JfHREA/s1600/home_white.png' style='padding:0px;'/> Home</a></li>
<li><a href='#####' target='new'>Profile</a></li>
<li><a class='trigger'>Contact Us</a>
<ul>
<li><a href='#####' target='new'>Google +</a></li>
<li class='hr'/>
<li><a href='#####' target='new'>Contact on Twitter</a></li>
<li><a href='#####' target='new'>Contact on Facebook</a></li>
</ul>
</li>
<li><a class='trigger'>Website</a>
<ul>
<li><a href='#####'>Latihan 1</a></li>
<li class='hr'/>
<li><a href='#####'>Latihan 2</a></li>
<li class='hr'/>
<li><a href='#####'>Latihan 3</a></li>
<li class='hr'/>
</ul>
</li>
<li><a class='trigger'>Alir Produksi</a>
<ul>
<li><a href='#####'>Latihan 1</a></li>
<li class='hr'/>
<li><a href='#####'>Latihan 2</a></li>
<li class='hr'/>
</ul>
</li>

</ul> <div class='menusearch'>
<div style='float:right;padding:8px 8px 0 0;'>
<form action='#####' method='get' target=''>
<input name='sitesearch' style='display:none;' value='#####'/>
<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/AVvXsEiJEd0G9-f_fUF4tD7r2nyejW3ti2YARmT0-rGg81iwX2eESRcpmUsTRWZSZ-4Si9RaGu0WumiCx_JvPNDkRxpqvDFW8AolSUnRK7PKUOlFzTsFexr-tQE4wallv4Dr67a2XqkGhGohKV0/s1600/field-bg.gif) no-repeat;' type='text' value='Cari disini ya... '/><input align='top' id='search-btn' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjM4ugEhaArmsnvcWOCFTu48ZzrLC4ddQV6QKkoTGCaNSCxlXUwPEbVHseEhZQh4eF28yI26v4xKUgBpHmV5um5VPw8iPto75tg90-bhinr2O6a_XAhmytbAJEUDLgt8g9v5hl9263q-qU/s1600/bg_search.gif' type='image' value='Search'/>
</form></div></div><br class='clearit'/></div><div style='clear:both;'/></div>
8. Jangan lupa untuk melakukan Pratinjau terlebih dahulu, sebelum Simpan Template. Fungsi Pratinjau sama dengan fungsi Preview. Jika muncul kata-kata 'ERROR', tandanya ada yang salah. Periksa kembali apa yang sudah dikerjakan.
9. Jika dari Pratinjau sudah berhasil, maka akan muncul blog kita dan ada tulisan 'Pratinjau' seperti gambar berikut


10. Barulah kita klik 'Simpan Template'

11. Lalu klik tanda 'X'
12. Kemudian klik 'Lihat Blog'
13. Menu Dropdown mu siap digunakan! :D
Catatan :
##### = ganti dengan link yang dituju
##### = ganti dengan link blog kamu
warna           = nama/tulisan/judul yang akan muncul di menu blog kamu

Tidak ada komentar:

Posting Komentar