87,907
社区成员
发帖
与我相关
我的任务
分享
<html>
<head>
<style>
DIV {width:200;height:200;border:solid 1px;overflow-x:hidden;overflow-y:scroll;}
body {margin:0}
</style>
</head>
<body>
<div onscroll="ToScroll.scrollTop = this.scrollTop;">
<table border="1" width="99%" height="99%">
<tr height="1000">
<td width="99%">
</td>
</tr>
</table>
</div>
<div id="ToScroll" style="left:320px;position:absolute;top:0px;">
<table border="1" width="99%" height="99%">
<tr height="1000">
<td width="99%">
</td>
</tr>
</table>
</div>
</body>
</html>
<html>
<head>
<style>
DIV {width:200;height:200;border:solid 1px;overflow-x:hidden;overflow-y:scroll;}
body {margin:0}
</style>
</head>
<body>
<div onscroll="ToScroll.scrollTop = this.scrollTop;">
<table border="1" width="99%" height="99%">
<tr height="1000">
<td width="99%">
<iframe name="queryListFrame2" src="http://www.hao123.com"/>
</td>
</tr>
</table>
</div>
<div id="ToScroll" style="left:320px;position:absolute;top:0px;">
<table border="1" width="99%" height="99%">
<tr height="1000">
<td width="99%">
<iframe name="queryListFrame2" src="http://www.hao123.com"/>
</td>
</tr>
</table>
</div>
</body>
</html>