当前位置: 首页 > 网络学院 > 客户端脚本教程 > HTML DOM > DOM History

HTML DOM
DOM Input Checkbox
DOM Input File 对象
DOM Input Hidden对象
DOM Input Password 对象
DOM Input Radio 对象
DOM Input Reset 对象
DOM Input Submit 对象
DOM Input Text 对象
DOM Link 对象
DOM Location 对象
DOM Meta 对象
DOM Navigator 对象
DOM 对象
DOM Option 对象
DOM Screen 对象
DOM Select 对象
DOM Style 对象
DOM Table 对象
DOM TableData 对象
DOM TableHeader 对象

HTML DOM 中的 DOM History


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-01   浏览: 919 ::
收藏到网摘: n/a

History Object
History 对象

The History object is an object that can be accessed through the history property of the Window object.
历史对象是一个可以通过Window的历史属性来被访问的对象

The History object consists of an array of URLs. These URLs are the URLs the user has visited within a browser window.
历史对象包括URLs组,URLs是用户在一浏览器窗口内所访问过的URL地址

IE: Internet Explorer, F: Firefox, N: Netscape, W3C: World Wide Web Consortium (Internet Standard).

History 对象属性

Property属性 Description描述 IE F N W3C
length Returns the number of elements in the history list
返回history表中元素的数量
3 1 2  

History 对象方法

Method
方法
Description
描述
IE F N W3C
back() Loads the previous URL in the history list (same as clicking the Back button and to history.go(-1))
从历史列表中装入前一个 URL。
3 1 2  
forward() Loads the next URL in the history list (same as clicking the Forward button and to history.go(1))
从历史列表中装入下一个 URL。
3 1 2  
go(number|"URL") Loads a specified URL from the history list
从历史列表中装入 URL。
3 1 2  

评论 (0) All

登陆 | 还没注册?