[svn r12661] Made fullscreen popup window resizable

skala
Yannick Warnier 19 years ago
parent 4b8a052b3d
commit afdb8d39fb
  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";
/*]]>*/
</style>';
$htmlHeadXtra[] = "<script>window.open('$src','content_name','toolbar=0,location=0,status=0,scrollbars=1');</script>";
$htmlHeadXtra[] = "<script>window.open('$src','content_name','toolbar=0,location=0,status=0,scrollbars=1,resizable=1');</script>";
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)
$_SESSION['loaded_lp_view'] = true;

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

Loading…
Cancel
Save