Line 65: | Line 65: | ||
var scroll = $("#container").scrollTop(); | var scroll = $("#container").scrollTop(); | ||
if (scroll > 160) { | if (scroll > 160) { | ||
− | $("# | + | $("#nav").removeClass("transparent"); |
} else { | } else { | ||
− | $("# | + | $("#nav").addClass("transparent"); |
} | } | ||
}); | }); | ||
Line 76: | Line 76: | ||
<div class="as_hero"> | <div class="as_hero"> | ||
<header style="box-shadow: none; background-color: transparent; position: fixed; margin-top: 16px; z-index: 100;"> | <header style="box-shadow: none; background-color: transparent; position: fixed; margin-top: 16px; z-index: 100;"> | ||
− | <nav id=" | + | <nav id="nav" class="navbar transparent" role="navigation" aria-label="main navigation"> |
<div class="navbar-brand"> | <div class="navbar-brand"> | ||
<a href="https://2019.igem.org/Team:Marburg" class="navbar-item" style="padding: 0; width: 150px;"> | <a href="https://2019.igem.org/Team:Marburg" class="navbar-item" style="padding: 0; width: 150px;"> |
Revision as of 14:07, 17 August 2019
Foo.
Bar.
Baz.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.