JustInTime (Talk | contribs) |
|||
Line 309: | Line 309: | ||
Vert, M., Doi, Y., Hellwich, K., et al. (2012). Terminology for biorelated polymers and applications (IUPAC Recommendations 2012). Pure and Applied Chemistry, 84(2), pp. 377-410. Retrieved 9 Oct. 2017, from doi:10.1351/PAC-REC-10-12-04 | Vert, M., Doi, Y., Hellwich, K., et al. (2012). Terminology for biorelated polymers and applications (IUPAC Recommendations 2012). Pure and Applied Chemistry, 84(2), pp. 377-410. Retrieved 9 Oct. 2017, from doi:10.1351/PAC-REC-10-12-04 | ||
</h4> | </h4> | ||
+ | </div> | ||
+ | <script> | ||
+ | $("a").on('click', function(event) { | ||
+ | if (this.hash !== "") { | ||
+ | event.preventDefault(); | ||
+ | var hash = this.hash; | ||
+ | $('html, body').animate({ | ||
+ | scrollTop: $(hash).offset().top | ||
+ | }, 300, function() { | ||
+ | // Add hash (#) to URL when done scrolling (default click behavior) | ||
+ | window.location.hash = hash; | ||
+ | }); | ||
+ | } | ||
+ | }); | ||
+ | $(function() { | ||
+ | $('.yellow').removeClass('active'); | ||
+ | $('.yellow').mouseenter(function() { | ||
+ | var windowsize = $(window).width(); | ||
+ | if (windowsize > 1020) { | ||
+ | //if the window is greater than 1020px wide then hover | ||
+ | $('.yellow').addClass('active'); | ||
+ | } | ||
+ | $('.navCap').addClass('deactive'); | ||
+ | }); | ||
+ | |||
+ | $('.yellow').mouseleave(function() { | ||
+ | var windowsize = $(window).width(); | ||
+ | if (windowsize > 1020) { | ||
+ | //if the window is greater than 1020px wide then hover | ||
+ | $('.yellow').removeClass('active'); | ||
+ | } | ||
+ | $('.navCap').removeClass('deactive'); | ||
+ | }); | ||
+ | |||
+ | $('.box2').click(function() { | ||
+ | var windowsize = $(window).width(); | ||
+ | if (windowsize < 1020) { | ||
+ | //if the window is less than 1020px wide then turn on click for mobile. | ||
+ | if ($('.yellow').hasClass('active')) { | ||
+ | window.location = $(this).attr('href'); | ||
+ | } else { | ||
+ | $('.yellow').addClass('active'); | ||
+ | $('.return').addClass('active'); | ||
+ | $('.home').addClass('deactive'); | ||
+ | } | ||
+ | } else { | ||
+ | window.location = $(this).attr('href'); | ||
+ | } | ||
+ | |||
+ | }) | ||
+ | |||
+ | $('.box3').click(function() { | ||
+ | var windowsize = $(window).width(); | ||
+ | if (windowsize < 1020) { | ||
+ | //if the window is less than 1020px wide then turn on click for mobile. | ||
+ | if ($('.yellow').hasClass('active')) { | ||
+ | window.location = $(this).attr('href'); | ||
+ | } else { | ||
+ | $('.yellow').addClass('active'); | ||
+ | $('.return').addClass('active'); | ||
+ | $('.home').addClass('deactive'); | ||
+ | } | ||
+ | } else { | ||
+ | window.location = $(this).attr('href'); | ||
+ | } | ||
+ | }) | ||
+ | |||
+ | $('.return').click(function() { | ||
+ | $('.yellow').removeClass('active'); | ||
+ | $('.return').removeClass('active'); | ||
+ | $('.home').removeClass('deactive'); | ||
+ | }) | ||
+ | |||
+ | $('.cv').click(function() { | ||
+ | $('.yellow').removeClass('active'); | ||
+ | $('.return').removeClass('active'); | ||
+ | $('.home').removeClass('deactive'); | ||
+ | }) | ||
+ | |||
+ | $('.jumbotron').mouseenter(function() { | ||
+ | $('.project').removeClass('active'); | ||
+ | $('.experiment').removeClass('active'); | ||
+ | $('.modeling').removeClass('active'); | ||
+ | $('.prototype').removeClass('active'); | ||
+ | $('.biosafety').removeClass('active'); | ||
+ | $('.about').removeClass('active'); | ||
+ | $('.policy').removeClass('active'); | ||
+ | $('.acknowledgments').removeClass('active'); | ||
+ | }); | ||
+ | |||
+ | $('.cv').mouseenter(function() { | ||
+ | $('.project').removeClass('active'); | ||
+ | $('.experiment').removeClass('active'); | ||
+ | $('.modeling').removeClass('active'); | ||
+ | $('.prototype').removeClass('active'); | ||
+ | $('.biosafety').removeClass('active'); | ||
+ | $('.about').removeClass('active'); | ||
+ | $('.policy').removeClass('active'); | ||
+ | $('.acknowledgments').removeClass('active'); | ||
+ | }); | ||
+ | |||
+ | $('.project').mouseenter(function() { | ||
+ | $('.project').addClass('active'); | ||
+ | $('.experiment').removeClass('active'); | ||
+ | $('.modeling').removeClass('active'); | ||
+ | $('.prototype').removeClass('active'); | ||
+ | $('.biosafety').removeClass('active'); | ||
+ | $('.about').removeClass('active'); | ||
+ | $('.policy').removeClass('active'); | ||
+ | $('.acknowledgments').removeClass('active'); | ||
+ | }); | ||
+ | |||
+ | $('.experiment').mouseenter(function() { | ||
+ | $('.project').removeClass('active'); | ||
+ | $('.experiment').addClass('active'); | ||
+ | $('.modeling').removeClass('active'); | ||
+ | $('.prototype').removeClass('active'); | ||
+ | $('.biosafety').removeClass('active'); | ||
+ | $('.about').removeClass('active'); | ||
+ | $('.policy').removeClass('active'); | ||
+ | $('.acknowledgments').removeClass('active'); | ||
+ | }); | ||
+ | |||
+ | $('.modeling').mouseenter(function() { | ||
+ | $('.project').removeClass('active'); | ||
+ | $('.experiment').removeClass('active'); | ||
+ | $('.modeling').addClass('active'); | ||
+ | $('.prototype').removeClass('active'); | ||
+ | $('.biosafety').removeClass('active'); | ||
+ | $('.about').removeClass('active'); | ||
+ | $('.policy').removeClass('active'); | ||
+ | $('.acknowledgments').removeClass('active'); | ||
+ | }); | ||
+ | |||
+ | $('.prototype').mouseenter(function() { | ||
+ | $('.project').removeClass('active'); | ||
+ | $('.experiment').removeClass('active'); | ||
+ | $('.modeling').removeClass('active'); | ||
+ | $('.prototype').addClass('active'); | ||
+ | $('.biosafety').removeClass('active'); | ||
+ | $('.about').removeClass('active'); | ||
+ | $('.policy').removeClass('active'); | ||
+ | $('.acknowledgments').removeClass('active'); | ||
+ | }); | ||
+ | |||
+ | $('.biosafety').mouseenter(function() { | ||
+ | $('.project').removeClass('active'); | ||
+ | $('.experiment').removeClass('active'); | ||
+ | $('.modeling').removeClass('active'); | ||
+ | $('.prototype').removeClass('active'); | ||
+ | $('.biosafety').addClass('active'); | ||
+ | $('.about').removeClass('active'); | ||
+ | $('.policy').removeClass('active'); | ||
+ | $('.acknowledgments').removeClass('active'); | ||
+ | }); | ||
+ | |||
+ | $('.about').mouseenter(function() { | ||
+ | $('.project').removeClass('active'); | ||
+ | $('.experiment').removeClass('active'); | ||
+ | $('.modeling').removeClass('active'); | ||
+ | $('.prototype').removeClass('active'); | ||
+ | $('.biosafety').removeClass('active'); | ||
+ | $('.about').addClass('active'); | ||
+ | $('.policy').removeClass('active'); | ||
+ | $('.acknowledgments').removeClass('active'); | ||
+ | }); | ||
+ | |||
+ | $('.policy').mouseenter(function() { | ||
+ | $('.project').removeClass('active'); | ||
+ | $('.experiment').removeClass('active'); | ||
+ | $('.modeling').removeClass('active'); | ||
+ | $('.prototype').removeClass('active'); | ||
+ | $('.biosafety').removeClass('active'); | ||
+ | $('.about').removeClass('active'); | ||
+ | $('.policy').addClass('active'); | ||
+ | $('.acknowledgments').removeClass('active'); | ||
+ | }); | ||
+ | |||
+ | $('.acknowledgments').mouseenter(function() { | ||
+ | $('.project').removeClass('active'); | ||
+ | $('.experiment').removeClass('active'); | ||
+ | $('.modeling').removeClass('active'); | ||
+ | $('.prototype').removeClass('active'); | ||
+ | $('.biosafety').removeClass('active'); | ||
+ | $('.about').removeClass('active'); | ||
+ | $('.policy').removeClass('active'); | ||
+ | $('.acknowledgments').addClass('active'); | ||
+ | }); | ||
+ | }) | ||
+ | </script> | ||
+ | </body> | ||
+ | |||
+ | </html> |
Revision as of 10:13, 31 October 2017
X
Project
Experiments
Modeling
Prototype
Human Practices
Safety
About Us
Attributions
Project
Experiment
Modeling
Prototype
Human Practice
Safety
About Us
Attributions
hi