This Forum has been archived

Forums: Admin Central Index Technical Help Button Change
Central's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
Note: This topic has been unedited for 2638 days. It is considered archived - the discussion is over. Do not add to unless it really needs a response.

There's no rule against two help questions in a row, right? JK

Does anyone know if it's possible to change the picture for the edit buttons in Source Mode? You know, the square ones on top? See right...

Roads (So Ferb, how many licks does it take to get to the center of a Tootsie Pop?) 14:03, December 6, 2011 (UTC)

I don't see why not. I'm not too good with JS yet, but I know enough to know that each button has it's own unique id, so you should just be able to say something like:
document.getElementById('mw-editbutton-media').src = '';
...where the URL is replaced by the pic and -media is replaced by the id for whichever button you want to change. —Airhogs777 WCB WS 05:36, December 7, 2011 (UTC)
Community content is available under CC-BY-SA unless otherwise noted.