你可以这样
newWindow=document.getElementById("tt");
newWinddow.moveTo(50,50)
这个里面的数字你自己确定位置,根据你的页面调整里面的数字

解决方案 »

  1.   

    懂的应该很简单的。只是不熟悉javascript,真郁闷。
      

  2.   

    <iframe   id="tt"   name="tt"   src="http://www.baidu.com"   width="400"   height="160"   frameborder="no"   border="0"   marginwidth="0"   marginheight="140"   scrolling="no" onload="this.height = this.document.body.offsetHeight;this.width=this.document.body.offsetWidth;">
    自适应高度的iframe,不知道是不是你想要的效果
      

  3.   

    我要的不是自适应高度,网上搜了很久没找到类似的,就是让我在iframe里面的页面自动移动到某个位置,而不是最开始的位置。
      

  4.   

    因为安全原因,moveTo()等函数不再被IE、Firfox支持了。