Hiding navigation items in a form

The following javascript in a form may be used to hide left-hand navigation items. Note that is unsupported because it is not documented in the SDK.

In this example, the navigation item is for More Addresses – replaces navAddresses with the appropriate item.

document.getElementById(“navAddresses”).style.display=”none”

To display the navigation item use:

document.getElementById(“navAddresses”).style.display=”inline”

Leave a Comment

Your email address will not be published. Required fields are marked *