Cascading Style Sheets Tutorial

JavaScript tips of how to use history on the website and forward

  Disanji how to use history on the website and forward 

  We can let you look at a different document syntax here, we are here to talk about the back () and forward () function of the two, if you own the paper, there is a link back to your own document is the last link document it, and Netscope browser provided by the back button function is not the same.    For example, in my document, the normal link to some of us even think that this is the source of documents, said the link called back, and the Netscape browser back button, it is returned to you in the historical record, a link, so different JavaScript, Netscape can also provide similar functions in the back button, try this link, you can experience the feeling to come back, the syntax is as follows: 

  <html> 
  <body> 
  <FORM NAME="buttonbar"> 
  <INPUT TYPE = "button" VALUE = "Back" onClick = "history. 
  Back () "> 
  <INPUT TYPE = "button" VALUE = "JS-Home" onClick = "location = 
  'Script.htm' "> 
  <INPUT TYPE = "button" VALUE = "Next" onCLick = "history. 
  Forward () "> 
  </ FORM> 
  </ Body> 
  </ Html> 

  You can also directly above written history.go (-1) and history.go (1) 

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • DotNetKicks
  • DZone

Tags: css javascript, css website, w3c website w3c statement w3c css

Releated Posts

  • ActiveX how to call the ActiveX website quoted in the JavaScript function
  • Magical Effect of JavaScript to achieve the arbitrary scaling website
  • Using JavaScript record visits to the website
  • Aggregate production technology website: Common Javascript statement
  • JavaScript display screen resolution under different website

This entry was posted on Tuesday, July 31st, 2007 at 12:00 am and is filed under Xhtml and Web Design. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

« JAVASCRIPT DIV used to replace non-spacing to achieve the effect of rolling news
JavaScript object-oriented support (6) »

Leave a Reply

  • Categories

    • CSS Properties (491)
    • CSS Tutorial (1154)
    • CSS Tutorial By Examples (1201)
    • Css+Div Web Design (3274)
    • Xhtml and Web Design (1797)
  • Archives

    • February 2008
    • January 2008
    • December 2007
    • November 2007
    • October 2007
    • September 2007
    • August 2007
    • July 2007
    • June 2007
    • May 2007
    • April 2007
    • March 2007
    • February 2007
    • January 2007
  • Pages

    • About us

Cascading Style Sheets Tutorial