asp、jsp就不同了,服务器会先解析运行其中包含的asp或jsp代码(包括include),然后再把生成的html代码发送给客户端浏览器,所以这时候浏览器中看到的就是include解析后的结果。
通过div嵌套iframe实现<script type="text/javascript">
$(function () {
document.getElementById("ifm").src =""//Url地址
$("#ifm").load(function () {
var h = document.body.clientHeight
var w = document.body.clientWidth
document.getElementById("ifm").height = h + "px"
document.getElementById("ifm").width = w + "px"
})
})
</script>
<body style="overflow-y:hiddenoverflow-x:hidden">
<div id="pageone" style="">
<iframe name="ifm" id="ifm" scrolling="yes" style="background-color: transparent" marginwidth="0" marginheight="0" frameborder="0">
</iframe>
</div>
</body>
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)