navigatorfoki.blogg.se

Iframe resizer
Iframe resizer




iframe resizer

The first ( ) is for the page hosting the iFrames. The package contains two minified JavaScript files in the js folder. This package can be installed via NPM ( npm install iframe-resizer -save). Iframe-resizer is the result of many 100s of hours of work, if you would like to join others in showing support for the continued development of this project, then please feel free to buy me a coffee. Supports IE 11 ( V3 supports back to IE8).

IFRAME RESIZER PDF

  • Works with ViewerJS to support PDF and ODF documents.
  • Provides onMouseEnter and onMouseLeave events for the iFrame.
  • Exposes parent position and viewport size to the iFrame.
  • Provides custom sizing and scrolling methods.
  • Fixes in page links in iFrame and supports links between the iFrame and parent page.
  • Simplified messaging between iFrame and host page via postMessage.
  • Detects events that can cause the page to resize (Window Resize, CSS Animation and Transition, Orientation Change and Mouse events).
  • Detects changes to the DOM that can cause the page to resize using MutationObserver.
  • Provides a range of page size calculation methods to support complex CSS layouts.
  • Domain authentication for cross domain iFrames.
  • iframe resizer

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






    Iframe resizer