Team:DTU-Denmark/Templates/Standard page begin
From 2011.igem.org
(Difference between revisions)
(17 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | |||
<html> | <html> | ||
Line 9: | Line 8: | ||
<!-- JAVASCRIPTS --> | <!-- JAVASCRIPTS --> | ||
<!-- *********** --> | <!-- *********** --> | ||
+ | |||
+ | <!-- ie9.js (fixes all Internet Explorer browsers older than ie9) --> | ||
+ | <!--[if lt IE 9]> | ||
+ | <script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script> | ||
+ | <![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 49: | 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 55: | 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 75: | 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