Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

history.back

Status
Not open for further replies.

ice789911

Programmer
Mar 17, 2008
10
GB
Assuming the user has javascript enabled, are there any issues associated with using history.back() or history.go(-1)
Can I rely on this method as the only way for a user to exit a page ( only users with javascript can login )
 
It appears that this method of relocation is discouraged by w3c mainly because it excludes users without javascript. There are other disadvantages to this method, namely that these links (sometimes referred to as pseudo-links) don't offer the functionality that regularly-formed links do. You cannot preview the URL of the page the link will lead to, open the URL in a new window or a new tab, for example. There is also the structural argument against this form of linking that a site's navigation should be inextricably tied to its structure and content. This is a widely held view amongst the very best in this field. (See Web Site Usability by Jared M. Spool et al., 1999.)However, in practice if you do wish to use it, it can be relied upon to function correctly in all enabled browsers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top