Browse Source

Bug #2719 fix interference with the close button help button Chamilo

Juan Carlos Raña 14 years ago
parent
commit
ffcf79d7ab
2 changed files with 2 additions and 1 deletions
  1. 1 0
      main/document/document.php
  2. 1 1
      main/document/showinframesmin.php

+ 1 - 0
main/document/document.php

@@ -73,6 +73,7 @@ $(document).ready( function() {
 		lang: "'.$lang_yoxview.'",
 		flashVideoPlayerPath: "'.$mediaplayer_path.'",	  
         renderMenu: "false",
+		defaultDimensions: { iframe: { width: 800 }},
         titleAttribute:"alt"   
     });
     for (i=0;i<$(".actions").length;i++) {

+ 1 - 1
main/document/showinframesmin.php

@@ -159,5 +159,5 @@ if ($pathinfo['extension']=='wav' && api_get_setting('enable_nanogong') == 'true
 	echo '</div>';
 }
 else{
-	echo '<iframe border="0" frameborder="0" scrolling="no" style="width:90%; height:90%;"  id="mainFrame" name="mainFrame" src="'.$file_url_web.'?'.api_get_cidreq().'&amp;rand='.mt_rand(1, 10000).'"></iframe>';
+	echo '<iframe border="0" frameborder="0" scrolling="no" style="width:83%; height:83%;"  id="mainFrame" name="mainFrame" src="'.$file_url_web.'?'.api_get_cidreq().'&amp;rand='.mt_rand(1, 10000).'"></iframe>';
 }