Team:Carnegie Mellon/Templates/Header
From 2012.igem.org
(Difference between revisions)
(47 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
+ | <script type="text/x-mathjax-config"> | ||
+ | MathJax.Hub.Config({ | ||
+ | tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]} | ||
+ | }); | ||
+ | </script> | ||
+ | <script type="text/x-mathjax-config"> | ||
+ | MathJax.Hub.Config({ | ||
+ | TeX: { equationNumbers: { autoNumber: "AMS" }, extensions:["AMSmath.js", "AMSsymbols.js"]} | ||
+ | }); | ||
+ | </script> | ||
+ | |||
+ | <script type="text/javascript" | ||
+ | src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"> | ||
+ | </script> | ||
+ | |||
+ | |||
+ | <!-- Script for hiding/showing code snippets, referenced http://www.alohatechsupport.net/webdesignmaui/maui-web-site-design/show_hide_expand_collapse_javascript.html --> | ||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function() { | ||
+ | // Hide the "view" div. | ||
+ | $('div.view').hide(); | ||
+ | // Watch for clicks on the "slide" link. | ||
+ | $('div.slide').click(function() { | ||
+ | // When clicked, toggle the "view" div. | ||
+ | $('div.view').slideToggle(400); | ||
+ | return false; | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
<!-- Referenced: https://2011.igem.org/wiki/index.php?title=Team:DTU-Denmark/Templates/Standard_page_begin&action=edit --> | <!-- Referenced: https://2011.igem.org/wiki/index.php?title=Team:DTU-Denmark/Templates/Standard_page_begin&action=edit --> | ||
Line 5: | Line 34: | ||
<!-- StyleSheet --> | <!-- StyleSheet --> | ||
<link rel="stylesheet" href="https://2012.igem.org/Team:Carnegie_Mellon/stylesheet?action=raw&ctype=text/css" type="text/css" /> | <link rel="stylesheet" href="https://2012.igem.org/Team:Carnegie_Mellon/stylesheet?action=raw&ctype=text/css" type="text/css" /> | ||
+ | |||
Line 16: | Line 46: | ||
}); | }); | ||
</script> | </script> | ||
+ | |||
<!--Jquery Tools Script--> | <!--Jquery Tools Script--> | ||
<script src="http://cdn.jquerytools.org/1.2.7/full/jquery.tools.min.js"> | <script src="http://cdn.jquerytools.org/1.2.7/full/jquery.tools.min.js"> | ||
</script> | </script> | ||
- | + | <!--TESTING - Jquery TOC Script--> | |
- | <!--Jquery | + | <script src="https://2012.igem.org/Team:Carnegie_Mellon/tocjs?action=raw&ctype=text/javascript"> |
- | <script src="https:// | + | |
</script> | </script> | ||
- | + | <! -- MathJax Script --> | |
+ | <script type="text/x-mathjax-config"> | ||
+ | MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}}); | ||
+ | </script> | ||
+ | <script type="text/javascript" | ||
+ | src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"> | ||
+ | </script> | ||
<!-- Nav Bar --> | <!-- Nav Bar --> | ||
- | |||
<!-- CMU Banner --> | <!-- CMU Banner --> | ||
- | + | ||
- | <a href="/ | + | <a href="https://2012.igem.org/Team:Carnegie_Mellon" class="image" ><img alt="Image:CMU_image6.jpeg" src="https://static.igem.org/mediawiki/2012/2/29/CMU_image6.jpg" width="965" height="269" border="0" align="center"/></a> |
- | + | ||
+ | <!-- DropDown Menu referenced from Superfish --> | ||
+ | <link rel="stylesheet" href="https://2012.igem.org/Team:Carnegie_Mellon/navbar-style?action=raw&ctype=text/css" type="text/css" /> | ||
+ | <script src="https://2012.igem.org/Team:Carnegie_Mellon/superfishjs?action=raw&ctype=text/javascript"></script> | ||
+ | <script src="https://2012.igem.org/Team:Carnegie_Mellon/hoverintentjs?action=raw&ctype=text/javascript"></script> | ||
- | < | + | <script type="text/javascript"> |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | // initialise plugins | |
- | + | jQuery(function(){ | |
- | + | jQuery('ul.sf-menu').superfish({ | |
- | + | pathClass: 'current' | |
- | + | }); | |
- | + | ||
+ | }); | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
</script> | </script> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
</html> | </html> |