PHP Classes

File: template/View/render-iframe.phtml

Recommend this page to a friend!
  Classes of Fabrice Fesch   Melis Tool Creator   template/View/render-iframe.phtml   Download  
File: template/View/render-iframe.phtml
Role: Example script
Content type: text/plain
Description: Example script
Class: Melis Tool Creator
Module for the Melis CMS to create tools
Author: By
Last change:
Date: 1 year ago
Size: 484 bytes
 

Contents

Class file image Download
<?php
$id
= $this->zoneconfig['conf']['id'];
$melisKey = $this->zoneconfig['conf']['melisKey'];
?>
<div id="<?php echo $id ?>" data-melisKey="<?php echo $melisKey; ?>" class="tab-pane container-level-a">
    <script>
        function updateIframe(){
            $("#id_moduletpl_tool iframe").css("height", $(window).height() - 55);
        }
    </script>
    <iframe width="100%" height="100%" frameborder="0" onload="updateIframe();" src="<?php echo $this->url ?>"></iframe>
</div>