var home = document.getElementsByClassName("home");
var menu = document.getElementById("menu");
var content = document.getElementById("content");
+ var body = document.getElementsByTagName("body")[0];
var menuLoc = parseInt(getComputedStyle(menu).getPropertyValue("top"));
function menuOperator(position, token="") {
var article = document.getElementById(name);
article.setAttribute("class", "selected");
}
+ var color = node.getAttribute("data-color");
+ if(color) {
+ body.setAttribute("class", color);
+ }
window.history.pushState("object or string", "Title", node.href);
}