Fandom

Community Central

Admin Forum:Button Change

19,001pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

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 1362 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

SourceModeEditButtons
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 = 'http://images.wikia.com/common/avatars/thumb/1/19/3235402.png/30px-3235402.png?cb=1323181659';
...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)

Also on Fandom

Random Wiki