Window.location.href="http://www.longeco.com.cn/"
这是JAVASCRIPT定位到另一个地址的语句,有点像WINDOW.OPEN区别是前者不打开新页面 。
WINDOW.OPEN例子为:
window.open("http://www.longeco.com.cn/") ;
如果top信息不变,只改变中间的页面,用location.href方法。
location.href="http://www.longeco.com.cn/" ;