A majority of sites are now made with horizontal navigation menus instead of drop down menus, but Dreamweaver is also capable of creating vertical flyout menus with spry. These vertical menus are typically found in the sidebars of most websites. Creating flyout menus can be a challenge, because you have to determine how far to the right the flyout menu is positioned, but Dreamweaver makes the whole process quick and easy.
The sample site simply has a header, and I created a container div for our menu, called nav. Go to Insert> Spry> Spry Menu Bar. Choose vertical from the two choices. In the Properties Panel you can create the different menu items. You can add menu items, sub menu items, and even create third-level menu items. From this menu, you can add the links to different pages within your site. You can also control what happens when the link is clicked, such as if it opens in the same window, or in a new window. You will notice that the default colors leave much to be desired. After you have set up your menu structure, you can begin to style the menu itself.
Skip down to line 68, where the CSS is broken down into the colors and borders, the type and type colors for our menu. The first thing we are going to do is specify that our menu has no border. The type is grey is the comments section for each set of css for each part of our menu. Set the border property for ul.MenuBarVertical and ul.MenuBarVertical ul to none.
The next section styles the main menu that you see without hovering over it. I changed the background color to match the lavender color of the type at the top. I changed the color of the text to white.
padding: 0.5em 0.75em;
The next section styles the menu focus when you hover over a menu section. I made this a darker purple than the normal state. I also changed the text color to yellow, which contrasts well with purple. This tells you what the parent menu is of the submenu that you are hovering over.
ul.MenuBarVertical a:hover, ul.MenuBarVertical a:focus
The last set of css is for the actual hover menu item itself. I styles this the same as the focus colors, so that the menu looks consistent. I added an inner shadow using the inset style for the box-shadow property. I set the vertical and horizontal shifts to 0, but set the blur to be 4px, so that the user will get a sense of depth from the menu.
ul.MenuBarVertical a.MenuBarItemHover, ul.MenuBarVertical a.MenuBarItemSubmenuHover, ul.MenuBarVertical a.MenuBarSubmenuVisible
box-shadow:inset 0px 0px 4px #000;