Monday, September 27, 2010

Creating Drop Down Menus


Dropdown menu or Pull-down menu is the collection of some data (in the form of text and link) which is shortened to become a single menu. Dropdown menus can be used as you need. Beside it can be used as an alternative Blogroll, you can also use it to make many link addresses to the targeted site. Do you want to know how to make it?

How to make standard dropdown menu









<form name="jump">
<select name="menu" onChange="location=document.jump.menu.options[document.jump.menu.selectedIndex].value;" value="GO">
<option value="http://10-mobile.blogspot.com">Menu1</option>
<option value="http://10-mobile.blogspot.com">Menu2</option>
<option value="http://10-mobile.blogspot.com">Menu3</option>
</select>
</form>


How to make dropdown menu with button





<form name="jump">
<select name="menu">
<option value="http://10-mobile.blogspot.com">Menu1</option>
<option value="http://10-mobile.blogspot.com">Menu2</option>
<option value="http://10-mobile.blogspot.com">Menu3</option>
</select>
<input type="button" onClick="location=document.jump.menu.options[document.jump.menu.selectedIndex].value;" value="OK">
</form>


How to make dropdown menu with picture button






<form name="jump">
<script>
function jumpMenu(){
location=document.jump.menu.options[document.jump.menu.selectedIndex].value;
}
</script>
<select name="menu">
<option value="http://10-mobile.blogspot.com">Menu1</option>
<option value="http://10-mobile.blogspot.com">Menu2</option>
<option value="http://10-mobile.blogspot.com">Menu3</option>
<option value="http://10-mobile.blogspot.com">Menu4</option>
</select>
<a href="javascript:jumpMenu()"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEYno6APlQY-jGtyU4M7xZIJnewI9sJZCAimGVZyLZpwnOVpeOnXnFn990j2vIU0Y1EemqDZXHQlCXX1BOmrjruncdo9cpAopQL6HtKiL588jlcGVOI1HfgzpPcx9JjIc6_xXTRLOuSDw/s1600/btn_go.gif" /></a></form>

0 Responses to “Creating Drop Down Menus”

Post a Comment

Search Our Site