RasterMenu.showBelowOf( element [, ofsX [, ofsY]] )

Show this menu to the bottom of the given element. If the menu does not fit in the bottom, it is show above of the element and adjusted to fit in the window.

Parameters

Name Type   Description
element object Element to position the menu below of. This value can be one of the following: a string containing the ID of a DOM element, a reference to a DOM element, or another control object.
ofsX number optional X offset to be applied to the final computed x value. This value can be positive or negative.
ofsY number optional Y offset to be applied to the final computed y value. This value can be positive or negative.

Returns

Type Description
object The menu object. This allow for chaining multiple setter methods in one single statement.
Home Examples Download License
 
Copyright © 2010-2017 Edwin R. López