Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go back link #7

Open
tomhub opened this issue Jan 6, 2021 · 3 comments
Open

Go back link #7

tomhub opened this issue Jan 6, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@tomhub
Copy link

tomhub commented Jan 6, 2021

I was wondering if "Go back" link before "Go to the top.." would ease navigation. Eg., going from the dataset table to the codelist table, and back one could go back by clicking "back" button on the browser, or there could be a link to go back one history:

  <!-- ************************************************************* -->
  <!-- Link to Top                                                   -->
  <!-- ************************************************************* -->
  <xsl:template name="linkTop">
    <p class="linktop">Go <a href="javascript:history.back()">back</a>. Go to the <a href="#main">top</a> of the Define-XML document</p>
  </xsl:template>
@lexjansen
Copy link
Owner

Isn't that the same as the regular browser back button?

@tomhub
Copy link
Author

tomhub commented Jan 6, 2021

Eg. when a link to a codelist is clicked, usually a mouse pointer is somewhere nearer to a screen centre, or the right side of a screen. And when the "longer" codelist table is scrolled down, a "Go to the top" link is usually much closer the mouse pointer and viewers attention than the browsers back button. Talking here from my own experience.

"Go to the top" is also achievable with browsers interface using scroll bars or home button on keyboard.

@lexjansen
Copy link
Owner

Yes, true, "Go to the top" can also be achieved with the native browser interface or keys. I think the main reason that it is there is simply because it has always been there in previous stylesheet versions.
We can think of many other navigation buttons. Go to previous codelist, go to next codelist, etc etc...

@lexjansen lexjansen added the enhancement New feature or request label Jan 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants