File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes how to create drop down menu ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "how to create drop down menu ?" Watch "how to create drop down menu ?" New topic

how to create drop down menu ?

k siva

Joined: Dec 27, 2006
Posts: 1
Hai all,

I am writing a web application which consists of various jsp files. I have to create drop down menu, that each menu item links to respective jsp pages. Can anyone help me out with sample codes?
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63865

As with any other web page, you'd use HTML and Javascript.

Moved to the HTML forum.

[Asking smart questions] [About Bear] [Books by Bear]
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
I am guessing you are not talking about a select element. There are plenty of free menu codes out there. Look at sites like or

Neerav Narielwala
Ranch Hand

Joined: Dec 08, 2006
Posts: 106
Drop down menu with unlimited depth. Individual menu items configuration,icons ...

<a href="" target="_blank" rel="nofollow">Java Tutorials</a> | <a href="" target="_blank" rel="nofollow">Java Weblog</a> | <a href="" target="_blank" rel="nofollow">Computing Articles</a>
I agree. Here's the link:
subject: how to create drop down menu ?
jQuery in Action, 3rd edition