Team:DTU-Denmark/Templates/Standard page begin
From 2011.igem.org
(Difference between revisions)
(13 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | |||
<html> | <html> | ||
Line 15: | Line 14: | ||
<![endif]--> | <![endif]--> | ||
- | <!-- jQuery Tools (slider | + | <!-- jQuery Tools (slider) --> |
<script src="http://cdn.jquerytools.org/1.2.5/full/jquery.tools.min.js"></script> | <script src="http://cdn.jquerytools.org/1.2.5/full/jquery.tools.min.js"></script> | ||
+ | <script> | ||
+ | $(function() { | ||
+ | // initialize scrollable | ||
+ | $(".scrollable").scrollable().navigator(); | ||
+ | }); | ||
+ | </script> | ||
<!-- Navigation scroll follow --> | <!-- Navigation scroll follow --> | ||
Line 54: | Line 59: | ||
function() { | function() { | ||
// Hover over | // Hover over | ||
- | $(this).find("ul.subnav"). | + | $(this).parent().find("ul.subnav").hide(); |
+ | $(this).find("ul.subnav").show(); | ||
// Hover out | // Hover out | ||
$(this).hover( | $(this).hover( | ||
Line 60: | Line 66: | ||
}, | }, | ||
function(){ | function(){ | ||
- | $(this).find("ul.subnav"). | + | $(this).find("ul.subnav").hide(); |
} | } | ||
); | ); | ||
}, | }, | ||
function(){ | function(){ | ||
- | $(this).find("ul.subnav"). | + | $(this).find("ul.subnav").hide(); |
} | } | ||
Line 80: | Line 86: | ||
return $.trim($(this).html()) == ''; | return $.trim($(this).html()) == ''; | ||
}).remove(); | }).remove(); | ||
+ | }); | ||
+ | </script> | ||
+ | |||
+ | <!-- Remove "team" from the menubar --> | ||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function() { | ||
+ | $("menubar > ul > li:last-child").remove(); | ||
}); | }); | ||
</script> | </script> |
Latest revision as of 22:32, 21 September 2011