Scenario 5
function startContent() { // code to start an internal timer startTimer(); var timeLimitAction = GetValue( "cmi.time__action" ); // currentElapsedTime is a variable // set during the startTimer() function if ( currentElapsedTime > 120 ) { if ( timeLimitAction == "" ) { // continue to the next SCO } } }
function startContent() { // code to start an internal timer startTimer(); var timeLimitAction = GetValue( "cmi.time_limit_action" ); // currentElapsedTime is a variable // set during the startTimer() function if ( currentElapsedTime > 120 ) { if ( timeLimitAction == "continue,no message" ) { // continue to the next SCO } } }