SKammerman (Talk | contribs) |
SKammerman (Talk | contribs) |
||
Line 46: | Line 46: | ||
p { | p { | ||
margin: 0 0 0px; | margin: 0 0 0px; | ||
+ | } | ||
+ | footer .glyphicon { | ||
+ | font-size: 20px; | ||
+ | margin-bottom: 20px; | ||
+ | color: #f4511e; | ||
} | } | ||
</style> | </style> | ||
+ | <body id="myPage" data-spy="scroll" data-target=".navbar" data-offset="60"> | ||
<body> | <body> | ||
Line 121: | Line 127: | ||
<!-- /.container --> | <!-- /.container --> | ||
− | < | + | <footer class="container-fluid text-center"> |
+ | <a href="#myPage" title="To Top"> | ||
+ | <span class="glyphicon glyphicon-chevron-up"></span> | ||
+ | </a> | ||
+ | </footer> | ||
+ | |||
+ | <script> | ||
+ | $(document).ready(function(){ | ||
+ | // Add smooth scrolling to all links in navbar + footer link | ||
+ | $(".navbar a, footer a[href='#myPage']").on('click', function(event) { | ||
+ | // Make sure this.hash has a value before overriding default behavior | ||
+ | if (this.hash !== "") { | ||
+ | // Prevent default anchor click behavior | ||
+ | event.preventDefault(); | ||
+ | |||
+ | // Store hash | ||
+ | var hash = this.hash; | ||
+ | |||
+ | // Using jQuery's animate() method to add smooth page scroll | ||
+ | // The optional number (900) specifies the number of milliseconds it takes to scroll to the specified area | ||
+ | $('html, body').animate({ | ||
+ | scrollTop: $(hash).offset().top | ||
+ | }, 900, function(){ | ||
+ | |||
+ | // Add hash (#) to URL when done scrolling (default click behavior) | ||
+ | window.location.hash = hash; | ||
+ | }); | ||
+ | } // End if | ||
+ | }); | ||
+ | |||
+ | $(window).scroll(function() { | ||
+ | $(".slideanim").each(function(){ | ||
+ | var pos = $(this).offset().top; | ||
+ | |||
+ | var winTop = $(window).scrollTop(); | ||
+ | if (pos < winTop + 600) { | ||
+ | $(this).addClass("slide"); | ||
+ | } | ||
+ | }); | ||
+ | }); | ||
+ | }) | ||
+ | </script> | ||
+ | |||
+ | |||
<script src="vendor/jquery/jquery.min.js"></script> | <script src="vendor/jquery/jquery.min.js"></script> | ||
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script> | <script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script> |
Revision as of 13:06, 26 October 2017
Meet the Team
Team Leaders
Hannah Schmidt Team Leader
Biosystems Engineering
Senior
Rosie Steck Co-Leader
Microbiology & Cell Science
Junior
Shane Kammerman Co-Leader
Pre-Professional Biology
Senior
Team Members
Robert Martinez
Biology
Senior
Andrea Murciano
Biology
Junior
Erin Guby
Packaging Engineering
Junior
Ivanna Roche
Biochemistry
Junior