// insert Lato font definition
document.write("
");
var Activity_subtype = Activity_manuscript_type.extend({
});
var Player_subtype = Player_manuscript_type.extend({
opened_from_portal: true,
show_activity_notes: function() {
var text = "The questions included below have been written to test students' understanding of the material presented in the animation. If you assign the Animation Activity, students will get two chances to answer each question correct (except for true/false questions).";
Standard_Dialog.alert(text, {title:"Instructor Notes"});
},
initialize: function() {
this._super();
// after we call this.super, re-initialize the activity to the custom
// activity type for this subtype
this.activity = new Activity_subtype();
},
initialize2: function() {
this._super();
// instructor notes at the top
if (player.activity.is_instructor()) {
var html = UI_Elements.get_button_html({
"label": "Instructor Notes"
, "fn": 'player.show_activity_notes()'
, "extra_class": "instructor_guidance_button"
});
$("[data-type=section]").prepend(html);
}
UI_Elements.activate_buttons();
// anything that you want to do after *everything* has been set up
// should be done here.
}
});
player = new Player_subtype();