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.
Hello,
Thanks for this module.
I would like to enable "back to top" functionality (like on http://www.colorado.edu/)
When i enable the "scroll to" option, the link "show photo" appear in the page's footer.
But then this link does not transform to "Back to top".
It should be working with these waypoint function:
if (Drupal.settings.backstretchScrollTo) {
$("#footer").waypoint(function(){
$("#backstretch-scrollto").text("Back to Top").attr("href", "#page");
});
$("#main-menu").waypoint(function(){
$("#backstretch-scrollto").text("View Photo").attr("href", "#backstretchmargin");
});
BTW i am using the omega theme.
Could you explain how to implement this ?
Comments
Comment #1
yannickooSorry but I have to close this issue because the 1.x version is unsupported and the back to top functionality is removed in the 2.x branch :/