WebSite X5Help Center

 
SVEN Z.
SVEN Z.
User

Link to previous page  en

Autor: SVEN Z.
Visitado 2274, Followers 1, Compartido 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.

Publicado en
4 RESPUESTAS
Andre E
Andre E
Moderator

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?

Leer más
Publicado en de Andre E
John S.
John S.
User

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

Leer más
Publicado en de John S.
SVEN Z.
SVEN Z.
User
Autor

Hello John

Thanks for your reply, it was of great benefit to me

Sincerely Sven

Leer más
Publicado en de SVEN Z.