Team:TU Delft-Leiden/Templates/Start
From 2014.igem.org
(Difference between revisions)
Dschmieden (Talk | contribs) |
Dschmieden (Talk | contribs) |
||
Line 17: | Line 17: | ||
</script> | </script> | ||
- | + | <script type="text/javascript"> | |
$(document).ready(function($){ | $(document).ready(function($){ | ||
$('#nav li.sub-menu').click(function() { | $('#nav li.sub-menu').click(function() { | ||
Line 23: | Line 23: | ||
}); | }); | ||
- | + | // $(document).mousemove(function(event) { | |
- | + | // if (event.pageY <= 20 && $('#top-section').attr('display') != 'block') { | |
- | + | // $('#top-section').fadeIn(); | |
- | + | // } else { | |
- | + | // if (event.pageY >= 20 && $('#top-section').attr('display') == 'block') { | |
- | + | // $('#top-section').fadeOut(); | |
- | + | // } | |
- | + | // } | |
- | + | // }); | |
}); | }); | ||
- | </script | + | </script> |
<div class="container_12" id="header"> | <div class="container_12" id="header"> |
Revision as of 13:35, 28 September 2014