dom.source.doCodeNavItem()
dom.source.doCodeNavItem()
This function was omitted from Help. It belongs with the JavaScript API > Code > Code view functions.
Availability
Dreamweaver 8.
Description
Changes the Code view selection to the navigation function specified by the index
argument.
Arguments
index
The index
argument is an integer that specifies the index position of the function to select.The index is relative, meaning that 0 specifies the first function, 1 the second function and so on.
Returns
Nothing.
Example
The following example changes the current selection to the fourth navigation function in Code view.
dw.getDocumentDOM().source.doCodeNavItem(3);