次の方法で共有


SP.UI.PopoutMenu.createPopoutMenuInstanceAndLaunch(anchorId, menuId, iconId, anchorOpenCss, textDirection, closeIconUrl, isClustered, x, y, height, width) Method

Applies to: SharePoint Foundation 2010

Creates a new pop-out menu instance and then starts it.

SP.UI.PopoutMenu.createPopoutMenuInstanceAndLaunch(anchorId, menuId, iconId, anchorOpenCss, textDirection, closeIconUrl, isClustered, x, y, height, width);

Parameters

anchorId

Type: string

The anchor element identifier (ID) of the pop-out menu.

menuId

Type: string

The menu element ID of the pop-out menu.

iconId

Type: string

The icon element ID of the pop-out menu.

anchorOpenCss

Type: string

The cascading style sheets (CSS) class to assign to the anchor element when the menu is open.

textDirection

Type: string

The text direction of the pop-out menu. The only recognized value is "ltr".

closeIconUrl

Type: string

The URL of the close icon for the pop-out menu.

isClustered

Type: Boolean

true to get the icon from clustered elements; otherwise, false.

x

Type: int

The offset, in pixels, of the left side of the close icon relative to the left side of the pop-out menu.

y

Type: int

The offset, in pixels, of the top of the close icon relative to the top of the pop-out menu.

height

Type: int

The height, in pixels, of the close icon for the pop-out menu.

width

Type: int

The width, in pixels, of the close icon for the pop-out menu.

Remarks

If the menu is already open, this method closes it and does not start a new menu.

Applies To

SP.UI.PopoutMenu Class

See Also

Reference

SP.UI.PopoutMenu Events

SP.UI.PopoutMenu Methods

SP.UI.PopoutMenu Properties

SP.UI Namespace