<div id="div1" style="overflow:hidden;width:170px;height:1470px;"> 
<iframe id="iframe1" src="http://hwbot.org/rankings/worldrecords" width="1002" height="1800" scrolling="no" frameborder="0"> </iframe> 
</div> 
<script> 
div1.scrollTop=150; 
div1.scrollLeft=785; 
</script>火狐里不起作用哦,能帮看看么,谢谢

解决方案 »

  1.   


    <div id="div1" style="overflow:hidden;width:170px;height:1470px;"> 
    <iframe id="iframe1" src="http://hwbot.org/rankings/worldrecords" width="1002" height="1800" scrolling="no" frameborder="0"> </iframe> 
    </div> 
    <script>
    function doit(){
    document.getElementById("div1").scrollTop=150; 
    document.getElementById("div1").scrollLeft=785; 
    }
    setTimeout("doit()",3000)
    </script> 
      

  2.   


    function doit(){
    document.getElementById("div1").scrollTop=150; 
    document.getElementById("div1").scrollLeft=785; 
    }