Forum:Search Fix.js edite

I'm back with another problem. I want to change the textcolors off this buttoms to back like the searchbuttom is now:

http://images2.wikia.nocookie.net/monsterwars/images/0/0e/Searchfix.png

Any idea how to do this. The js works with an save system. And I also want to try to hide the buttom. Here's an photoshop result how it want it to be:

http://images2.wikia.nocookie.net/monsterwars/images/e/ed/Search-switch.gif

Here's the js:

Any idea how to do this? The progress need to stay afther an save like it is now. --Jens Ingels (talk) 16:20, August 3, 2012 (UTC)


 * What do you mean by "how to do this"? -- Sam Wang 04:53, August 5, 2012 (UTC)


 * This seems to work just fine for me -- Sam Wang 04:55, August 5, 2012 (UTC)

Comment - Change the two occurrences of the following lines: if (settings & 1) { $go_button.after($original_search_button); } else { $original_search_button.after($go_button); } To: if (settings & 1) { $go_button.show; $original_search_button.hide; } else { $original_search_button.show; $go_button.hide; } And to allow for the additional space with one less button, remove  in the   block,   line. As for changing the color for the Base64 colors, just upload them to a Image to Base64 converter (the arrow/dots only). 20:20, August 5, 2012 (UTC)


 * Jens Ingels: modifying the search feature wiki-wide like this is a Terms of Use violation. Refer to this Staff blog, specifically the notice at the very bottom under Policy note. If you are making this as a user script for just yourself or that has to be manually installed by individual users, that's fine. But if this is being applied in MediaWiki:Common.js or MediaWiki:Wikia.js, it's a TOU violation and staff would ask you to remove it if they knew about it.