Jump to content

Cascading menus


petersrin
 Share

Recommended Posts

I've seen plenty of javascript cascading menus to one level. Is it possible to move to 2 levels, eg. making a nav bar on the left that has: Products > Glass and Metal > Glass. So, in essence it's like in windows, where you go to file>Open Recent>blah.txt. It seems as if it aught to work. . . or would some other language be better? I can't see CSS alone handling it, and that wouldn't be compatible with IE 6/7 anyway. Oh, and speaking of, there WILL be a way of navigating even if javascript is disabled on their browsers. Thanks.

Link to comment
Share on other sites

The answer about javascript is to arrange the menu so that it normally displays and use javascript to HIDE the submenus. If javascript is disabled, the full menu is then displayed.As to the need for javascript, I believe there are methods for having css-powered multi-level drop-downs. Start by looking at the cssplay.co.uk site.http://cssplay.co.uk/ie/ie7bug.html ==> check this page, for example. 6 levels of drop-down, all css.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...