Plugin Directory

Changeset 1122180


Ignore:
Timestamp:
03/27/2015 01:07:32 PM (11 years ago)
Author:
thyagotc
Message:

Set iframe resizer to allow cross-site scripting, allowing custom subdomains for competitions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • beeliked-microsite/trunk/beelikedmicrosite.php

    r1111143 r1122180  
    44Plugin URI: http://beeliked.com
    55Description: Allows the insertion of code to display a BeeLiked microsite within an iframe. The tag to insert the code is: <code>[BEELIKED_MICROSITE]</code>, containing url, width, height and autosize parameters.
    6 Version: 1.0.1
     6Version: 1.0.2
    77Author: Beeliked
    88Author URI: http://beeliked.com
     
    120120        $return = "<iframe load-url=\"{$atts['url']}\" id=\"bee-microsite-iframe-{$this->iframeId}\" class=\"bee-microsite-iframe\" width=\"{$atts['width']}\" height=\"{$atts['height']}\" data-autosize=\"{$autosize}\" frameborder=\"0\"></iframe>
    121121<script type=\"text/javascript\" src=\"http://beta.beeliked.com/microsite/js/beeliked.clientIframe.js\"></script>
    122 <script type=\"text/javascript\">jQuery(document).ready(function() { jQuery('.bee-microsite-iframe[data-autosize=1]').iFrameResize({heightCalculationMethod : 'max'}); });</script>";
     122<script type=\"text/javascript\">jQuery(document).ready(function() { jQuery('.bee-microsite-iframe[data-autosize=1]').iFrameResize({heightCalculationMethod : 'max', checkOrigin: false}); });</script>";
    123123        return $return;
    124124    }
Note: See TracChangeset for help on using the changeset viewer.