Team:Carnegie Mellon/Templates/Header

From 2012.igem.org

(Difference between revisions)
 
(67 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>
-
<!-- StyleSheet -->
+
<script type="text/javascript"
 +
  src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
 +
</script>
-
    <link rel="stylesheet" href="https://2012.igem.org/Team:Carnegie_Mellon/stylesheet?action=raw&ctype=text/css" type="text/css" />
+
<!-- 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>
-
<!-- iGem wiki hacks -->
+
<!-- Referenced: https://2011.igem.org/wiki/index.php?title=Team:DTU-Denmark/Templates/Standard_page_begin&action=edit -->
-
        <!-- Remove all empty <p> tags -->
+
-
        <script type="text/javascript">
+
-
            $(document).ready(function() {
+
-
                $("p").filter( function() {
+
-
                    return $.trim($(this).html()) == '';
+
-
                }).remove();
+
-
            });
+
-
        </script>
+
-
<!-- Nav Bar -->
+
<!-- StyleSheet -->
 +
    <link rel="stylesheet" href="https://2012.igem.org/Team:Carnegie_Mellon/stylesheet?action=raw&ctype=text/css" type="text/css" />
-
<head>
 
-
<style>
 
-
.ddcolortabs{
 
-
padding: 0;
 
-
width: 100%;
 
-
background: transparent;
 
-
voice-family: "\"}\"";
 
-
voice-family: inherit;
 
-
}
 
-
.ddcolortabs ul{
 
-
font: bold 11px Arial;
 
-
margin:0;
 
-
padding:0;
 
-
list-style:none;
 
-
}
 
-
.ddcolortabs li{
+
<!-- iGem wiki hacks -->
-
display:inline;
+
    <!-- Remove all empty <p> tags -->
-
margin:0 2px 0 0;
+
    <script type="text/javascript">
-
padding:0;
+
        $(document).ready(function() {
-
text-transform:uppercase;
+
            $("p").filter( function() {
-
}
+
                return $.trim($(this).html()) == '';
 +
            }).remove();
 +
        });
 +
    </script>
-
.ddcolortabs a{
+
<!--Jquery Tools Script-->
-
float:left;
+
<script src="http://cdn.jquerytools.org/1.2.7/full/jquery.tools.min.js">
-
color: white;
+
</script>
-
background: red url(media/color_tabs_left.gif) no-repeat left top;
+
<!--TESTING - Jquery TOC Script-->
-
margin:0 2px 0 0;
+
<script src="https://2012.igem.org/Team:Carnegie_Mellon/tocjs?action=raw&ctype=text/javascript">
-
padding:0 0 1px 3px;
+
</script>
-
text-decoration:none;
+
-
letter-spacing: 1px;
+
-
}
+
-
.ddcolortabs a span{
+
<! -- MathJax Script -->
-
float:left;
+
<script type="text/x-mathjax-config">
-
display:block;
+
  MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});
-
background: transparent url(media/color_tabs_right.gif) no-repeat right top;
+
</script>
-
padding: 4px 8px 2px 7px;
+
<script type="text/javascript"
-
}
+
  src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
 +
</script>
-
.ddcolortabs a span{
+
<!-- Nav Bar -->
-
float:none;
+
-
}
+
-
.ddcolortabs a:hover{
+
<!-- CMU Banner -->
-
background-color: #591f20;
+
-
}
+
<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>
 +
-
.ddcolortabs a:hover span{
+
<!-- DropDown Menu referenced from Superfish -->
-
background-color: #591f20;
+
    <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>
-
.ddcolortabs .selected a, #ddcolortabs .selected a span{ /*currently selected tab*/
+
<script type="text/javascript">
-
background-color: #591f20;
+
-
}
+
-
 
+
-
.ddcolortabsline{
+
-
clear: both;
+
-
padding: 0;
+
-
width: 96.1%;
+
-
height: 4px;
+
-
line-height: 100%;
+
-
background: black;
+
-
border-top: 1px solid #fff; /*Remove this to remove border between bar and tabs*/
+
-
}
+
-
 
+
-
 
+
-
 
+
-
 
+
-
 
+
-
/* ######### Style for Drop Down Menu ######### */
+
-
 
