go--------------------------------------------------------------------------------DescriptionLoads a URL in the History list. Syntax object.go(delta | location)Parameter Description delta | location delta is an integer representing a relative position in the History list. location is a string representing all or part of a URL in the History list. Return ValueNo return value. ResTrying to go past the beginning or end of the history does not generate an error. Instead, you are left at the current page. Applies Tohistory See Also back, forward
object.go(delta | location)Parameter Description
delta | location delta is an integer representing a relative position in the History list. location is a string representing all or part of a URL in the History list. Return ValueNo return value. ResTrying to go past the beginning or end of the history does not generate an error. Instead, you are left at the current page. Applies Tohistory See Also
back, forward
到http://203.64.35.73/dn60acht2/msdn/下载MSDN中的IEREF.chm
正数 代表前进
0 代表刷新
负数 代表后退window.history.go(-2)
后退两个窗口
参数是如何定义的???
<input type="button" onclick="history.go(-1)" value="返回上一页">
<input type="button" onclick="history.go(1)" value="返回下一页">比如我已经打开了3个窗口!!如何在第三个窗口里用这个方法回到第一个窗口中???
History对象是基于单个窗口的。
第个窗口有自己的History而他们之间互不干涉,是两个不同的环境.
所以,不能用history.go来实现,第三个窗口回到第一个窗口.HTML
http://vip.5d.cn/friday/upload/dhtml html&css.chm