Module Description
Synopsis This module makes the iFrame Resizer javascript library available on your Drupal site. With it enabled, you can "keep same and cross domain iFrames sized to their content with support for window/content resizing, in page links, nesting and multiple iFrames."

In other words, if you're sick of seeing scrollbars on content iFramed into your site, this module will help you by dynamically resizing iFrames so that no scrollbars are present.

Requirements To use the module, you must first download the JavaScript library from the project's github page. Unpack and rename the resulting directory "iframe-resizer" and place it in your Drupal installation's "sites/all/libraries" directory (or the appropriate multisite or profiles directory). Make sure the path to the library's main file becomes: "sites/all/libraries/iframe-resizer/js/iframeResizer.min.js".

Once the library is in place, you can configure the module at admin/config/user-interface/iframe_resizer. Be sure to assign the 'administer iframe resizer' permission to any role that should be able to configure the module.

If your site is iFraming in another site, the child site (i.e. the site listed in your iFrame tag's 'src' attribute) must include the js/iframeResizer.contentWindow.js or js/iframeResizer.contentWindow.min.js file from the iFrame Resizer library.

If your site is being iFramed into another site (i.e. your site is in the 'src' attribute of the iFrame HTML tag), the parent site must include the js/iframeResizer.js or js/iframeResizer.min.js file from the iFrame Resizer library.

Project Usage
726
Creation Date
Changed Date
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module solves the issue of scrollbars on iFramed content by dynamically resizing iFrames to fit their content.
Data Name
iframe_resizer

OPENAI CHATBOT

OPENAI CHATBOT

14:29:03
Generic Chatbot
Hi, I'm a Drupal module expert powered by OpenAI, answering your questions about the Drupal module ecosystem. How can I be helpful today? Please note that we will log your question.