Template:Team:Paris Saclay/default header
From 2014.igem.org
(Difference between revisions)
m |
m |
||
Line 83: | Line 83: | ||
<!-- Menu --> | <!-- Menu --> | ||
<script> | <script> | ||
+ | $(document).ready(function(){ | ||
+ | |||
var nav = $("#menups"); | var nav = $("#menups"); | ||
var sub = $("#submenups"); | var sub = $("#submenups"); | ||
- | |||
$(window).scroll(function () { | $(window).scroll(function () { | ||
if ($(this).scrollTop() > 180) { | if ($(this).scrollTop() > 180) { | ||
Line 98: | Line 99: | ||
} | } | ||
}); | }); | ||
+ | }); | ||
</script> | </script> | ||
Revision as of 16:08, 17 October 2014