Resizing an iframe based on content

后端 未结 21 2460
南方客
南方客 2020-11-21 07:40

I am working on an iGoogle-like application. Content from other applications (on other domains) is shown using iframes.

How do I resize the iframes to fit the heigh

21条回答
  •  日久生厌
    2020-11-21 08:17

    If you do not need to handle iframe content from a different domain, try this code, it will solve the problem completely and it's simple:

    
    
    
    

提交回复
热议问题