Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 490 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 490 Bytes

iframe-resizer (cross domain)

How to use

Extract these files :

bin/iframe-resizer.min.js

bin/iframe-resizer-container.min.js

Inside iframe

<script src="iframe-resizer.min.js"></script>

Inside the page containing the iframe

<script src="iframe-resizer-container.min.js"></script>
<script>
  var iframeResizer = new IframeResizer("http://example.com");
</script>

http://example.com being the domain of the iframe content (authorized origin)