mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Merge branch 'wip-MDL-39227-master' of git://github.com/phalacee/moodle
This commit is contained in:
commit
e559265c10
@ -504,7 +504,10 @@ M.mod_scorm.init = function(Y, hide_nav, hide_toc, toc_title, window_name, launc
|
||||
|
||||
// navigation
|
||||
if (scorm_hide_nav == false) {
|
||||
scorm_nav_panel = new Y.YUI2.widget.Panel('scorm_navpanel', { visible:true, draggable:true, close:false, xy: [250, 450],
|
||||
var left = scorm_layout_widget.getUnitByPosition('left');
|
||||
navposition = Y.YUI2.util.Dom.getXY(left);
|
||||
navposition[1] += 200;
|
||||
scorm_nav_panel = new Y.YUI2.widget.Panel('scorm_navpanel', { visible:true, draggable:true, close:false, xy: navposition,
|
||||
autofillheight: "body"} );
|
||||
scorm_nav_panel.setHeader(M.str.scorm.navigation);
|
||||
|
||||
|
@ -12,6 +12,7 @@
|
||||
#page-mod-scorm-player #scormpage {position: relative;width: 100%;height: 100%;}
|
||||
#page-mod-scorm-player #scormpage #toctree {position:relative;width:100%;overflow-x: auto;overflow-y: auto;}
|
||||
#page-mod-scorm-player #tocbox {position: relative;left: 0px;width: 100%;height: 100%;font-size: 0.8em;}
|
||||
#page-mod-scorm-player #toctree { overflow: visible; }
|
||||
#page-mod-scorm-player #tochead {position: relative;text-align: center;top: 3px;height: 30px;}
|
||||
#page-mod-scorm-player #scormpage .scoframe {frameborder: 0;}
|
||||
|
||||
@ -39,3 +40,4 @@
|
||||
.path-mod-scorm.jsenabled .scorm-center { display:block;}
|
||||
.path-mod-scorm.jsenabled .toc { display:block;}
|
||||
.path-mod-scorm.jsenabled #scormpage #tocbox { display:block;}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user