openPopup( anchor , position , x , y , isContextMenu, attributesOverride, triggerEvent )
Opens the popup relative to a specified node at a specific location.
nullas the anchor node. The direction in which the popup is oriented depends on the direction of the anchor.
after_pointer. Check Positioning of the Popup Guide for a precise description of the effect of the different values.
yarguments may be used to offset the popup from its anchored position by some number, measured in CSS pixels. An unanchored popup appears at the position specified by x and y, relative to the viewport of the document containing the popup node. In this case, the
attributesOverridearguments are ignored.
isContextMenuargument should be
truefor context menus and
falsefor all other types of popups. It affects menu item highlighting; that is, while a context menu is open, menus opened earlier do not highlight or execute their items.
true, the position attribute on the popup node overrides the
positionvalue argument. If
false, the attribute is only used if the
positionargument is empty.