Introduction to the Zapatec DHTML Menu Wizard
Using the Zapatec Javascript Menu Wizard you can construct a menu and choose the various configuration options. When you are done, the Wizard will generate the necessary Javascript code and you can just paste the code into your HTML page.
Use the Next and Previous buttons to navigate through the tabs. To go to a specific tab, just click on the tab header on top.
Move your mouse over the question marks These tooltips provide additional information in the Wizard. To make them go away, just move the mouse away from the question mark and outside the tooltip box. to see the help for specific items.
Number of top sub-menus in a tree. Number of items, in each sub-menu. The wizard generates, by default, horizontal drop down menus. Click here if you want your menu to be a vertical menu where the menu items pop to the right of the menu. Normally you will see the drop down menus when you hover over them. Check this option to have the menus drop when you click on the items. This is how desktop application behave. Choosing this option only affects the top menu items. In the wizard, Click Menu is ONLY active in the Effects pane.
Menu will be associated with mouse click or key press event.
When you click on an item, it will be saved into cookie. When the menu is redisplayed on the target page, this item and path to it is highlighted.
You will most probably like to generate a menu
dynamically from a database. However, for the purpose
of our wizard, the generated content will be a simple
static list that shows you how the generation should be
done.
Menu contents
Here you can define the layout of your your menu. First click an item on the right to select it. Then, use the links on the left to create/remove items and sub-items relative to the selected item. You can also change the text of the item in the box.
Since the Generated menu layout is done in HTML, you may find it easier to focus here on the menu features and then finish moving the nodes around in your editor.
:: Insert Item Before :: Insert Item After - ALT-B: insert new item before the current one
- ALT-A: insert new item after the current one
- ALT-S: add a submenu to the current item
- ENTER: shorthand for ALT-A:: Remove Item :: Add Subtree ::
Look and Feel
Specify your menu's properties, and see the generated menu.
Use this menu to choose the theme of your menu. :: Menu Properties
Customize appearance of ALL menu items. :: Item Properties
Customize appearance of selected menu item ONLY. :: Sub-Menu Properties
Use this link to customize appearance of selected sub-menu.
Menu effects
Specify your menu's effects, and see the generated menu.
When the user scrolls down the page, the menu scrolls and stays in the same original position on the page. The user can click anywhere in the menu and drag the menu in the window. Instead of the menu appearing and disappearing immediately it GLIDES in and out creating a more pleasant effect. The top of the sub-menu will appear first and will expand from the top down. Instead of the menu appearing and disappearing immediately it FADES in and out creating a more pleasent effect. This option does not work in Opera. Instead of the menu appearing and disappearing immediately it SLIDES in and out creating a more pleasent effect. Sub-Menu will slide down while expanding and slide up while collapsing. The bottom of the sub-menu will appear first and will expand from the bottom up. Instead of the menu appearing and disappearing immediately it WIPES in and out creating a more pleasent effect. The width and height of the sub-menu will expand and collpase at the same rate. Instead of the menu appearing and disappearing immediately it UNFURLS in and out creating a more pleasent effect. The width expands first and then the height. Sub-Menu has a shadow. The right and bottom part of the sub-menu will have a shadow. Advanced Options Choose menu advanced options: animation speed, sow delay and hide delay.
Your code is below
Click on select all and then copy the code into the clipboard. Go into your editor paste and save it.The paths in the code assume that the pages with the menu will be in the zpmenu folder. If you would like them to be in a different folder, you will need to adjust the paths accordingly.