Forums
This topic is locked
how to create BACK NEXT buttons
Posted 22 years ago
1
has voted
22 years ago christopher krawczyk posted:
Can someone teach me how te create back and next buttons. The idea is - you don't know which page was the last one the user visited - by pressing back - the user will return to whatever site/page he was on. As for the next botton - that is supposed to work also like the back button - u don't know where it will take you (depending on where you were) - by pressing next you'll be going back really.Does someone know how to do this ?
Simplest answers please.
Right here
Replies
Replied 22 years ago
22 years ago Owen Eastwick replied:
<a href="#" onClick="history.back()">Back</a>
<a href="#" onClick="history.forward()">Forward</a>
You can use buttons and images instead of text too.
More: www.codeave.com/javascript/code.asp?u_log=7013
Regards
Owen.
Multiple Parameter UD4 / Access 2000 Database Search Tutorial:
www.tdsf.co.uk/tdsfdemo
Edited by - oeastwick on 21 Dec 2002 21:03:14
<a href="#" onClick="history.forward()">Forward</a>
You can use buttons and images instead of text too.
More: www.codeave.com/javascript/code.asp?u_log=7013
Regards
Owen.
Multiple Parameter UD4 / Access 2000 Database Search Tutorial:
www.tdsf.co.uk/tdsfdemo
Edited by - oeastwick on 21 Dec 2002 21:03:14
Replied 22 years ago
22 years ago Jeff DeHaven replied:
Alternately you could set the link itself to point to: javascript:history.go(-1) or javascript:history.go(1)
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Can someone teach me how te create back and next buttons. The idea is - you don't know which page was the last one the user visited - by pressing back - the user will return to whatever site/page he was on. As for the next botton - that is supposed to work also like the back button - u don't know where it will take you (depending on where you were) - by pressing next you'll be going back really.
Does someone know how to do this ?
Simplest answers please.
Right here
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Can someone teach me how te create back and next buttons. The idea is - you don't know which page was the last one the user visited - by pressing back - the user will return to whatever site/page he was on. As for the next botton - that is supposed to work also like the back button - u don't know where it will take you (depending on where you were) - by pressing next you'll be going back really.
Does someone know how to do this ?
Simplest answers please.
Right here
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>