Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added class name for the IFRAME element

  • Loading branch information...
commit 7cef1dfd3d1cef2ec5db5337ebd373796ac335e1 1 parent b767995
bobopinna authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 mod/scorm/player.php
View
4 mod/scorm/player.php
@@ -340,7 +340,8 @@
if (strpos('MSIE',$_SERVER['HTTP_USER_AGENT']) === false) {
/// Internet Explorer does not has full support to objects
?>
- <iframe id="main"
+ <iframe id="main"
+ class="scoframe"
width="<?php echo $scorm->width<=100 ? $scorm->width.'%' : $scorm->width ?>"
height="<?php echo $scorm->height<=100 ? $scorm->height.'%' : $scorm->height ?>"
src="loadSCO.php?id=<?php echo $cm->id.$scoidstr.$modestr ?>">
@@ -390,6 +391,7 @@ function openpopup(url,name,options,width,height) {
/// Internet Explorer does not has full support to objects
?>
<iframe id="main"
+ class="scoframe"
width="<?php echo $scorm->width<=100 ? $scorm->width.'%' : $scorm->width ?>"
height="<?php echo $scorm->height<=100 ? $scorm->height.'%' : $scorm->height ?>"
src="loadSCO.php?id=<?php echo $cm->id.$scoidstr.$modestr ?>">
Please sign in to comment.
Something went wrong with that request. Please try again.