Permalink
Browse files

Added class name for the IFRAME element

  • Loading branch information...
bobopinna
bobopinna committed Jun 5, 2006
1 parent b767995 commit 7cef1dfd3d1cef2ec5db5337ebd373796ac335e1
Showing with 3 additions and 1 deletion.
  1. +3 −1 mod/scorm/player.php
View
@@ -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 ?>">

0 comments on commit 7cef1df

Please sign in to comment.