how do i create a 'back button' in front page 2003

P

peteinbillericay

I'm trying to create a 'Back' button on a webpage that does the same as the
one on the toolbar (i.e. it takes the user back to the page they were
previously viewing.)
I've spent ages searching MS help without success and cant even find a
useful reference in the Inside Out book.
Any help will be much appreciated
thanks
Pete
 
P

P@tty Ayers

Pete,

You'll have to do this in Code View, but it's simple. In the spot on the
page where you want the button, insert this code:

<button onClick="history.go(-1)">Back</button>

Should do the trick.
 
P

peteinbillericay

Thanks so much Patty. It's so frustrating when you know the answer must be
easy, but can't find a reference anywhere.
Best wishes
Pete
 
P

P@tty Ayers

You're very welcome. I know what you mean, and newsgroups can be such a huge
help with that.
 
Top