[Koha-bugs] [Bug 30136] Add back to top button when scrolling
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Apr 12 17:01:39 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30136
Fridolin Somers <fridolin.somers at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #130902|0 |1
is obsolete| |
--- Comment #8 from Fridolin Somers <fridolin.somers at biblibre.com> ---
Created attachment 133219
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=133219&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
Signed-off-by: Barbara Johnson <barbara.johnson at bedfordtx.gov>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list