日期:2014-05-20  浏览次数:20391 次

如何控制内嵌框架中滚动条的位置??
<table   width= "100% "     border= "0 "   cellspacing= "0 "   cellpadding= "5 ">
    <tr>
        <td   valign= "top ">
<iframe   src= "http://www.177ks.com "   name= "mainFrame "   width= "100% "   height= "500 "> </iframe>
</td>
        </tr>
</table>
<script> document.getElementById( "mainFrame ").document.body.scrollTop=200; </script>

上面这样写不行,怎么写呀???

------解决方案--------------------
脚本不可跨域操作