SP.UI.PopoutMenu.getViewPortWidth() Method
Applies to: SharePoint Foundation 2010
In this article
Return Value
Remarks
Applies To
Gets the width, in pixels, of the viewable area of the menu.
var value = SP.UI.PopoutMenu.getViewPortWidth();
Return Value
Type: int
The width, in pixels.
Remarks
This method is supported for Windows Internet Explorer, Mozilla Firefox, Apple Safari, and Opera.