Html – Is there a case where a z-index can be overridden entierly in a file?
function openNav(mName, mID) { console.log('In Open Nav'); document.getElementById('myNav').style.height = '100%'; menuItemOrderButton = document.getElementById('overlay-menuitem-order'); menuItemOrderButton.onclick = addToOrder(mName, mID); } function closeNav() { document.getElementById('myNav').style.height = '0'; console.log("Closing nav!"); } function addToOrder(mName, mID){ console.log("IT WORKS!"); } .overlay { height: 0; width: 100%; position:…