Software Archive
Read-only legacy content
17061 Diskussionen

How can I get current active page or subpage id? and what is the suggested way to go previous page or subpage with back button?

Matrix_Lee
Einsteiger
837Aufrufe

How can I get current active page or subpage id?

and what is the suggested way to go previous page(or subpage) with back button, esc key or right click?

If I would like to add a next page(or subpage) button, what is the suggested way?

Thank you!

Matrix

0 Kudos
1 Lösung
Thomas_B_6
Neuer Beitragender I
837Aufrufe

You can get the current page name with:

var myCurrentPage = window.location.hash;

Best,

Tom

Lösung in ursprünglichem Beitrag anzeigen

2 Antworten
Thomas_B_6
Neuer Beitragender I
838Aufrufe

You can get the current page name with:

var myCurrentPage = window.location.hash;

Best,

Tom

Matrix_Lee
Einsteiger
837Aufrufe

Dear Tom,

Yes, it works.

Thank you very much.

Matrix

Antworten