https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30136

--- Comment #1 from Fridolin Somers <fridolin.som...@biblibre.com> ---
Created attachment 130896
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130896&action=edit
Bug 30136: Add back to top button to OPAC

Like in many websites, when scrolling down the page make a button appear to go
back to top.
This can be very useful specially in search results page.

This patch adds to OPAC using Javascript a button with id "backtotop".
Button appears when 300 pixels from top are hidden.
This value may be adapted.

Test plan
1) Go to OPAC
2) Perform a search with many results
3) Scroll down
=> Back to top button appears
4) Manually scroll back to top
=> Button disappears
5) Scroll down and click on Back to top button
=> You get to top

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to