链接页面:
<a href="Iframe.html?sub_iframe.html "> Iframe内的子窗口</a>
Iframe页面:
html:
<iframe id="myframe" src="pro_shyl.html" class="autoHeight" scrolling="no" width="100%" height="1600" frameborder="0" name="myframe">
</iframe>
js:
<script type="text/javascript">
if(location.search.substr(1)!=""){
document.getElementById('myframe').src=location.search.substr(1);
}
</script>
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请
点击举报。