DHTML Menu Studio FAQ

Question ID:
When dynamically creating the menu, I get the error 'Object expected' or 'Object required' in the browser.
One of the possible reason can be using invalid functions for creating of top-level menu items. In particular, this error occurs when creating regular top-level menu items as items containing popups (that is, using the SSAddTopLevelMenu or addTopLevelMenu function instead of SSAddMenuItem or addMenuItem). Note that SSAddTopLevelMenu/addTopLevelMenu and SSAddSubMenu/addSubMenu can only be used for expanding item of popup items -- that is, further in the code, this item must be used as a parent for at least one menu item.
Click here for more info about dynamic menu creation