- pilihan pertama
<script>
function jumpMenu(){
location=document.jump.menu.options[document.jump.menu.selectedIndex].value;
}
</script>
<select name="menu">
<option value="http://alamat-url1.com">Menu1</option>
<option value="http://alamat-url2.com">Menu2</option>
<option value="http://alamat-url3.com">Menu3</option>
</select><a href="Javascript:jumpMenu()"><IMG SRC="http://tbn0.google.com/images?q=tbn:6p-AlPGfyPhSfM:http://i.pbase.com/v3/13/577913/1/46333419.search.gif" border=0></a>
</form>
- pilihan kedua
<select name="menu" onChange="location=document.jump.menu.options[document.jump.menu.selectedIndex].value;" value="GO">
<option value="http://alamat-url1.com">Menu1</option>
<option value="http://alamat-url2.com">Menu2</option>
<option value="http://alamat-url3.com">Menu3</option>
</select>
</form>
- pilihan ketiga
<form name="jump"><select name="menu"><option value="http://alamat-url1.com">Menu1</option><option value="http://alamat-url2.com">Menu2</option><option value="http://alamat-url3.com">Menu3</option></select><input type="button" onClick="location=document.jump.menu.options[document.jump.menu.selectedIndex].value;" value="OK">
catatan :
- ubah url berwarna merah dengan link tujuan anda
- ubah menu berwarna biru dengan judul yang anda inginkan
semoga bermanfaat
No comments:
Post a Comment