The IFrame Box Type

The IFrame Box Type is a very helpful and robust way to create a box which contains an IFrame. Using the HTML iframe tag can be tricky and unpredictable in some situations. The IFrame Box Type takes care of the intricacies for you. Let's see how we can set one up with Engage Box.

The IFrame Box Type Selection

First, you need to make sure that you have selected the "IFrame" Box type as shown in the screenshot below.

the iframe box type

The IFrame Options

Then, you should type the IFrame's URL. You can do that by writing the URL directly in the IFrame options.

You can also set a Height for your IFrame using pixels or a percentage. Depending on the IFrame's content, there may be a need for scrollbars. Setting the Scrollbars to Auto can be the recommended option since the scrollbars appear only when the IFrame's height isn't enough.

Also, for the developers among you, you can directly type your HTML Attributes in the respected field and they will be added as they are in the IFrame tag.

the iframe customizations for the iframe box type

The Box type's Behavior

Furthermore, you can select when will the IFrame be loaded into your webpage. On most occassions, it is recommended to use the "After Box Open" option since the loading and rendering performance of your webpage is the least affected this way.

However, you can also choose:

  1. Before Box Open: This way the IFrame will load even before the box opens.
  2. On Page Load: This way the IFrame will load when your webpage has finished loading completely.
  3. Disabled: This way the IFrame will load as if it was part of your webpage in a sequentially manner.

When the box closes you can choose whether to remove the IFrame from your webpage completely. If you choose "Yes" then this means that the box will have to create network requests again for the same IFrame in case it opens up again.

the box behavior on iframe box type

The text before the IFrame

Finally, if you would like to add some descriptive text before the IFrame's content you can add it in the editor like in the screenshot below.

the text before the iframe box type

Notes

It should be noted that a website can be configured so that they are not allowed to be viewed through an iframe from a different website. In this case the iframe will load a blank page.

It should also be noted that some popular browsers disallow the loading of iframes which contain non-HTTPS content on webpages which are under HTTPS. This policy is called Mixed Content Blocking and has been the norm since at least 2013.

Releases

Download older releases of the extensions you have a valid subscription for.

Download Old Releases

Documentation

Read a growing list of tutorials, articles and frequently asked questions.

Read Documentation

Support

I am always happy to help! If you can't find answers, feel free to send me a message.

Contact me
Get Engage Box for Joomla! for just 29€ Get it now!
Don't miss a thing!
Stay up-to-dated with my latest blog articles
Receive updates for my Joomla Extensions
No Spam! It's a promise.