Skip to content

renuo/iframe-resizing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Automatic iframe resizing

Here we provide you with an example of how an iframe can report its height to the parent window. The solution is compatible with IE10.

The process is the following:

  1. The parent window subscribes to window events of the iframe.
  2. The iframe returns its height onload and on turbolinks events (optional).
  3. The parent sets the height of the iframe element.

About

Inter iframe messaging for automatic resizing

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages