SiteExperts.com Logo Home | Community | Developer's Paradise
User Groups | Site Tools | Site Information | Search
 Main Menu
 Forums
SiteExperts.com Forums
All Discussions

SiteExperts Feedback
The Lounge
Dynamic HTML
Site Design/ Critiques
HTML and CSS
XML Technologies
The Wireless Internet
Internet Explorer
Microsoft .NET
The Server
Technical Support

Sponsored Links

User Groups : Forums : SiteExperts : HTML and CSS :

Previous DiscussionNext Discussion
 Creating a #secondarynav menu
Hello, I was wondering if anyone could help me with creating a horizontal menu that appears below an existing horizontal menu when the link is hovered over? I want to create one like the menu at www.macromedia.com or www.answersingenesis.org. I have figured out how to make the initial menu, but not how to create the appearing menu under it. Thanks in advance.

Jedidiah

Started By jordan8201 on Dec 20, 2005 at 2:43:06 PM

9 Response(s) | Reply

View All Replies | Goto Page: 2 1
philcha on Dec 23, 2005 at 3:36:52 AM

I decided so long ago not to use drop-down / fly-out menus that I'd forgotten why I don't like them. Here's what I think are the big disadvantages of drop-down menus (laid out horizontally across the page)

  • In the pure CSS versions, the lower-level menus always offset in the same direction from their parent items, usually to the right. This can put the user in a no-win situation where a low-level menu is off past the right side of the page but the user can't use the horizontal scroll bar because when he / she tries the menu collapses and the horizontal scroll bar disappears. Try viewing this example after reducing the width of your browser window and you'll see what I mean.
  • DHTML (Javascript-driven) drop-down menus can calculate where they are and offset lower-level menus back into the screen (as Windows menus do), but:
    • If the user has disabled Javascript, the drop-down functionality doesn't work. Then you have to create a links page for each menu item which contains a sub-menu.
    • The code is complex, so it takes a while to load and is difficult to maintain.

Menus arranged vertically down the left edge of the page (so sub-menus appear to the right of thier parents and are oriented vertically) can have a similar problem with scrolling down past the bottom of the window.

If you want to present a menu that's so big it needs to be able to expand and collapse, I recommend a tree menu (works like Windows Explorer or many email programs) down one side of the page - see css-discuss


This type of menu appears fully expanded if Javascript is disabled.


View All Replies | Goto Page: 2 1

To respond to a discussion, you must first logon.

If you are not registered, please register yourself to become a member of the SiteExperts.community.

User Name
Password
Copyright 1997-2000 InsideDHTML.com, LLC. All rights reserved.