tree menu eMenuTree: Drop down tree menus

Introduction

eMenuTree can make either click-to-open tree menus or drop down tree menus .  Click-to-open tree menus are the type used in Windows Explorer -- they open when clicked, and remain open until clicked again.  Drop down tree menus are the type of menus used on many web sites -- they open in a floating frame on mouse over and close on mouse out.

By default, eMenuTree writes tree menus .  To write drop down tree menus , go to "Options > Drop down menus " and check "Use drop down menus ".  Please note that generic browsers run the click-to-open tree menu script, even in a drop down tree menu project. 

Drop down tree menu options

Drop down tree menus have all the same options as tree menus .  You can use regular links, javascript links, link to your home page, etc.  You can also you all the insert multiple link options, include using ASP server side scripting. 

You format them using your Cascade style sheet.  For information see the help file "Style sheet".  Drop down menus are not affected by the "Left indent of main folder or sub folder in pixels" options.  They are always closed when a page is first loaded.

Positioning drop down treee menus

By default drop down tree menus open to the immediate right of the folder name and they open downward.  If you are using a horizontal menu at the top of the page, you can check the "Main menu opens downward" option.  This will cause main menus to open straight downward.  Submenus will still open to the right and downward.

You must be careful that your drop down tree menus open in the viewable part of the page.  For a horizontal menu, you don't want menu items on the far right of the page to have submenus that open to the right.  Otherwise when the user opens the menu, it will be too far to the right to be seen.  For this reason, eMenuTree gives you the option of positioning each submenu exactly where you want it.  To position a menu, select the folder in build tree view and click the "Position Menu" button.  The form which opens has instructions.

One point to note: the "Main menu opens downward" option overrides the individual main folders position settings.  So use this setting only if you want all main menus to open directly downward.  If you want any main menus to open to the left or towards the top, you must position each main menu using its "Position Menu" button.

The exact position of the menu will be slightly different in different browsers.  Early versions of Internet Explorer (including 5.0, but excluding 5.5) have an unorthodox way of using the margins, padding, and borders in doing various positioning calculations.  Because of this, submenus may be position slightly to the right of where they are positioned in later browsers.  (eMenuTree compensates for this in IE 5.0 by shifting submenus 6 pixels to the left.)