I’m trying to implement a tab like appraoch to enable switching between different websites displayed in iFrames. However it appears to me iFrames reload the given website when set invisible and visible again (?).
When I create two blocks with iFrames in them and set the block position to absolute, I am able to overlay them. However, when I try to make this dynamic by feeding a list of urls as repeater logic for a block with an iFrame in it, the iFrames instead split the screen.
However it appears to me iFrames reload the given website when set invisible and visible again (?).
Could you tell me how you manage that? If you trying to do it using our Display property or Visibility handlers - it is an expected behavior, because the Iframe component is unmounted.
You could try to manage visibility using style properties(CSS) in the Styles Logic handler. Not obviously, but these style properties have the same name as our system properties: visibility and display
Thanks for the fast reply. Your solution sounds promising. However I fail to recreate what you showed here. I used the blocks shown in the following picture.