Team:OUC-China/Project/PooSb

From 2011.igem.org

(Difference between revisions)
 
Line 21: Line 21:
padding: 5px;
padding: 5px;
                 position: absolute;
                 position: absolute;
-
                 top: 50px;
+
                 top: 0px;
                 left: -215px;
                 left: -215px;
}
}
Line 55: Line 55:
<script>
<script>
jQuery(window).scroll(function() {
jQuery(window).scroll(function() {
-
     jQuery('#side').stop(true,true).animate({'top': jQuery(this).scrollTop() + 50 + "px"},500);
+
     jQuery('#side').stop(true,true).animate({'top': jQuery(this).scrollTop() + "px"},500);
});
});
</script>
</script>

Latest revision as of 04:06, 5 October 2011