Dynamically resize iframe

后端 未结 5 971
执笔经年
执笔经年 2020-12-30 05:32

Situation: I\'m working on a responsive design that involves the typical HTML/CSS combo. Everything is working nicely except in one case where there is an i

5条回答
  •  遥遥无期
    2020-12-30 06:19

    For cross-domain iframes, you will need to use the postMessage API. It's quite complex. Check out this Cross Domain Iframe Resizing tutorial.

提交回复
热议问题