User:Soxra/monobook.js: Difference between revisions

From the Kingdom Hearts Wiki, the Kingdom Hearts encyclopedia
Jump to navigationJump to search
(Kay, legit srs, that code is way more than we need, lol.)
mNo edit summary
Line 22: Line 22:
var id = $(this).attr("id");
var id = $(this).attr("id");
id = id.substr(0, id.length - 4);
id = id.substr(0, id.length - 4);
$container.find("div.morphContent").hide();
$container.find(".morphContent").hide();
$container.find("div#"+id+"Content").show();
$container.find("#"+id+"Content").show();
});
});
});
});
});
});