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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Link equivalent function for browser's "back button"? 1

Status
Not open for further replies.

THE4MAN

Technical User
Joined
Mar 17, 2002
Messages
73
Location
US
Does anyone know how to make a link behave like a browser's back button? I've got a few pages of images that I want to display and I have put "next" and "back" buttons (actually text link) on each page where I want the "back" button to actually do what pressing the browser's back button would do, rather than just point the link to the correct page. Just to keep the sequence cleaner, if you know what I mean.

Does anyone know how to accomplish this?

Thanks for the help.

Dave Fore
 
javascript:history.back() "blah blah blah blah blah..."-Dennis Quaid
 
javascript:history.go(-1)

you can put any attribute in the brackets The secret of life is honesty and fair dealing. If you can fake that, you've got it made.
Groucho Marx (1895-1977)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top