File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Navigation menu with categories and sub categories 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 "Navigation menu with categories and sub categories" Watch "Navigation menu with categories and sub categories" New topic
Author

Navigation menu with categories and sub categories

Zein Nunna
Ranch Hand

Joined: Mar 31, 2005
Posts: 245
Hi guys,

Im wanting to build a navigation for my webpage, that has high level categories, when a category is clicked on I want it to expand and show the sub categories. When another category is clicked on I want the original to revert back, and the new category to expand (a bit like download.com's page)

How do I go about something like this?? I dont know what this is called so am unable to search.

Some pointers would be a great help.

Regards
Zein
Zein Nunna
Ranch Hand

Joined: Mar 31, 2005
Posts: 245
Would DHTML be a way of tackling the above problem?

Regards
Zein
Rusty Smythe
Ranch Hand

Joined: Aug 09, 2006
Posts: 93

You could do this all with CSS + javascript.

I suggest starting with A List Apart (search for "menu") or CSS play
Zein Nunna
Ranch Hand

Joined: Mar 31, 2005
Posts: 245
Rusty,

Thanks alot, some great examples there, especially CSS play, thats just an awesome website.

Cheers

Zein
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Navigation menu with categories and sub categories