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 Creating a tab 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 "Creating a tab menu" Watch "Creating a tab menu" New topic

Creating a tab menu

Anil Verghese
Ranch Hand

Joined: Oct 11, 2006
Posts: 155

Can anyone tell me how to create tab menus. I dont want the tabs to be links...

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63858

You'll have to explain what you mean by a tabbed menu. Are you just talking about a tabbed interface? A good resource to start with may be

[Asking smart questions] [About Bear] [Books by Bear]
Mike Bowers
Ranch Hand

Joined: Oct 08, 2007
Posts: 42
I have the perfect solution. Chapter 17 of my book contains two design patterns that show you how to create a tabbed menu.

You can see the solution in action at my website

The core design pattern is called Tab Menu ( ). Another design that is enhanced by JavaScript is called Tabs ( ). Both design patterns can be styled by CSS to fit the look and feel of your site.

The example at the end of the chapter pulls together all the techniques used in the chapter where you can see the tab menu in context. (See )

Note tab menu design patterns are advanced and use many other design patterns presented earlier in the book. Feel free to use the source code from the examples from my website, but if you want to understand how they work and how you can adapt them to fit your needs, you will need to read my book.

If you need a copy of my book fast, you can download an eBook version from Apress at
I agree. Here's the link:
subject: Creating a tab menu
It's not a secret anymore!