Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By default, the Back to Top button appears at 100px. It would be nice to have an option which allow the administrator to set the number of pixel which trigger the Back to Top button.
Patch attached
First one, please be nice :)
Comment | File | Size | Author |
---|---|---|---|
back_to_top-trigger.patch | 1.97 KB | Jibus |
Comments
Comment #1
Jibus CreditAttribution: Jibus commentedComment #2
acke CreditAttribution: acke commentedExcellent idea! I try this out and commit if it's working. At a quick glance to code looks good.
Comment #3
acke CreditAttribution: acke commentedI tried it out and it works excellent. It's pushed to HEAD and going into the 7.x-1.3 release. Thanks Jibus for making Back To Top better!