PDA

View Full Version : how to create back/forward buttons


totalnewbie
05-10-2006, 10:31 PM
hi guys, a very simple question here!

how to i create back/forward buttons on my webpages. i dont just want links to the previous page but i want genuine buttons which go back to the previous page the user has visited.


thanks for your help!

davidj
05-11-2006, 07:26 AM
Go back (javascript:history.go(-1))

history.go(-1) /// < -1 goes back a page and 1 goes forward