Thursday, 6 June 2013

Tutorial : Cara nak buat Drop Down Menu Bar

بِسْــــــــــــــــــمِ ﷲِالرَّحْمَنِ الرَّحِيم

Assalamualaikum , hai dan selamat bersekolah kembali =)
(perli ni perli)

Kak Nana Liena yang request tutorial nie daripada anis. Jadi haruslah bagi saya untuk buat tutorial nie. Semua ni anis belajar dari blog Kak Shida dan Blogger Indonesia. Credit kepada beliau. Oke mari teruskan dengan tutorial nya
contoh drop down tab menu

  1. login dashboard >> template >> edit HTML >> Ctrl+f
  2. cari \kod/ ]]></b:skin>
  3. Seterusnya \copy/ kod di bawah dan paste di atas kod ]]></b:skin> (langkah 1)
/* Menu Horizontal Dropdown ----------------------------------------------- */ #menuwrapperpic{background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBVLIENtdAPQX7qI9lNYEp2m-aOA1BtJ8fjtJRqdcy6CN-5LVS2TU4kOd7YQBdEK4hSwlD88vsXDgicJv-754hIHaq46_Ru-eIT3UogIhK2S3zIk1RlA43xuhRaw9PZmLdBbMl-B_6t90/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/AVvXsEiqEQ9x9ih06u6PskP5ViOEkFQ7tLlaoHpBg4lk0Z_VQ_LvjiYs7bHop1ex_nPd-OitrMhIJw4KVhAQC0rU09Iz2Z0IDlZHv59PQZX5Osci4CFAnOdIAD_tkDyTHhAs9l5i2McsmlG-I3Q/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}
Yang merah tu boleh tukar ikut citarasa sendiri. Harap tak juling mata tu . Cari kod warna di >> SINI 

Ikut langkah seterusnya.

  1. Cari kod </header> atau bagi template denim , <div id='crosscol-wrapper'>
  2. Copy kod di bawah dan paste kan di bawah kod pada langkah 1

<div id='menuwrapperpic'>
<div id='menuwrapper'>
<ul id='menubar'>
<li><a href='/'><img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiy2gOtQMW8BdxNrEpnBW1R0ZGpPEw_Q5kAmqQFhXBQ-Zp_K4N6I9BADLFhXkzBQnE-Rz_kGhQNGveDRihATzieoe7nuadzQPEn-AUEs2ly2QYA1pxg0EjLFHhN5KXZ4wurNZ5qRkQtcrE/s1600/home_white.png' style='padding:0px;'/> Home</a></li>
<li><a href='http://www.blogger.com/profile/masukkan ID' target='new'>Tentang Admin</a></li>
<li><a class='trigger'>Contact Us</a>
<ul>
<li><a href='https://plus.google.com/u/0/masukkan ID' target='new'>Goggle +</a></li>
<li class='hr'/>
<li><a href='http://twitter.com/masukkan ID' target='new'>Contact on Twitter</a></li>
<li><a href='http://www.myspace.com/masukkan ID' target='new'>Contact on Myspace</a></li>
<li><a href='http://www.facebook.com/masukkan ID' target='new'>Contact on Facebook</a></li>
</ul>
</li>
<li><a href='Link Anda' target='new'>Owner Creator</a></li>
<li><a class='trigger'>Tips dan Trik</a>
<ul>
<li><a href='Link Anda'>Komputer</a></li>
<li class='hr'/>
<li><a href='Link Anda'>Blogspot</a></li>
<li class='hr'/>
<li><a href='Link Anda'>Facebook</a></li>
<li class='hr'/>
</ul>
</li>
<li><a class='trigger'>Kategori</a>
<ul>
<li><a href='Link Anda'>TV Online</a></li>
<li class='hr'/>
<li><a href='Link Anda'>Komputer</a></li>
<li class='hr'/>
<li><a href='Link Anda'>Desain Grafis</a></li>
<li class='hr'/>
<li><a href='Link Anda'>Game</a></li>
<li class='hr'/>
<li><a href='Link Anda'>Microsoft</a></li>
<li class='hr'/>
<li><a href='Link Anda'>Software APP</a></li>
<li class='hr'/>
<li><a href='Link Anda'>Software Program</a></li>
</ul>
</li>
</ul> <div class='menusearch'>
<div style='float:right;padding:8px 8px 0 0;'>
<form action='Link Anda/search' method='get' target=''>
<input name='sitesearch' style='display:none;' value='Link Anda'/>
<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/AVvXsEhTfiZZD_tlWa-Ebu-84EzJ2Pp4JX4i6Ma58ruH4d3btXcitZFp2GtOKk7xMt5zCrJLbidykOLUI6S3_LzkikSosOoqxp6bg8QdAJQuRu3X26h0ReLwez8FHQe1FZSlNDJVdvOcH77qwk8/s1600/field-bg.gif) no-repeat;' type='text' value='search me'/><input align='top' id='search-btn' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYRQpFz-HvJYt1l2tf7akJprIUGMQwIB2auQp-C0dEKjnbX2yaxw93mTJeqG_tEAzfYogS3aEE5jeHsJPPptqSj-KSuEvzSYVoWmmrmI4IR-t6sTZUSnfxw9ZBFGDPrFskOxN4QyW1tYw/s1600/bg_search.gif' type='image' value='Search'/>
</form></div></div><br class='clearit'/></div><div style='clear:both;'/></div>

  • Yang saya warnakan MACAM NI  letak link dan ID anda.
  • Yang saya warnakan MACAM NI boleh tukar tajuk sendiri sendiri punya. Tak nak tukar pun tak mengapa.
  • Preview, kalau berhasil, boleh tekan Save =)
Siap ^____^


 

THANKS FOR READING. DROP YOUR COMMENT PLEASE?

16 comments:

Fais-SKA said...

nice sharing :) nnti kalau nk curi bleh refer tuto neh he3..

AZ Collection said...

Salam.. nk mintak tlg LIKE page ni blh? =)

AZ Collection ada menjual pelbagai jenis tudung AKEL bidang 50' dan 60'.. Nk tempah kraf felt pn blh.. Jom singgah sini..

https://www.facebook.com/pages/AZ-Collection/199515420202002

Terima Kasih.. =)

Student Kecik said...

@S.K.A hehe silakan =)

Student Kecik said...

@AZ Collection Waalaikumsalam, done like =) tq

Unknown said...

thanks ya dik..nanti kita cuba praktiskan..kalau tak mnjadi something tak kena la dgn kita.haha.. thanks again ya.. :)

Student Kecik said...

sama2 kak nana =)

Unknown said...

Saya dah buat bende nie da menjadi tengs eakk ? hehe... tapi my problem is kenapa dya jadi kale hitam sedangkan tema blog saye purple... plizzz bantu saye ke sini http://baintakagie.blogspot.com

Unknown said...

awak awak , tak pahammm :D ajarkan pelishhhh ^^

Unknown said...

awak awak tak paham lah ajar pelishh *newbie :D

Unknown said...

awakkkk , tak pahamm , ajar pelishhhh *newbiee :D

Unknown said...

Thank you

Student Kecik said...

Tukarkan jee kod warna saya bagi. Sy baru perasan komen ni.. Maaf sgt3 ))):

Student Kecik said...

Allah..

Maaflmbt rply T.T

Leps dah pastekan kod terus tukarkan link, warna, etc..

Student Kecik said...

Ur welcomee nur asilah ^.^

Ben Ismail said...

mekasih banyak2... ini yg berjaya setelah try juga dr blog2 yg lain.. mekasih

Student Kecik said...

@Ben Ismail sama sama ^_^