Team:Evry/foot

From 2013.igem.org

(Difference between revisions)
Line 33: Line 33:
</div>
</div>
</div>
</div>
 +
 +
<script type="text/javascript">
 +
$(function() {
 +
    $(document).scroll(function() {
 +
   
 +
        if($(document).scrollTop()>=200)
 +
            {
 +
                $('aside').css('position','fixed').css('top','0px');
 +
               
 +
            }
 +
            else
 +
            {
 +
                $('aside').css('position','static');
 +
               
 +
            }
 +
           
 +
   
 +
    });
 +
});
 +
</script>
 +
</html>
</html>

Revision as of 08:33, 8 August 2013