User:Soxra/monobook.js

From the Kingdom Hearts Wiki, the Kingdom Hearts encyclopedia
< User:Soxra
Revision as of 01:23, 8 August 2012 by Soxra (talk | contribs) (Undo revision 573055 by Soxra (talk))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
$(document).ready(function () {
    /* Force input boxes to have input box class */
    $(":text, input[type='text'], input[type='password'], input[type='search'], textarea, input#wpSummary").addClass("input-text-box");

    /* Improvement Box Tabber */
    $(".improvementBox").find(".improveTabLinkBox a").click(function () {
        $(".improvementBox").find("#improveTabs > div").hide();
        $(".improvementBox").find("#improveTabs > div" + $(this).attr("href")).show();
        return false;
    });
});