LXD Style Guide

iPD’s Guide for Course Design & Development

Grading

Standard

The standard with which Michigan Virtual courses need to comply. 

Michigan Virtual Storyline courses will be graded based on the following criteria:

  1. Graded based on survey results 
  2. Grade based on slides viewed

 

Requirements 

What exactly do course developers need to include in order to comply with this standard? 

Grades Based on Survey Results

On the survey results page, add the trigger: execute JavaScript when Timeline Starts

Input the following javascript code based on the following types of results:

function findLMSAPI(win) {

if (win.hasOwnProperty(“GetStudentID”)) return win;

else if (win.parent == win) return null;

else return findLMSAPI(win.parent);

}

var player=GetPlayer();

var lmsAPI = findLMSAPI(this);

var sstatus=lmsAPI.GetStatus();

console.log(‘Status is: ‘+sstatus);

if(sstatus == 1){

lmsAPI.SetScore(100, 100, 0);

console.log(‘Your status is passed and your score has been set to 100/100’);

}else{

console.log(‘Status is not passed yet’);

};

Grades Based on Slides Viewed

On the first master slide, add the trigger: execute JavaScript when Timeline starts

function findLMSAPI(win) {

if (win.hasOwnProperty(“GetStudentID”)) return win;

else if (win.parent == win) return null;

else return findLMSAPI(win.parent);

}

var player=GetPlayer();

var lmsAPI = findLMSAPI(this);

var sstatus=lmsAPI.GetStatus();

console.log(‘Status is: ‘+sstatus);

lmsAPI.SetScore(100, 100, 0);

console.log(‘Your status is passed and your score has been set to 100/100’);

 

Implementation 

How can course developers implement this standard? What is the process for doing so?

Once ID has completed the storyline creation, input the javascript code based on the type of information being tracked.

Slide Completion 

If the ID wants to grade learners by the number of slides they complete, they would input this javascript code into the first master slide with the trigger: execute JavaScript when Timeline Starts

function findLMSAPI(win) {

if (win.hasOwnProperty(“GetStudentID”)) return win;

else if (win.parent == win) return null;

else return findLMSAPI(win.parent);

}

var player=GetPlayer();

var lmsAPI = findLMSAPI(this);

var sstatus=lmsAPI.GetStatus();

console.log(‘Status is: ‘+sstatus);

if(sstatus == 1){

lmsAPI.SetScore(100, 100, 0);

console.log(‘Your status is passed and your score has been set to 100/100’);

}else{

console.log(‘Status is not passed yet’);

};

Survey results

If the ID wants to grade learners by the survey results, they would input this javascript code on the survey results page, and add the trigger: execute JavaScript when Timeline Starts

function findLMSAPI(win) {

if (win.hasOwnProperty(“GetStudentID”)) return win;

else if (win.parent == win) return null;

else return findLMSAPI(win.parent);

}

var player=GetPlayer();

var lmsAPI = findLMSAPI(this);

var sstatus=lmsAPI.GetStatus();

console.log(‘Status is: ‘+sstatus);

lmsAPI.SetScore(100, 100, 0);

console.log(‘Your status is passed and your score has been set to 100/100’);

 

Resources

What resources would help a developer implement this standard appropriately?