Guild Media
How the Web Was Won - Comentaries and a smattering of tech nerdiness.
Web Design Development Programming, SEO, Internet Marketing
    • About Us
    • Portfolio
      • Flash
        • aspen_en
      • Websites
    • Programming
      • html_en
        • html-escape-codes_en
        • CSS Transparency
      • javascript_en
        • frame-buster_en
        • JavaScript History Object
        • JavaScript Location Object
      • PHP
        • WordPress Plugins
        • Admin Drop Menus for BBPress
    • services_en
      • design_en
      • development_en
      • hosting_en
      • seo_en
    • User defined URI

JavaScript History Object

OBJECT: 
History


The
History object is a predefined JavaScript object which is accessible
through the history property of a window object. The window.history
property is an array of URL strings which reflect the entries in the History
object. The History object consists of an array of URLs, accessible
through the browser's Go menu, which the client has visited within a window.
It is possible to change a window's current URL without an entry being
made in the History object by using the location.replace
method.
 
PROPERTIES
 
current Property Netscape Only Feature
The current property contains the complete URL of the current
History entry.
 
Syntax: history.current
 
length Property
The length property contains the number of elements in the History
list.
 
Syntax: history.length
 
next Property Netscape Only Feature
The next property contains the complete URL of the next element
in the History list, and is the equivalent of the URL the user
would go to if they selected Forward in the Go menu.
 
Syntax: history.next
 
previous Property Netscape Only Feature
The previous property contains the complete URL of the previous
element in the History list, and is the equivalent of the URL
the user would go to if they selected Back in the Go menu.
 
Syntax: history.previous
 
METHODS
 
back Method
The back method loads the previous URL in the History
list, and is equivalent to the browser's Back button and to history.go(-1).
 
Syntax: history.back()
 
forward Method
The forward method loads the next URL in the History list,
and is equivalent to the browser's Forward button and to history.go(1).
 
Syntax: history.forward()
 
go Method
The go method loads a specified URL from the History list.
 
Syntax: history.go(delta)

 
           
history.go(location)

Bookmark to:


Hide Sites
  • Archives

    • ► 2009 (20)
      • September 2009
      • July 2009
      • April 2009
      • March 2009
      • February 2009
    • ► 2008 (29)
      • December 2008
      • November 2008
      • October 2008
      • September 2008
      • August 2008
      • July 2008
      • June 2008
      • March 2008
      • February 2008
      • January 2008
    • ► 2007 (35)
      • December 2007
      • November 2007
      • October 2007
      • September 2007
      • August 2007
      • July 2007
      • June 2007
      • May 2007
      • April 2007
      • March 2007
  • Categories

    • Animation
    • Apple
    • Blog
    • Browsers
    • Censorship
    • Copyright
    • CSS
    • Dell
    • Design
    • eCommerce
    • File Sharing
    • Firefox
    • Fun
    • Google
    • Hacking
    • Hardware
    • HTML5
    • Internet Explorer
    • Internet Marketing
    • Internet TV
    • JavaScript
    • law
    • Learning
    • Linux
    • Microsoft
    • New Media
    • Open Source
    • Open Source Community
    • OS
    • Privacy
    • Programming
    • Search Engines
    • Security
    • SEO
    • Social Networks
    • software
    • Tech Talk
    • Technology
    • The Matrix
    • Uncategorized
    • video
    • Virus
    • VoIP
    • WordPress
  • Blogroll

    • Alan Moore – SMLXL
    • beinArt
    • Kristine Lowe
    • Leo Plaw
    • Media Influencer
    • Rebecca Caroe
  • Firebug - Web Development Evolved
Copyright © 2010 Guild Media All Rights Reserved
RSS XHTML CSS Log in
Powered by Wordpress
This blog is protected by Dave's Spam Karma 2: 51 Spams eaten and counting...