Cara Membuat Drop Menu | Tirana Aduka
Custom Search

Tuesday, September 4, 2012

Cara Membuat Drop Menu



Design > Page Element > Add a Gadget > HTML / JavaScript 




Masukkan kod nih :

<select onchange="document.location.href=this.options[this.selectedIndex].value;">
<option selected />Tajuk
<option value="link 1" />link name
<option value="link 2" />link name
<option value="link 3" />link name
<option value="link 4" />link name
</select>




Kod bold biru = Masukkan link then letak nama link.

0 comments: