DhtmlxMenu positionning error

I use standard menu with standard xml, and i tried with samples too and my submenu are always positionned too far from my menu.

I tried all possibilities popup or classic styles, absolute, auto or relative positionning.

What’s wrong ?



html :







xml:

<?xml version='1.0' ?>



    

        

        

        

        

        

        

        

        

    

    

        

        

        

    

    

        

        

        

        

        

    



If you are using layout from absolute positioned element, it may cause page to have zero height, and as result menu auto positioning feature will fail.
Problem can be resolved by adding next line of code
    menu.disableSmartPositioning(true)

Please check attached sample.

1209041246.zip (21.1 KB)

I use the menu in a tabbar which is defined like this :

html:
               


               

               


xml:
<?xml version="1.0"?>

   
        HOME
        ACQUISITION
        VOD
        TEST
        VOD DXHTML
   


and it doesn’t rules right. I’ve got no changes with
menu.disableSmartPositioning(true);

Unfortunately, menu is not compatible with tabbar in ajax and ajax-html mode.

You can try to use other modes, like iframes or html.

It’s incredible !!!
Why the positionning of the menu is tabbar ajax mode dependant ?
What’s the relation between ajax and positioning in html ?
i’m very disapointed

The problem caused by the way hot position of context menu calculated, the menu was built to be used as part of normal HTML flow, so it may fail when placed in relative positioned container - if necessary we can provide menu build which will work fine enough in case of tabbar, but it will differ from common codebase.