HomeNavigationNode Property

Microsoft FrontPage Visual Basic

Returns a NavigationNode object for the home page.

expression.HomeNavigationNode

expression    Required. An expression that returns a WebEx object.

Remarks

The home navigation node is the starting point for all navigation addressing within the navigation structure. Whenever you want to add, move, or delete a node, change any of the attributes for a node, or just access the current navigation structure, you use the HomeNavigationNode object as a starting point. The only time you would use the RootNavigationNode object to access the navigation structure is when you want to add or access a navigation node at the same level as the HomeNavigationNode object.

Example

The following example accesses the HomeNavigationNode object and retrieves the URL for the home page.

Private Sub GetHomeNavigationNode()
    Dim myWeb As WebEx
    Dim myHomeNode As NavigationNode
    Dim myHomeUrl As String

    Set myWeb = ActiveWeb

    myHomeNode = myWeb.HomeNavigationNode
    myHomeUrl = myHomeNode.Url
End Sub