Q: How do I position the menu in my document?
A: The menu positions itself as an inline block level element at the point
of insertion within your HTML source code (similar to positioning a table
or div within your page). To move the menu, move the entire menu structure
(including comment tags witch identify the menu structure and links section) to
an insertion point of your choosing within your HTML source code. If using
the separate files sample, move the <SCRIPT> tag which references the 'imenus_data.js'
file instead.
Q: How do I make the menu 508 compliant?
A: The menu structure and links are contained within a DIV which by default
is set to 'display:none;'. To make the menu compliant remove the 'display:none'
statement. *Note: You may notice a flicker when the page loads with this
statement removed from the DIVs inline style.
Q: What is the difference between the active and hover states?
A: The hover state applies when the mouse is hovered over a menu item, the
active state applies when an items child sub menu appears.
Q: The menu is not working and in its place is a static listing of all my
menu items?
A: This means there is a syntax error somewhere within your menus parameter
settings or the HTML structure and links. The best thing to do is
carefully review your last changes for missing quotes, typos, etc. A
single syntax error will throw the menu into static list mode, we recommend
backing up your menu regularly as you work.
Q: Can I add a custom bullet or icon to each of my menu items?
A: Yes, simply add an <IMG> tag within the <A HREF> tag for the item you
with to apply your custom image to. You can add any custom HTML you wish
to each menu item, keep all HTML nested within the items <A HREF> tag.
Q: Can the main menu be Vertically oriented instead of Horizontal?
A: Yes, within the menus parameters is a setting titled 'this.main_is_horizontal',
set the value to false for vertically oriented menus.
Q: How do I add more than one menu to a single page?
A: There are two ids which identify different parts of the menu...
In the menu structure and links is an id attached to the menus opening <UL> tag (ex: <UL id='imenus0'...>).
A second ID is affixed to the function which contains all the menus parameter settings (ex: function menudata0())
To add a second menu add a new menu structure and a new function with parameter settings. Next, increment the numeric id of both ids outlined above... they would become... 'imenus1' and 'menudata1'. An infinite number of menus may be added to any page using this technique.
OpenCube Forums
For additional help try search the OpenCube Forums at
http://www.opencube.com/forum