if (alsowidth) {
scorm_layout_widget.setStyle('width', '');
var newwidth = scorm_get_htmlelement_size('content', 'width');
- if (newwidth > 600) {
- scorm_layout_widget.setStyle('width', newwidth+'px');
- }
- else {
- scorm_layout_widget.setStyle('width', '600px');
- }
}
// make sure that the max width of the TOC doesn't go to far
/////////////////////////////////////////////////////////////////////////////////
-$module->version = 2011013100; // The (date) version of this module
+$module->version = 2011021400; // The (date) version of this module
$module->requires = 2010080300; // The version of Moodle that is required
$module->cron = 300; // How often should cron check this module (seconds)?