Difference between revisions of "Team:Berlin"
Jpalbrecht (Talk | contribs) |
Jpalbrecht (Talk | contribs) |
||
Line 266: | Line 266: | ||
<script> | <script> | ||
+ | // my scroll to | ||
+ | $("#main-button").click(function() { | ||
+ | $('html, body').animate({ | ||
+ | scrollTop: $("#main-featurette-row").offset().top - 57 | ||
+ | }, 720); | ||
+ | }); | ||
− | $(" | + | // my scroll to |
+ | $("#ecoli-button").click(function() { | ||
+ | $('html, body').animate({ | ||
+ | scrollTop: $("#first-featurette-row").offset().top - 57 | ||
+ | }, 800); | ||
+ | }); | ||
+ | // my scroll to | ||
+ | $("#project-button").click(function() { | ||
+ | $('html, body').animate({ | ||
+ | scrollTop: $("#team-featurette-row").offset().top - 57 | ||
+ | }, 800); | ||
+ | }); | ||
+ | // my scroll to | ||
+ | $("#team-button").click(function() { | ||
+ | $('html, body').animate({ | ||
+ | scrollTop: $("#blog-featurette-row").offset().top - 57 | ||
+ | }, 800); | ||
+ | }); | ||
− | |||
− | + | $(document).ready(function(){ | |
− | + | // cache the window object | |
− | + | $window = $(window); | |
− | + | ||
− | + | $('section[data-type="background"]').each(function(){ | |
− | + | // declare the variable to affect the defined data-type | |
− | } | + | var $scroll = $(this); |
− | + | ||
+ | $(window).scroll(function() { | ||
+ | // HTML5 proves useful for helping with creating JS functions! | ||
+ | // also, negative value because we're scrolling upwards | ||
+ | var yPos = -($window.scrollTop() / $scroll.data('speed')); | ||
+ | |||
+ | // background position | ||
+ | var coords = '80% '+ yPos + 'px'; | ||
+ | |||
+ | // move the background | ||
+ | $scroll.css({ backgroundPosition: coords }); | ||
+ | }); // end window scroll | ||
+ | }); // end section function | ||
+ | |||
+ | $("#section-B").hide(); | ||
+ | $("#section-C").hide(); | ||
+ | $("#C-up").hide(); | ||
+ | $("#B-up").hide(); | ||
+ | |||
+ | $("#show-B").click(function(){ | ||
+ | $("#section-B").slideToggle(); | ||
+ | $("#B-up").toggle(); | ||
+ | $("#B-down").toggle(); | ||
+ | }); | ||
+ | |||
+ | $("#show-C").click(function(){ | ||
+ | $("#section-C").slideToggle(); | ||
+ | $("#C-up").toggle(); | ||
+ | $("#C-down").toggle(); | ||
+ | }); | ||
+ | |||
+ | }); // close out script | ||
}); | }); | ||
</script> | </script> | ||
</body> | </body> |
Revision as of 17:12, 12 September 2015
iGEM BERLIN
Plants which degrade plastic?
This year’s iGEM project of the Berlin team is all about plastic -
to be specific: microplastic and the clearance of our water with the aid of Synthetic Biology.
The idea is to build a modular filter system for wastewater treatment plants which is able to degrade plastic.
Bakterial flagella, moleculare hair-like structures, are equipped with a combination of enzymes that are able
to breakdown plastic molecules.
Project
Projekt erklaerung.
Team
Team Erklaerung.
Safety
Safety Erklaerung