navToItem
Navigates the course content window to the specified item in the current course.
You define item IDs on each item in the course manifest. This method
complies with any course content-specified security and access restrictions, such as results visible date
or content sequencing rules.
Syntax
navToItem (String itemID) : void
Parameters
- itemID – The ID of the item in the current course to navigate to.
Returns
void
Example
This example navigates to the item with ID 'discussion_week_one'.
var api = findApiHost(window);
api.navToItem('discussion_week_one');
See Also