+
-
.dropmenudiv_a{
+
-
position:absolute;
+
-
top: 0;
+
-
border: 1px solid black; /*THEME CHANGE HERE*/
+
-
border-top-width: 8px; /*Top border width. Should match height of .ddcolortabsline above*/
+
-
border-bottom-width: 0;
+
-
font:normal 12px Arial;
+
-
line-height:18px;
+
-
z-index:100;
+
-
background-color: white;
+
-
width: 200px;
+
-
visibility: hidden;
+
-
}
+
-
 
+
-
 
+
-
.dropmenudiv_a a{
+
-
width: auto;
+
-
display: block;
+
-
text-indent: 5px;
+
-
border-top: 0 solid #678b3f;
+
-
border-bottom: 1px solid #678b3f; /*THEME CHANGE HERE*/
+
-
padding: 2px 0;
+
-
text-decoration: none;
+
-
color: black;
+
-
}
+
-
 
+
-
* html .dropmenudiv_a a{ /*IE only hack*/
+
-
width: 100%;
+
-
}
+
-
 
+
-
.dropmenudiv_a a:hover{ /*THEME CHANGE HERE*/
+
-
background-color: #8a3c3d;
+
-
color: white;
+
-
}
+
-
</style>
+
-
 
+
-
 
+
-
<!-- CSS for Drop Down Tabs Menu #1 -->
+
-
<link rel="stylesheet" type="text/css" href="ddcolortabs.css" />
+
-
 
+
-
<div id="colortab" class="ddcolortabs">
+
-
<ul>
+
-
<li><a href="https://2012.igem.org/Team:Carnegie_Mellon" title="Home"><span>Home</span></a></li>
+
-
<li><a href="https://2012.igem.org/Team:Carnegie_Mellon/Overview" title="Overview of the biology" rel="dropmenu1_a"><span>Overview</span></a></li>
+
-
<li><a href="https://2012.igem.org/Team:Carnegie_Mellon/Team" title="Meet the team" ><span>The Team</span></a></li>
+
-
<li><a href="https://2012.igem.org/Team:Carnegie_Mellon/BioBricks" title="Our submitted BioBrick<sup>TM</sup> BioBricks" rel="dropmenu1_a"><span>BioBricks</span></a></li>
+
-
<li><a href="https://2012.igem.org/Team:Carnegie_Mellon/Notebook" title="Details of labwork, in realtime"><span>Notebook</span></a></li>
+
-
<li><a href="https://2012.igem.org/Team:Carnegie_Mellon/Modelling" title="Modelling" rel="dropmenu2_a"><span>Modelling</span></a></li>
+
-
<li><a href="https://2012.igem.org/Team:Carnegie_Mellon/Results" title="Results" rel="dropmenu1_a"><span>Results</span></a></li>
+
-
<li><a href="https://2012.igem.org/Team:Carnegie_Mellon/Human_Practice" title="Human Practice" rel="dropmenu2_a"><span>Human Practice</span></a></li>
+
-
<li><a href="https://2012.igem.org/Team:Carnegie_Mellon/Acknowledgements" title="Acknowledgements" ><span>Acknowledgements</span></a></li>
+
-
<li><a href="https://2012.igem.org/Team:Carnegie_Mellon/FAQ" title="Frequently asked questions" ><span>FAQ</span></a></li>
+
-
</ul>
+
-
</div>
+
-
<div class="ddcolortabsline">&nbsp;</div>
+
-
<div id="dropmenu1_a" class="dropmenudiv_a">
+
-
<a href="https://2012.igem.org/Team:Carnegie_Mellon/Team">TempLink</a>
+
-
</div>
+
-
<script type="text/javascript">
+
-
//SYNTAX: tabdropdown.init("menu_id", [integer OR "auto"])
+
-
tabdropdown.init("colortab", 3)
+
-
</script>
+
-
</div>
+
-
</head>
+
 +
// initialise plugins
 +
jQuery(function(){
 +
jQuery('ul.sf-menu').superfish({
 +
            pathClass:  'current'
 +
        });
 +
 +
});
 +
</script>
</html>
</html>

Latest revision as of 03:02, 4 October 2012

Image:CMU_image6.jpeg