Page loading Time with Modal - iFrame

4 replies · opened Jul 13, 2021

SSISCANJul 13, 2021

We have an issue with the Page loading Time at https://adm-cba.rof.ca/Cus/Cus_LCC.php (20 - 25 seconds)

It relates to the Modal iFrame, if we remove the iFrame line of code it loads as expected.

Would you be able to offer any advice/help?

Credentials: -
UserName: SemiColon
Password: SC4321
Please be patient with the page loading it will take up-to 25 seconds.

SSemicolon WebSTAFFJul 14, 2021

Hello,

Yes, the issue is due to iFrames which is being loaded multiple times on the Page. And this is due to the use of data-lightbox="inline" and then loading the iframes inside it. We recommend using data-lightbox="iframe" instead. This way the iframe will only be loaded when clicked on the Link.

Example:
[ch_pre][/ch_pre]

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

SSISCANJul 14, 2021

Hi

Do I need more code?

I inserted into https://adm-cba.rof.ca/Cus/Cus_LCC.php

Our Code: -
" data-lightbox="iframe" frameborder="0" class="w-100" height="475">

Source Code:-

Page loads great but Modal not working, have I missed something?

Text File attached.

Regards
Barry

SSISCANJul 14, 2021

Hi

Resolved and now working.

Thanks for your help.

Regards
Barry

SSemicolon WebSTAFFJul 14, 2021

What we meant was that you will have to replace the data-lightbox="inline" entirely with data-lightbox="frame".

Glad that your issue was resolved.

Do let us know if we can help you with anything else.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard