用<iframe>才能做到一个滚动条。<!--page1.htm-->
<html>
<script>
function init() {
document.all.page2.src = 'page2.htm';
}
window.onload = init;
</script>
1111111111111111111111<br>
1111111111111111111111<br>
1111111111111111111111<br>
1111111111111111111111<br>
1111111111111111111111<br>
1111111111111111111111<br>
1111111111111111111111<br>
1111111111111111111111<br>
1111111111111111111111<br>
1111111111111111111111<br>
<br><iframe id='page2' name='page2' src='about:blank' frameborder=0 scrolling=no width='100%' height=1></iframe>
</html><!--page2.htm-->
<html>
<script>
function init() {
parent.document.all.page2.height = document.body.scrollHeight;
}
window.onload = init;
</script>
22222<br>
22222<br>
22222<br>
22222<br>
22222<br>
22222<br>
22222<br>
22222<br>
22222<br>
22222<br>
22222<br>
22222<br>
22222<br>
22222<br>
22222<br>
22222<br>
22222<br>
</html>
<html>
<script>
function init() {
document.all.page2.src = 'page2.htm';
}
window.onload = init;
</script>
1111111111111111111111<br>
1111111111111111111111<br>
1111111111111111111111<br>
1111111111111111111111<br>
1111111111111111111111<br>
1111111111111111111111<br>
1111111111111111111111<br>
1111111111111111111111<br>
1111111111111111111111<br>
1111111111111111111111<br>
<br><iframe id='page2' name='page2' src='about:blank' frameborder=0 scrolling=no width='100%' height=1></iframe>
</html><!--page2.htm-->
<html>
<script>
function init() {
parent.document.all.page2.height = document.body.scrollHeight;
}
window.onload = init;
</script>
22222<br>
22222<br>
22222<br>
22222<br>
22222<br>
22222<br>
22222<br>
22222<br>
22222<br>
22222<br>
22222<br>
22222<br>
22222<br>
22222<br>
22222<br>
22222<br>
22222<br>
</html>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货