Koha/koha-tmpl/opac-tmpl/bootstrap/en/includes
Fridolin Somers 09d3b36c08 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@bedfordtx.gov>

Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-04-27 11:20:45 -10:00
..
account-table.inc Bug 27876: added sr-only to caption of table in Charges page 2021-05-10 15:52:53 +02:00
accounts.inc Bug 29602: (follow-up) Fix TT tags broken due to missing % 2022-04-19 21:25:51 -10:00
authorities-search-results.inc Bug 29602: (follow-up) Fix TT tags broken due to missing % 2022-04-19 21:25:51 -10:00
av-build-dropbox.inc
biblio-title-head.inc
biblio-title.inc
bodytag.inc
calendar.inc Bug 29212: (follow-up) Restore "Clear date" text for "Suspend all holds" 2022-01-31 21:55:40 -10:00
columns_settings.inc Bug 28018: Replace obsolete title-string sorting: OPAC templates 2021-04-06 15:56:31 +02:00
datatables.inc
date-format.inc
display-library-address.inc Bug 27830: (follow-up) Merge DE and FR address formats 2021-04-21 10:51:30 +02:00
doc-head-close.inc Bug 30011: Update links to jQueryUI assets, remove datepicker references, etc. 2022-04-08 15:49:16 +02:00
doc-head-open.inc
greybox.inc
holds-table.inc Bug 29212: (follow-up) Restore "Clear date" text for "Suspend all holds" 2022-01-31 21:55:40 -10:00
html_helpers.inc Bug 29609: Centralized code to build the link to a biblio detail page 2022-04-08 15:49:16 +02:00
i18n.inc
ill-availability-table.inc
item-status-schema-org.inc
item-status.inc Bug 19532: Recalls on OPAC 2022-03-14 22:45:51 -10:00
js-date-format.inc
masthead-langmenu.inc Bug 27881: Markup error in masthead-langmenu.inc 2021-04-01 18:51:37 +02:00
masthead-sci.inc Bug 28955: (follow-up) Set to fall back 2022-02-24 14:35:36 -10:00
masthead-sco.inc Bug 28955: (follow-up) Set to fall back 2022-02-24 14:35:36 -10:00
masthead.inc Bug 29066: (follow-up) Use tooltip when SearchMyLibraryFirst in effect 2022-04-13 15:55:38 +02:00
navigation.inc Bug 24224: Convert OpacNavBottom system preference to additional content 2021-11-08 11:41:48 +01:00
opac-authorities.inc Bug 29602: (follow-up) Fix TT tags broken due to missing % 2022-04-19 21:25:51 -10:00
opac-bottom.inc Bug 30136: Add back to top button to OPAC 2022-04-27 11:20:45 -10:00
opac-detail-sidebar.inc Bug 29602: Surround strings with span tag 2022-04-19 21:25:51 -10:00
opac-facets.inc Bug 27035: Shows the number of results in a facets after facet selection 2022-04-12 11:40:17 +02:00
opac-note.inc
opac-topissues.inc Bug 17018: Split AdvancedSearchTypes for staff and OPAC 2022-04-12 17:13:02 +02:00
openlibrary-readapi.inc
overdrive-checkout.inc Bug 28537: (follow-up) Correct and improve OverDrive checkout modal 2021-11-03 15:40:52 +01:00
overdrive-login.inc
page-numbers.inc
password_check.inc
patron-title.inc
recordedbooks-checkout.inc
resort_form.inc
shelfbrowser.inc
slip-print.inc Bug 27282: fix all occurrences 2021-04-21 10:51:29 +02:00
subtypes_unimarc.inc Bug 28066: Remove select tag's size attribute where it is 1 2021-04-06 15:56:31 +02:00
title-actions-menu.inc Bug 19532: (follow-up) Fixes along recall workflow 2022-03-14 22:45:51 -10:00
user-star-ratings.inc
usermenu.inc Bug 19532: Recalls on OPAC 2022-03-14 22:45:51 -10:00
validator-strings.inc Bug 27668: Improve validation of patron entry form in the OPAC 2021-03-05 13:38:58 +01:00
xslt-handler.inc Bug 29602: (follow-up) fix duplicate, missing or mismatching <span> 2022-04-19 21:25:51 -10:00