About
DHTML menu problems can be consigned to the past using Alien Menus for:
superior performance
higher scalability
greater optical impact
faster development
true frame-crossing
This page explains all of the extra options hidden away in these menus.
How to add a checkbox menu item
STEP 1
Always begin editing the index file by opening the file in a simple text editor like Windows Notepad. The index file is the .txt file we send you by email when you configure the menu using the online configuration tool. It looks like a list, where each line contains exactly 10 inverted commas which sometimes have commands inserted between them.
STEP 2
"TEXT:This has a checkbox;CHECKBOX;" "1" "" "" ""
The CHECKBOX feature and its associated features are only available in the Enterprise version.
Making a checkbox is achieved very simply - just add the command CHECKBOX to the menu item entry in the index file as shown. Remember that the appearance segment of the line (the first segment) is a semi-colon-separated list of commands (such as TEXT, ICON, CHECKBOX) and these commands can appear in any order.
The checkbox will initially appeared unchecked, although space (and, with most themes, some kind of empty container or box) will appear for the tick.
The checkbox is controlled in the normal way. Click to select. Click again to deselect. Checkbox logic is complex: if parent items are checkboxes and they have any checkbox children, then the parent item will use a 3-way checkbox logic, with unchecked, checked and semi-checked states. The semi-checked state is normally a different colour or lighter than the normal checked state, and marks that some but not all of the children are checked. Checking a parent item will automatically check all children and other descendents. Checking children will modify the parent correspondingly. You can, of course, keep things simple by not attaching checkboxes to parent or folder items.
STEP 3
Always finish your editing session with a test of the new change. Ensure you have saved the HTML file. Remember that the old version may still be cached. If the change does not appear immediately on testing, close down all browser windows and web development environments, and then restart them - this should clear cache. If testing online, ensure that the new file has really uploaded rather than a cached copy of the old one.