Advertisement
flavius123

javaimportante2

Jul 4th, 2022
775
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. function myFunction() {
  3.   var x = document.getElementById("myTopnav");
  4.   if (x.className === "topnav") {
  5.     x.className += " responsive";
  6.   } else {
  7.     x.className = "topnav";
  8.   }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement