SHARE
TWEET

Untitled

a guest Jun 24th, 2019 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function openNav() {
  2.   document.getElementById("mySidenav").style.width = "250px";
  3.   document.getElementById("main").style.marginLeft = "250px";
  4.   document.getElementById("myDiv").style.backgroundColor = "rgba(0,0,0,0.4)";
  5. }
  6.  
  7. function closeNav() {
  8.   document.getElementById("mySidenav").style.width = "0";
  9.   document.getElementById("main").style.marginLeft= "0";
  10.   document.getElementById("myDiv").style.backgroundColor = "white";
  11. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top