User:Ccdcoe530/common.js: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
(Blanked the page) Tag: Blanking |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
$(document).ready(function () { |
|||
// Add wrapping div for top navigation menu for better alignment |
|||
$('#left-navigation, #right-navigation').wrapAll("<div class='navigation-wrapper' />"); |
|||
// Hide top banner text |
|||
$('#mp-topbanner').hide(); |
|||
// Add wrapper divs to front-page sections |
|||
$('#mp-tfa, #mp-tfa-h2').wrapAll("<div class='card-wrapper' />"); |
|||
$('#mp-itn, #mp-itn-h2').wrapAll("<div class='card-wrapper card-wrapper--gray' />"); |
|||
$('#mp-otd, #mp-otd-h2').wrapAll("<div class='card-wrapper' />"); |
|||
}); |