Difference between revisions of "Template:Sidebar"
Adelo Vieira (talk | contribs) |
Adelo Vieira (talk | contribs) |
||
Line 116: | Line 116: | ||
display: block; | display: block; | ||
position: relative; | position: relative; | ||
− | top: | + | top: 0px; |
− | margin-left: | + | margin-left: 0px; |
padding-left: 10px; | padding-left: 10px; | ||
-webkit-user-select: none; | -webkit-user-select: none; | ||
Line 381: | Line 381: | ||
} | } | ||
− | + | function moveSidebarToBody() { | |
− | + | $("#MySidebar").appendTo("#.p-Base-label"); | |
− | + | // document.body.appendChild(document.getElementById('MySidebar')) | |
+ | } | ||
$(document).ready( function() { | $(document).ready( function() { | ||
Line 390: | Line 391: | ||
collapseAll() | collapseAll() | ||
removeCSS() | removeCSS() | ||
− | + | moveSidebarToBody() | |
}); | }); | ||
checkUser() | checkUser() | ||
collapseAll() | collapseAll() | ||
removeCSS() | removeCSS() | ||
− | + | moveSidebarToBody() | |
}); | }); | ||
</script> | </script> |
Revision as of 00:58, 10 March 2021