Team:British Columbia/Templates/MainHeader

From 2014.igem.org

(Difference between revisions)
 
(5 intermediate revisions not shown)
Line 9: Line 9:
-
<!-- ================= From SDU-Denmark: Remove all empty <p> tags ============== -->
 
-
<script type="text/javascript">
 
-
    $(document).ready(function() {
 
-
        $("p").filter( function() {
 
-
            return $.trim($(this).html()) == '';
 
-
        }).remove()
 
-
 
-
  $(window).scroll(function () {
 
-
        if ($(this).scrollTop() > 100) {
 
-
            $('.scrollup').fadeIn();
 
-
        } else {
 
-
            $('.scrollup').fadeOut();
 
-
        }
 
-
    });
 
-
 
-
    $('.scrollup').click(function () {
 
-
        $("html, body").animate({
 
-
            scrollTop: 0
 
-
        }, 600);
 
-
        return false;
 
-
    });
 
-
 
-
 
-
 
-
    });
 
-
 
-
 
-
</script>
 
</html>
</html>
{{:Team:British Columbia/Templates/Navbar2}}
{{:Team:British Columbia/Templates/Navbar2}}

Latest revision as of 03:11, 18 October 2014

2014 UBC iGEM