Skip to content

Commit

Permalink
Added class name for the IFRAME element
Browse files Browse the repository at this point in the history
  • Loading branch information
bobopinna committed Jun 5, 2006
1 parent b767995 commit 7cef1df
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mod/scorm/player.php
Expand Up @@ -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 ?>">
Expand Down Expand Up @@ -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 ?>">
Expand Down

0 comments on commit 7cef1df

Please sign in to comment.