Team:NYMU-Taipei/TopBar

From 2014.igem.org

(Difference between revisions)
m
m
 
(4 intermediate revisions not shown)
Line 84: Line 84:
             }, 300, 'easeOutSine');
             }, 300, 'easeOutSine');
         });
         });
-
    $(window).scroll(function (){
+
    $(window).scroll(function (event){
-
          var y = $(this).scrollTop();
+
        var y = $(this).scrollTop();
-
          $('.left-bar').css({
+
        $('#flow_div').css({
-
                top:250+y,
+
            top:250+y,
-
          });
+
        });
-
    });
+
    });
});
});
</script>
</script>

Latest revision as of 12:04, 5 May 2014