m |
m |
||
Line 21: | Line 21: | ||
//document.getElementById("nav-elements").style.width = (window.innerWidth - 16 - 178.13).toString() + "px"; | //document.getElementById("nav-elements").style.width = (window.innerWidth - 16 - 178.13).toString() + "px"; | ||
− | for(i = 0; i < navText.length; i++) { // makes the text inside each nav-item visible | + | setTimeout(function() { |
− | + | for(i = 0; i < navText.length; i++) { // makes the text inside each nav-item visible | |
− | } | + | navText[i].style.opacity = "1"; |
+ | } | ||
+ | }, 3000); | ||
+ | |||
document.getElementById("nav-icon").style.display = "none"; // gets rid of "open nav" button | document.getElementById("nav-icon").style.display = "none"; // gets rid of "open nav" button |
Revision as of 14:38, 12 June 2020