User:Prins Proper/myskin.js

function swapSibling(node1, node2) { node1.parentNode.replaceChild(node1, node2); node1.parentNode.insertBefore(node2, node1); } window.onload = function { menu = document.getElementById("column-one"); menu.style.position = "absolute"; swapSibling(document.getElementById("p-personal"), document.getElementById("p-search")); swapSibling(document.getElementById("p-cactions"), document.getElementById("p-search")); swapSibling(document.getElementById("p-navigation"), document.getElementById("p-search")); }