Problems with iFrame inside an accordion

Everything else that doesn't fall into one of the other categories.
Dirk Geppert
Posts: 282
Joined: Fri Sep 22, 2017 7:02 am

Problems with iFrame inside an accordion

Post by Dirk Geppert »

I often use iFrames to integrate Spiderbasic webapps into a website.
Now I have an iFrame that is inside an accordion, that is folded up first.

Chrome, Opera and Edge render the iFrame (on page loading) correctly.
According to the debug, SpiderBasic can open a window in the size of the iFrame.

Only with FireFox it doesn't work. As long as the accordion is not unfolded, DesktopWidth() and DesktopHeigth() are zero.
So I use a timer to query the DesktopSize and create the window only when the accordion is unfolded.

But the problem is, that the box from CheckBoxGadgets() is not displayed.

Image
On the left picture the representation is correct. On the right side you can see the errors.

Does anyone know this problem? What can I do?
User avatar
Peter
Posts: 1086
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080
Contact:

Re: Problems with iFrame inside an accordion

Post by Peter »

There could be several events fired by the Accordion. What kind of accordion is this?
Dirk Geppert
Posts: 282
Joined: Fri Sep 22, 2017 7:02 am

Re: Problems with iFrame inside an accordion

Post by Dirk Geppert »

Unfortunately I have no idea what the accordion is built with. Possibly with dot net.
Here is the link to the page: https://tinyurl.com/y5fvphns
Post Reply