[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

/modules/mod_wrapper/tmpl/ -> default.php (source)

   1  <?php // no direct access
   2  defined('_JEXEC') or die('Restricted access'); ?>
   3  <script language="javascript" type="text/javascript">
   4  	function iFrameHeight() {
   5          var h = 0;
   6          if ( !document.all ) {
   7              h = document.getElementById('blockrandom').contentDocument.height;
   8              document.getElementById('blockrandom').style.height = h + 60 + 'px';
   9          } else if( document.all ) {
  10              h = document.frames('blockrandom').document.body.scrollHeight;
  11              document.all.blockrandom.style.height = h + 20 + 'px';
  12          }
  13      }
  14  </script>
  15  
  16  <iframe <?php echo $load; ?>
  17      id="blockrandom"
  18      name="<?php echo $target ?>"
  19      src="<?php echo $url; ?>"
  20      width="<?php echo $width ?>"
  21      height="<?php echo $height ?>"
  22      scrolling="<?php echo $scroll ?>"
  23      align="top"
  24      frameborder="0"
  25      class="wrapper<?php echo $class ?>">
  26      <?php echo JText::_('NO_IFRAMES'); ?>
  27  </iframe>


Generated: Wed Mar 28 15:54:07 2012 Cross-referenced by PHPXref 0.7.1