dhtmlxMenu : Force position

Hi !

I’ve searched on the forum anybody who already had this “problem”, but i didn’t find anything.

The menu have the auto-position feature while clicking on child item, and position it above or beneath when space is free. But in my case, as it’s placed at the top of the screen, I want to deploy beneath it everytime. Is there a way to force it ?

Here a screenshot of that i currently get

Hi,

you may set fixedPosition to true:

menu.fixedPosition = true;

Thanks, you helps me a lot !

I didn’t find this attribute in the wiki… it may be interesting to add this

fixedPosition is a private property. Possibly we’ll create a public method in the next toolbar version.