Team:TU Eindhoven/Notebook

From 2014.igem.org

(Difference between revisions)
Line 47: Line 47:
<script type="text/javascript">  
<script type="text/javascript">  
-
   $(function moveScroller() {
+
   $(function() {
-
     var move = function() {
+
-
        var st = $(window).scrollTop();
+
     // grab the initial top offset of the navigation
-
        var ot = $("#anchor").offset().top;
+
    var sticky_navigation_offset_top = $('#menu').offset().top;
-
         var s = $("#menu");
+
   
-
         if(st > ot) {
+
    // our function that decides weather the navigation bar should have "fixed" css position or not.
-
             s.css({
+
    var sticky_navigation = function(){
-
                position: "fixed",
+
         var scroll_top = $(window).scrollTop(); // our current vertical position from the top
-
                top: "0px"
+
       
-
            });
+
        // if we've scrolled more than the navigation, change its position to fixed to stick to top,
 +
        // otherwise change it back to relative
 +
         if (scroll_top > sticky_navigation_offset_top) {  
 +
             $('#menu').css({ 'position': 'fixed', 'top':0, 'left':0 });
         } else {
         } else {
-
             if(st <= ot) {
+
             $('#menu').css({ 'position': 'relative' });  
-
                s.css({
+
         }  
-
                    position: "relative",
+
-
                    top: ""
+
-
                });
+
-
            }
+
-
         }
+
     };
     };
-
     $(window).scroll(move);
+
   
-
     move();
+
    // run our function on load
 +
    sticky_navigation();
 +
   
 +
    // and run it again every time you scroll
 +
     $(window).scroll(function() {
 +
        sticky_navigation();
 +
     });
 +
});
});
</script>     
</script>     

Revision as of 18:12, 10 August 2014

TU Eindhoven iGEM Team

NOTEBOOK

Notebook

iGEM TU Eindhoven - Microencapsulation


On this page our progress is kept neatly in chronological order

January

January 28th

The first meeting.
The members of the team have gotten to know each other and set up a plan to brain storm. We also looked into the possibilities for research in Eindhoven to determine a track for our project

February

February 12th

The subjects found in January's brainstorm session were researched by subgroups of our team. Then we presented the ideas to each other and we voted for the most promising ideas to take a closer look.

February 24th

We assigned roles to all the members of the team. These roles included responsibilities for Human Recources, finances, sponsoring, health and safety, modeling, lab work, and public relations.
The brainstorm ideas were reviewed again. And by means of a discussion we decided that our general idea would focus around the use of bacteria in the human body.

March

April

May

June

July

July 7th - July 13th

Deze week hebben we ook hele leuke dingen gedaan.

August

September

October