Difference between revisions of "Template:Sidebar"
Adelo Vieira (talk | contribs) |
Adelo Vieira (talk | contribs) |
||
Line 443: | Line 443: | ||
var menuWidth = parseInt(window.getComputedStyle(document.getElementById("menu")).width) | var menuWidth = parseInt(window.getComputedStyle(document.getElementById("menu")).width) | ||
if (menuWidth < 400 ) { | if (menuWidth < 400 ) { | ||
− | $( | + | $("#menu").css('width','600px') |
− | $( | + | $(".titulo1-marco-twolines").addClass("titulo1MarcoTwolines") |
− | $( | + | $(".titulo1-marco-twolines").addClass("titulo1-marco-oneline") |
− | $( | + | $(".titulo1MarcoTwolines").removeClass("titulo1-marco-twolines") |
}else{ | }else{ | ||
− | $( | + | $("#menu").css('width','300px') |
− | $( | + | $(".titulo1MarcoTwolines").addClass("titulo1-marco-twolines") |
− | $( | + | $(".titulo1-marco-twolines").removeClass("titulo1MarcoTwolines") |
− | $( | + | $(".titulo1-marco-twolines").removeClass("titulo1-marco-oneline") |
} | } |
Revision as of 18:09, 13 March 2021