| Server IP : 180.180.241.3 / Your IP : 216.73.216.35 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /AppServ/www/app/webroot/news/components/com_jfusion/views/plugin/tmpl/ |
Upload File : |
<?php
/**
* @package JFusion
* @subpackage Views
* @author JFusion development team
* @copyright Copyright (C) 2008 JFusion. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
*
* @var jfusionViewPlugin $this
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
?>
<script type="text/javascript">
function getElement(aID)
{
return (document.getElementById) ?
document.getElementById(aID) : document.all[aID];
}
function getIFrameDocument(aID){
var rv = null;
var frame=getElement(aID);
// if contentDocument exists, W3C compliant (e.g. Mozilla)
if (frame.contentDocument) {
rv = frame.contentDocument;
} else {
// bad IE ;)
rv = document.frames[aID].document;
}
return rv;
}
function adjustMyFrameHeight()
{
var frame = getElement("blockrandom");
var frameDoc = getIFrameDocument("blockrandom");
frame.height = frameDoc.body.offsetHeight;
}
</script>
<div class="contentpane<?php echo $this->params->get('pageclass_sfx','')?>">
<iframe
<?php if($this->params->get('wrapper_autoheight', 1)) {?>
onload="adjustMyFrameHeight();"
<?php }?>
id="blockrandom" name="iframe" src="<?php echo $this->url; ?>"
width="<?php echo $this->params->get('wrapper_width', '100%'); ?>"
height="<?php echo $this->params->get('wrapper_height', '500'); ?>"
<?php if ($this->params->get('wrapper_transparency')) { ?>
allowtransparency="true"
<?php } else { ?>
allowtransparency="false"
<?php } ?>
style="vertical-align:top;border-style:none;overflow:<?php echo $this->params->get('wrapper_scroll', 'auto'); ?>;" class="wrapper">
<?php echo JText::_('OLD_BROWSER');?>
</iframe>
</div>