XUL:Metoda:openPopup
z Mozilla Developer Center, polskiego centrum programistów Mozilli.
- openPopup ( anchor , position , x , y , isContextMenu, attributesOverride ) Nowość w Firefoksie 3
- Zwraca typ: nie zwraca wartości
Open the popup relative to a specified node at a specific location.
The popup may be either anchored to another node or opened freely. To anchor a popup to a node, supply an anchor node and set the position to a string indicating the manner in which the popup should be anchored.
Possible values for position are: before_start, before_end, after_start, after_end, start_before, start_after, end_before, end_after, overlap, after_pointer
The anchor node does not need to be in the same document as the popup.
If the attributesOverride argument is true, the position attribute on the popup node overrides the position value argument. If attributesOverride is false, the attribute is only used if the position argument is empty.
For an anchored popup, the x and y arguments may be used to offset the popup from its anchored position by some number, measured in CSS pixels.
Unanchored popups may be created by supplying null as the anchor node. An unanchored popup appears at the position specified by x and y, relative to the viewport of the document containing the popup node. In case, the position and attributesOverride arguments are ignored.
UWAGA: Tłumaczenie tej strony nie zostało zakończone.
Może być ona niekompletna lub wymagać korekty.
Chcesz pomóc? | Dokończ tłumaczenie | Sprawdź ortografię | Więcej takich stron...