SP.Navigation.topNavigationBar Property
Applies to: SharePoint Foundation 2010
In this article
Property Value
Applies To
Remarks
Gets a value that collects navigation nodes corresponding to links in the top navigation bar of the site.
var value = SP.Navigation.get_topNavigationBar();
Property Value
Type: SP.NavigationNodeCollection
Applies To
Remarks
It must be null if the top navigation bar is defined in a different site or if the top navigation bar node collection has been deleted.