0
- 等待外部的iFrame加載
- 調整大小外部來源的iFrame(例如:100像素X 40像素)
- 偏移外部來源的iFrame(例如:25像素X 50像素)
示例代碼:
<html>
<body>
<p>Here's Google's Logo Today:</p>
<iframe id="google_logo" src="http://www.google.com/search?q=stackoverflow"></iframe>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {});
</script>
</body>
</html>
我知道你不能得到外部內容iFrame,但如何調整大小和抵消?
我也知道我的例子很荒謬。