PDA

View Full Version : Javascript help



The Red Guy
June 5th, 2002, 02:12
I know this may sound stupid, but how do I create a script for navigating? Like I've an image and want the image to work like the browser's back and forward button. Thanks, cos I'm an idiot at javascript/

biggulp
June 5th, 2002, 03:46
history.go(-1) or history.go(1)

nag
June 5th, 2002, 04:03
To go back one step use history.back() and to go one step forward you can use history.forward()....:)

The Red Guy
June 5th, 2002, 04:10
Thanks, that really helped! :)