Saturday, April 4, 2015

iFrame Resizer : jQuery plugin to Resizing iFrame to Content size

This library enables the automatic resizing of the height and width of both same and cross domain iFrames to fit the contained content. It provides a range of features to address the most common issues with using iFrames, these include:



  • Height and width resizing of the iFrame to content size.

  • Works with multiple and nested iFrames.

  • Automatic domain authentication for cross domain iFrames.

  • Provides a range of page size calculation methods to support complex CSS layouts.

  • Detects changes to the DOM that can cause the page to resize using MutationObserver.

  • Detects events that can cause the page to resize (Window Resize, CSS Animation and Transition, Device Orientation and Mouse events).

  • Simplified messaging from iFrame to host page via postMessage.

  • Fixes in page links in iFrame and supports links from the iFrame to the parent page.

  • Provides custom sizing and scrolling methods.

  • Works with ViewerJS to support PDF and ODF documents.

  • Fallback support down to IE8.


The post iFrame Resizer : jQuery plugin to Resizing iFrame to Content size appeared first on jQuery Rain.




by Admin via jQuery Rain

No comments:

Post a Comment