Meaningless Drivel is fun!*
The moose likes Struts and the fly likes How to develop horizontal and vertical menus Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to develop horizontal and vertical menus" Watch "How to develop horizontal and vertical menus" New topic
Author

How to develop horizontal and vertical menus

Jyothsna Panchagnula
Ranch Hand

Joined: Jul 11, 2005
Posts: 113
currently my menu is like this


the probelm here is that every menu opens in a new jsp page rather than the existing window. my home page layout is as follwos
icon image
menu
body
can any one tell me how to open the menu in the space allocated for body?


aditee sharma
Ranch Hand

Joined: Jul 22, 2008
Posts: 182
Horizontal and vertical menus have more to do with dynamic html and javascript rather than Struts in particular.
So this may not be the right forum for you to raise this question.
Anyways, you need to consider following things when creating a menu:
1) Is it a static menu or dynamic?
2) How many levels/sublevels do you require ?
I am sure Google will give you a lot of code if that's what you are looking for.
Jyothsna Panchagnula
Ranch Hand

Joined: Jul 11, 2005
Posts: 113
Hello aditee,

I googled and downloaded few menus. but my question is that when weclick on a particular menu how can we display the contents of the menu in the body of te same webpage?

Say for eg:- I have main page with home , about us and contact us as the menus .Now when I click on the home menu it should display th e contents beneath the menu,so I am not gettting to know how to display the content beneath the menu/ after the menu bar in the same page?

Hope I am clear

thanks,
Jyothsna
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

This isn't related to Struts; most likely it's a JavaScript or CSS issue depending on which menu package(s) you're attempting to use.
Jyothsna Panchagnula
Ranch Hand

Joined: Jul 11, 2005
Posts: 113
Hi David,

Can you please let me know the sites which give some information that I am looking for incase of menu navigation.
I am actually new to web site design .

thanks
Jyothsna
 
jQuery in Action, 2nd edition
 
subject: How to develop horizontal and vertical menus