Užívateľ:Neuromancer/monobook.css: Rozdiel medzi revíziami
Smazaný obsah Přidaný obsah
Nová stránka: #column-one { position: fixed; padding-top: 3px; } #p-lang .pBody ul { max-height: 150px; overflow: auto; } body { background-attachment: ... |
Odstraňujem obsah stránky |
||
Riadok 1: | Riadok 1: | ||
#column-one { |
|||
position: fixed; |
|||
padding-top: 3px; |
|||
} |
|||
#p-lang .pBody ul { |
|||
max-height: 150px; |
|||
overflow: auto; |
|||
} |
|||
body { |
|||
background-attachment: fixed; |
|||
} |
|||
function alternative_menu() { |
|||
// vymazeme logo bo potrebujeme miesto |
|||
logo = document.getElementById("p-logo"); |
|||
logo.parentNode.removeChild(logo); |
|||
// naklonujeme si odkazy, nahodime ich do laveho panelu a hodime mimo fixed box |
|||
content = document.getElementById("column-content"); |
|||
p_personal = document.getElementById("p-personal"); |
|||
var p_personal2 = p_personal.cloneNode(true); |
|||
content.insertBefore(p_personal2,content.firstChild); |
|||
p_cactions = document.getElementById("p-cactions"); |
|||
content.insertBefore(p_cactions,content.firstChild); |
|||
var odkazy = p_personal.childNodes[3]; |
|||
var h5 = p_personal.childNodes[1]; |
|||
p_navigation = document.getElementById("p-navigation"); |
|||
p_navigation.appendChild(h5); |
|||
p_navigation.appendChild(odkazy); |
|||
// nech tam neleze footer odstranime ho |
|||
footer = document.getElementById("footer"); |
|||
footer.parentNode.removeChild(footer); |
|||
} |
|||
addOnloadHook(function() { |
|||
alternative_menu(); |
|||
}); |