ÍøÂçѧԺ w3popÉçÇø ÍøÂç×ÊÔ´ ITÐÂÎÅ

w3pop.com :: ÍøÂçѧԺ :: HTML DOM :: DOM History

»áÔ±µÇ½

ÕʺÅ

ÃÜÂë

»Ø´ð

¼ÇסÃÜÂë

Íü¼ÇÃÜÂë? ×¢²á

HTML DOM
DOM ½éÉÜ
HTML DOM ¾ÙÀý
DOM ²Î¿¼
DOM ÕªÒª
HTML DOM ʵÀý
DOM Anchor
DOM Applet
DOM Area
DOM Base ¶ÔÏó
DOM Basefont¶ÔÏó
DOM Body ¶ÔÏó
DOM Document ¶ÔÏ..
DOM ʼþ
DOM Form ¶ÔÏó
DOM Frame ¶ÔÏó
DOM Frameset ¶ÔÏ..
DOM History
DOM Iframe ¶ÔÏó
DOM Image ¶ÔÏó
HTML DOM Button¶..

DOM History


×÷Õß:w3pop.com ·­Òë/ÕûÀí:w3pop.com ·¢²¼:2007-04-28 ä¯ÀÀ:6519 :: ::

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