Request for Script - User defined Alt Text

DiscussionsHacking LibraryThing

Rejoignez LibraryThing pour poster.

Request for Script - User defined Alt Text

Ce sujet est actuellement indiqué comme "en sommeil"—le dernier message date de plus de 90 jours. Vous pouvez le réveiller en postant une réponse.

1justjim
Mar 16, 2010, 4:18 pm

Would one of you clever people be able to set up a way that users can change the Alt Text that is used for mouseover on the Styles buttons on Your Books?

Currently the Alt Text is currently "Show Style" & LabelName. It would be good if, once a user has set up, for example, Style A to reflect lots about Authors that they could change the Alt Text to "Authors".

Thanks.

Jim

2brightcopy
Mar 16, 2010, 5:27 pm

I'll take a crack at it. Possibly some time this week. If anyone else wants to do it quicker (or differently!) just say the word.

3justjim
Mar 16, 2010, 10:05 pm

Thanks.

4brightcopy
Modifié : Mar 20, 2010, 1:29 am

Here ya go!

And I threw in an added bonus. :D




5justjim
Mar 20, 2010, 2:21 am

And it just works. As advertised, as requested, no problems, no questions.

Good job and thanks a heap.

6brightcopy
Modifié : Oct 5, 2012, 12:07 pm

You're welcome!

I'm really happy with how it turned out. The only thing I don't like is there's a delay from when the page loads to when the script kicks in and changes the buttons. If you have it set for 200 books, that could be a while. But that's the nature of greasemonkey scripts so there's really nothing I can do about it. Maybe if this becomes a really popular script we can twist Tim's arm and convince him to add some more user configuration. :D

7EveleenM
Mar 20, 2010, 7:35 am

Nice work, brightcopy! I love this.