3 ms·
You could do this with js in the child document, if its important to keep js out of the parent.
by jefftk 1y ago
You could do this with js in the child document, if its important to keep js out of the parent.
- silvestrov 1y agono, not if it is cross site URL. Then you need a postMessage to send body size to parent frame which then needs to listen for messages and resize the iframe element.
- jefftk 1y agoTotally! I thought we were talking about the same site case.