Check documentation for the latest version of dhtmlxSuite setVisibleArea DHTMLX Docs

setVisibleArea

sets an area where a menu can appear

void setVisibleArea(number x1,number x2,number y1,number y2);
x1numberthe leftmost coordinate by X-axis
x2numberthe rightmost coordinate by X-axis
y1numberthe topmost coordinate by Y-axis
y2numberthe bottommost coordinate by Y-axis

Example

myMenu.setVisibleArea(x1, x2, y1, y2);

Details

If the area isn't set, the menu will occupy all the available visible space.

See also
Back to top