Advertisement
flavius123

javaimportante2

Jul 4th, 2022
709
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JavaScript 0.19 KB | None
  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
RAW Paste Data Copied
Advertisement