[svn r12653] Added scrollbars to popup window

skala
Yannick Warnier 19 years ago
parent e8d7f3b542
commit 8c0b593b8b
  1. 2
      main/newscorm/lp_view.php
  2. 2
      main/newscorm/scorm_api.php

@ -129,7 +129,7 @@ if($_SESSION['oLP']->mode == 'fullscreen'){
@import "scorm.css"; @import "scorm.css";
/*]]>*/ /*]]>*/
</style>'; </style>';
$htmlHeadXtra[] = "<script>window.open('$src','content_name','toolbar=0,location=0,status=0');</script>"; $htmlHeadXtra[] = "<script>window.open('$src','content_name','toolbar=0,location=0,status=0,scrollbars=1');</script>";
include_once('../inc/reduced_header.inc.php'); include_once('../inc/reduced_header.inc.php');
//set flag to ensure lp_header.php is loaded by this script (flag is unset in lp_header.php) //set flag to ensure lp_header.php is loaded by this script (flag is unset in lp_header.php)
$_SESSION['loaded_lp_view'] = true; $_SESSION['loaded_lp_view'] = true;

@ -875,7 +875,7 @@ function switch_item(current_item, next_item){
if(!cont_f){ if(!cont_f){
logit_lms('In switch - content frame not found',0); logit_lms('In switch - content frame not found',0);
<?php if($oLP->mode = 'fullscreen'){ ?> <?php if($oLP->mode = 'fullscreen'){ ?>
cont_f = window.open(''+mysrc,'content_name','toolbar=0,location=0,status=0'); cont_f = window.open(''+mysrc,'content_name','toolbar=0,location=0,status=0,scrollbars=1');
<?php } else { ?> <?php } else { ?>
return false; return false;
<?php } ?> <?php } ?>

Loading…
Cancel
Save