DHTML Menu Studio FAQ

Question ID:
Q3058
Question:
When creating menus dynamically, some of the menu items open small empty popups.
 
This is caused by calling SSAddSubMenu (or addSubMenu) instead of SSAddMenuItem (or addMenuItem) for given item. Use [SS]AddSubMenu only when an item has sub-children and hovering over it will open a child popup. When using samples from http://www.xtreeme.com/dhtml/dynamic-creation/, make sure the function hasChildren returns TRUE only for items containing a popup with sub-items.