dhtmlXMenu not showing properly on small pages

Hi,



I have a menu bar with sub-menus. When opening a menu, it does not show under the parent menu if the html page has few informations. It does show OK on big pages.



e.g: if the page is big:

|Main Menu|

|Sub1|

|Sub2|

|Sub3|



if the page is small



|Main Menu| |Sub1|

|Sub2|

|Sub3|



Is there something to do to fix this problem ?

Thanks

Jean-Michel

Menu has auto-positioning functionality, so if page is too small it automatically change sub-menu position - it works fine in most cases, but sometimes when page has no other content it cause problem as in your case.

To disable auto-positioning, just add next line to menu initialization
    menu.disableSmartPositioning(true);