Line 380: | Line 380: | ||
</script> | </script> | ||
</head> | </head> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Line 420: | Line 399: | ||
<div style="text-align:center;"><a href="https://2018.igem.org/Team:NUS_Singapore-A"><img class='nus-logo' src='https://static.igem.org/mediawiki/2018/2/2a/T--NUS_Singapore-A--TeamLogo.png' alt='nus logo'></a> | <div style="text-align:center;"><a href="https://2018.igem.org/Team:NUS_Singapore-A"><img class='nus-logo' src='https://static.igem.org/mediawiki/2018/2/2a/T--NUS_Singapore-A--TeamLogo.png' alt='nus logo'></a> | ||
</div> | </div> | ||
− | <div class="nav"> | + | |
+ | <div class="nav" id="myNav"> | ||
<div class="dropdwn"> | <div class="dropdwn"> | ||
<button>PROJECT</button> | <button>PROJECT</button> | ||
Line 509: | Line 489: | ||
} | } | ||
}); | }); | ||
+ | |||
+ | /* Toggle between adding and removing the "responsive" class to topnav when the user clicks on the icon */ | ||
+ | function myFunction() { | ||
+ | var x = document.getElementById("myNav"); | ||
+ | if (x.className === "nav") { | ||
+ | x.className += " responsive"; | ||
+ | } else { | ||
+ | x.className = "nav"; | ||
+ | } | ||
+ | } | ||
</script> | </script> |
Revision as of 20:17, 15 October 2018
CONNECT WITH US