GenABNMenuElementWithImage method: Node class
Syntax
GenABNMenuElementWithImage(initial_node, fldr_img_class_ID, 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 node using the specified custom folder and CREF icons.
The <li> element from this node and any sibling nodes and leaves are concatenated to form an HTML code fragment to be consumed by the portal.
Parameters
| Parameter | Description |
|---|---|
|
initial_node |
Specifies the initial chart node. Typically, this is returned directly by calling the GetABNInitialNode function. |
|
fldr_img_class_ID |
Specifies the class ID for a custom folder 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 folder icon, you can omit this parameter or specify the null string "". However, to ensure forward compatibility, you must specify the null string. |
|
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 node.