git-svn-id: https://192.168.0.254/svn/Proyectos.FundacionLQDVI_WebCongresos/trunk@2 94ccb1af-fd9d-d947-8d90-7f70ea60afc8
27 lines
826 B
PHP
27 lines
826 B
PHP
<?php // no direct access
|
|
defined('_JEXEC') or die('Restricted access'); ?>
|
|
<script language="javascript" type="text/javascript">
|
|
function iFrameHeight() {
|
|
var h = 0;
|
|
if ( !document.all ) {
|
|
h = document.getElementById('blockrandom').contentDocument.height;
|
|
document.getElementById('blockrandom').style.height = h + 60 + 'px';
|
|
} else if( document.all ) {
|
|
h = document.frames('blockrandom').document.body.scrollHeight;
|
|
document.all.blockrandom.style.height = h + 20 + 'px';
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<iframe <?php echo $load; ?>
|
|
id="blockrandom"
|
|
name="<?php echo $target ?>"
|
|
src="<?php echo $url; ?>"
|
|
width="<?php echo $width ?>"
|
|
height="<?php echo $height ?>"
|
|
scrolling="<?php echo $scroll ?>"
|
|
align="top"
|
|
frameborder="0"
|
|
class="wrapper<?php echo $class ?>">
|
|
<?php echo JText::_('NO_IFRAMES'); ?>
|
|
</iframe>
|