User:Soxra/monobook.js: Difference between revisions
From the Kingdom Hearts Wiki, the Kingdom Hearts encyclopedia
Jump to navigationJump to search
No edit summary |
|||
Line 1: | Line 1: | ||
$(document).ready(function () { | $(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; | |||
}); | |||
}); | }); |
Latest revision as of 01:23, 8 August 2012
$(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;
});
});