Hi, I had a requirement to tweak the wording on this for a project so I thought I'd make a more flexible patch that allows an arbitrary label when not using the graphic.

Changes:

* Add 30 character limited text box in admin page for setting the button text, with "Back to top" as default.
* Pass the button text variable to the Drupal javascript object.
* Removed the width of the #back-to-top div in the CSS to support the text so it doesn't break out.

CommentFileSizeAuthor
back_to_top-edit_button_text.patch2.34 KBn_potter
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

acke’s picture

Good idea! I'll try the patch.

acke’s picture

Issue summary: View changes
Status: Needs review » Fixed

This is now fixed in HEAD / -dev version and going into the 1.4 release.

Thanx for making Back To Top better!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.