EPiServer ActionWindow Plugin - set bigger window size

A neat script to set a larger window area for the EpiServer CMS 6 plugin iframe.

Works in both Mozilla and Internet Explorer.

Place this script in the plugin ascx:
<script type="text/javascript">
    if (window.parent != null && window.parent.parent != null && window.parent.parent.document.all['epCustomDIV'] != null) {
        window.parent.parent.document.all['epCustomDIV'].style.width = '500px';
    }
</script>

Inga kommentarer:

Skicka en kommentar