The History:Back Navigation instructs RhoElements to navigate to the previously visited address.
History:Back (Navigation) <META> Syntax |
---|
<a href="history:back"> |
The browser component on Windows Mobile has no history stack other than that provided by RhoElements, so this History:Back tag is the only way to navigate to a previous page (as well as the Back Button). Windows CE’s browser component has its own history stack accessed via JavaScript’s history.go(n), this is not compatible with RhoElements’s history and the History:Back tag should be used in preference.
RhoElements Version | 1.0.0 or above |
---|---|
Supported Devices | All supported devices. |
Minimum Requirements | None |
Persistence | Immediate - This method is actioned immediately. |
The following example shows how to navigate to the previous address using an anchor tag:
<a href="history:back">Back to Previous Page</a>
The following example shows how to navigate to the previous address using JavaScript:
<script> function goBack() { document.location = 'history:back'; } </script>