这里有一个类似的问题:Resize iframe height based on content height in it。但这与亚马逊 aStore 无关。
创建 Amazon aStore 时,您会得到如下代码:
< iframe src="http://astore.amazon.com/AMAZON_SOME_STORE_HERE-20" width="90%" height="4000" frameborder="0" scrolling="no">
问题是静态高度“4000”。我应该在代码中添加什么以使其动态调整到 aStore 的高度?