GenABNMenuElementWithImage method: Leaf class

Syntax

GenABNMenuElementWithImage(CREF_img_class_ID)

Description

Note:

SmartNavigation has been desupported. This method remains for backward compatibility only.

Use this method to generate a single <li> element for this tree leaf using the specified custom CREF icon.

The <li> element from this leaf and the <li> elements from its sibling leaves and nodes are concatenated to form an HTML code fragment to be consumed by the portal.

Parameters

Parameter Description

CREF_img_class_ID

Specifies the class ID for a custom CREF icon as a string. This class must be defined in a style sheet, and the style sheet must be assigned to the SmartNavigation folder.

This is an optional parameter. To use the default CREF icon, you can omit this parameter or specify the null string "". However, to ensure forward compatibility, you must specify the null string.

Returns

A string representing the <li> element for this tree leaf.