Link to previous page
Author: SVEN Z.
Visited 2273,
Followers 1,
Shared 0
X5 professional 13
How to create a link that refers to the previous page, i.e. the same as the browser's back arrow. I just want to go back to the page I was on before the current page
X5 professional 13
Hur skapar man en länk som hänvisar till föregående sida, d.v.s samma som webbläsarens pil tillbaka. Jag vill bara gå tillbaka till den sidan jag var på före nuvarande sida.
Posted on the
There is no option for that in x5, but the back button in all browsers are doing this, as you mention, already. so why another one?
Hello Sven
You could use some HTML to create a "back button".
There must be a reason why You want this, as like Andre says, the browser has this capability.
I assume it is because You have a page, that has some information to be shown, and then users should be able to "go back" an easy way.
Here is some example code from : http://www.w3schools.com/jsref/met_his_back.asp
<button onclick="goBack()">Go Back</button>
<script>
function goBack() {
window.history.back();
}
</script>
And here is some from http://www.w3schools.com/jsref/met_his_back.asp :
<FORM><INPUT Type="button" VALUE="Back" onClick="history.go(-1);return true;"></FORM>
Hope it inspires/helps You
Kind regards
Schwartz
Sorry - the second link should be : http://www.computerhope.com/issues/ch000317.htm
Author
Hello John
Thanks for your reply, it was of great benefit to me
Sincerely Sven