Template:CAU China/Menu

From 2014.igem.org

(Difference between revisions)
 
(20 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
<style>
-
<html xmlns="http://www.w3.org/1999/xhtml">
+
#contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .firstHeading,.visualClear {display: none;} /*-- hides default wiki settings --*/
 +
#globalWrapper, #content { /*-- changes default wiki settings --*/
 +
width: 100%;
 +
height: 100%;
 +
border: 0px;
 +
background-color: transparent;
 +
margin: 0px;
 +
padding: 0px;
 +
}
-
<head>
+
html, body, .wrapper { /*-- changes default wiki settings --*/
-
<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
+
width: 100%;  
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+
height: 100%;  
-
<style type="text/css">
+
background-color: transparent;
-
/* common styling */
+
-
/* set up the overall width of the menu div, the font and the margins */
+
-
.menu {
+
-
font-family: arial, sans-serif;  
+
-
width:60%;  
+
-
margin:0;
+
-
margin:50px 0;
+
}
}
-
/* remove the bullets and set the margin and padding to zero for the unordered list */
+
#top-section {
-
.menu ul {
+
    background-color:#484848;
-
padding:0;  
+
    border: 0 none;
-
margin:0;
+
    width: 100%;
-
list-style-type: none;
+
    height: 24px;
 +
    z-index: 100;
 +
    top: 0;
 +
    position: absolute;
}
}
-
/* float the list so that the items are in a line and their position relative so that the drop down list will appear in the right place underneath each list item */
+
#menubar {
-
.menu ul li {
+
    top: 2px;
-
float:left;  
+
    font-family: Helvetica, Arial, Sans-serif;
-
position:relative;
+
    font-size: 14px;
}
}
-
/* style the links to be 104px wide by 30px high with a top and right border 1px solid white. Set the background color and the font size. */
+
.left-menu,.left-menu a {
-
.menu ul li a, .menu ul li a:visited {
+
    color: white;
-
display:block;
+
    left: 0;
-
text-align:center;
+
    text-align: left;
-
text-decoration:none;
+
    text-transform: capitalize;
-
width:104px;
+
-
height:30px;
+
-
color:#000;  
+
-
border:1px solid #fff;
+
-
border-width:1px 1px 0 0;
+
-
background:#c9c9a7;
+
-
line-height:30px;  
+
-
font-size:11px;
+
}
}
-
 
+
.right-menu,.right-menu a {
-
/* make the dropdown ul invisible */
+
    color: white;
-
.menu ul li ul {
+
    right: 0;
-
display: none;
+
    text-align: right;
}
}
-
 
+
.right-menu:hover, .left-menu:hover {
-
/* specific to non IE browsers */
+
    background-color: transparent;
-
 
+
-
/* set the background and foreground color of the main menu li on hover */
+
-
.menu ul li:hover a {
+
-
color:#fff;
+
-
background:#b3ab79;
+
}
}
-
 
+
.right-menu:hover a {
-
/* make the sub menu ul visible and position it beneath the main menu list item */
+
    color: white;
-
.menu ul li:hover ul {
+
-
display:block;
+
-
position:absolute;
+
-
top:31px;
+
-
left:0;
+
-
width:105px;
+
}
}
-
 
+
.right-menu li a, .left-menu li a {
-
/* style the background and foreground color of the submenu links */
+
    background-color: transparent;
-
.menu ul li:hover ul li a {
+
    color: white;
-
display:block;  
+
    padding:0,15px,0,0;
-
background:#faeec7;  
+
    margin:0;
-
color:#000;
+
}
}
-
 
+
.right-menu li a:hover {
-
/* style the background and forground colors of the links on hover */
+
    color: white;
-
.menu ul li:hover ul li a:hover {
+
    text-decoration:underline;
-
background:#dfc184;  
+
-
color:#000;
+
}
}
-
</style>
+
.right-menu li a:visited {
-
 
+
    color: white;
-
<!--[if lte IE 6]>
+
-
<style type="text/css">
+
-
/* styling specific to Internet Explorer IE5.5 and IE6. Yet to see if IE7 handles li:hover */
+
-
/* Get rid of any default table style */
+
-
table {
+
-
border-collapse:collapse;
+
-
margin:0;
+
-
padding:0;
+
}
}
-
/* ignore the link used by 'other browsers' */
+
.new {
-
.menu ul li a.hide, .menu ul li a:visited.hide {
+
    color:white;
-
display:none;
+
}
}
-
/* set the background and foreground color of the main menu link on hover */
+
a, a:visited {
-
.menu ul li a:hover {
+
    color: white;
-
color:#fff;  
+
    text-decoration: none;
-
background:#b3ab79;
+
}
}
-
/* make the sub menu ul visible and position it beneath the main menu list item */
+
a:hover {
-
.menu ul li a:hover ul {
+
    color: white;
-
display:block;
+
    text-decoration: underline;
-
position:absolute;
+
-
top:32px;
+
-
left:0;
+
-
width:105px;
+
-
}
+
-
/* style the background and foreground color of the submenu links */
+
-
.menu ul li a:hover ul li a {
+
-
background:#faeec7;  
+
-
color:#000;
+
-
}
+
-
/* style the background and forground colors of the links on hover */
+
-
.menu ul li a:hover ul li a:hover {
+
-
background:#dfc184;
+
-
color:#000;
+
}
}
</style>
</style>
-
<![endif]-->
+
<!-- STYLESHEET -->
-
</head>
+
<!-- *********** -->
-
<body>
+
    <link rel="stylesheet" href="https://2011.igem.org/Team:DTU-Denmark/stylesheet?action=raw&ctype=text/css" type="text/css" />
-
<tr>
+
<!-- JAVASCRIPTS -->
-
<td colspan="5"></td>
+
<!-- *********** -->
-
<td align ="Right"  width="162px"> <a href="https://2014.igem.org/Main_Page"> <img src="https://static.igem.org/mediawiki/igem.org/6/60/Igemlogo_300px.png" width="55px"></a> </td>
+
-
</tr>
+
-
<div class="menu">
+
    <!-- ie9.js (fixes all Internet Explorer browsers older than ie9) -->
-
<ul>
+
    <!--[if lt IE 9]>
 +
    <script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script>
 +
    <![endif]-->
-
     <!--Home-->
+
     <!-- jQuery Tools (slider) -->
-
<li><a class="hide" href="https://2014.igem.org/Team:CAU_China">Home</a>
+
    <script src="http://cdn.jquerytools.org/1.2.5/full/jquery.tools.min.js"></script>
-
<!--[if lte IE 6]>
+
    <script>
-
<a href="https://2014.igem.org/Team:CAU_China">Home
+
        $(function() {
-
<table><tr><td>
+
    // initialize scrollable
-
<![endif]-->
+
    $(".scrollable").scrollable().navigator();
-
</li>
+
        });
 +
    </script>
-
     <!--Team-->
+
     <!-- Navigation scroll follow -->
-
<li><a class="hide" href="https://2014.igem.org/Team:CAU_China/Team">Team</a>
+
    <script type="text/javascript">
-
<!--[if lte IE 6]>
+
        $(window).scroll(function () {
-
<a href="https://2014.igem.org/Team:CAU_China/Team">Team
+
            var scrollPos = $(window).scrollTop();
-
<table><tr><td>
+
            if (scrollPos > 110) {
-
<![endif]-->
+
                $(".navigation").addClass("stickToTop");
-
    <ul>
+
            } else {
-
    <li><a href="spies.html" title="a coded list of spies">Gallery</a></li>
+
                $(".navigation").removeClass("stickToTop");
-
    <li><a href="vertical.html" title="a horizontal vertical menu">Attribution</a></li>
+
            }
-
    </ul>
+
            if (scrollPos > 180) {
-
<!--[if lte IE 6]>
+
                $(".toc").addClass("stickBelowNavigation");
-
</td></tr></table>
+
            } else {
-
</a>
+
                $(".toc").removeClass("stickBelowNavigation");
-
<![endif]-->
+
            }
-
</li>
+
        });
-
     
+
    </script>
-
    <!--Project-->
+
-
<li><a class="hide" href="https://2014.igem.org/Team:CAU_China/Project">Project</a>
+
-
<!--[if lte IE 6]>
+
-
<a href="https://2014.igem.org/Team:CAU_China/Project">Project
+
-
<table><tr><td>
+
-
<![endif]-->
+
-
    <ul>
+
-
    <li><a href="../layouts/bodyfix.html" title="Cross browser fixed layout">1</a></li>
+
-
    <li><a href="../layouts/body2.html" title="Cross browser fixed layout">2</a></li>
+
-
    </ul>
+
-
<!--[if lte IE 6]>
+
-
</td></tr></table>
+
-
</a>
+
-
<![endif]-->
+
-
</li>
+
-
     <!--Modeling-->
+
     <!-- MathJax (LaTeX for the web) -->
-
+
    <script type="text/x-mathjax-config">
-
+
        MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});
-
<li><a class="hide" href="https://2014.igem.org/Team:CAU_China/Modeling">Modeling</a>
+
        MathJax.Hub.Config({
-
<!--[if lte IE 6]>
+
            TeX: {
-
<a href="https://2014.igem.org/Team:CAU_China/Modeling">Modeling
+
                equationNumbers: {  autoNumber: "AMS" }
-
<table><tr><td>
+
            }
-
<![endif]-->
+
        });
-
     <ul>
+
     </script>
-
     <li><a href="spies.html" title="a coded list of spies">spies menu</a></li>
+
     <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
-
     </ul>
+
     <!-- Sexy Drop Down (drop down navigation) -->
-
<!--[if lte IE 6]>
+
    <script type="text/javascript">
-
</td></tr></table>
+
        $(document).ready(
-
</a>
+
            function(){
-
<![endif]-->
+
                $("ul.subnav").parent().find("> a").append("<span> </span>");
-
</li>
+
                $("ul.topnav li").hover(
 +
                    function() {
 +
                        // Hover over
 +
                        $(this).parent().find("ul.subnav").hide();
 +
                        $(this).find("ul.subnav").show();
 +
                        // Hover out
 +
                        $(this).hover(
 +
                            function() {
 +
                            },
 +
                            function(){
 +
                                $(this).find("ul.subnav").hide();
 +
                            }
 +
                        );
 +
                    },
 +
                    function(){
 +
                        $(this).find("ul.subnav").hide();
 +
                    }
-
    <!--Notebook-->
+
                );
-
<li><a class="hide" href="https://2014.igem.org/Team:CAU_China/Notebook">Notebook</a>
+
            }
-
<!--[if lte IE 6]>
+
        );
-
<a href="https://2014.igem.org/Team:CAU_China/Notebook">Notebook
+
     </script>
-
<table><tr><td>
+
-
<![endif]-->
+
-
     <ul>
+
-
    <li><a href="../mozilla/dropdown.html" title="A drop down menu">Breakthrough</a></li>
+
-
    <li><a href="../mozilla/cascade.html" title="A cascading menu">Labnote</a></li>
+
-
    </ul>
+
-
<!--[if lte IE 6]>
+
-
</td></tr></table>
+
-
</a>
+
-
<![endif]-->
+
-
</li>
+
-
     <!--Safety -->
+
 
-
<li><a class="hide" href="https://2014.igem.org/Team:CAU_China/Safety">Safety</a>
+
-
<!--[if lte IE 6]>
+
<div id="navigation">
-
<a href="https://2014.igem.org/Team:CAU_China/Safety">Safety
+
     <div class="navigation">
-
<table><tr><td>
+
        <div class="centering">
-
<![endif]-->
+
            <ul class="topnav" id="topnav">
-
    <ul>
+
                <li class="Home navitem1">
-
    <li><a href="../ie/exampleone.html" title="Example one">example one</a></li>
+
                    <a href="https://2014.igem.org/Team:CAU_China/Home">Home</a>
-
    <li><a href="../ie/weft.html" title="Weft fonts">weft fonts</a></li>
+
                </li>
-
    <li><a href="../ie/exampletwo.html" title="Vertical align">vertical align</a></li>
+
 
-
    </ul>
+
                <li class="Project navitem2">
-
<!--[if lte IE 6]>
+
                    <a href="https://2014.igem.org/Team:CAU_China/Project" title="">Project</a>
-
</td></tr></table>
+
                    <ul class="subnav">
-
</a>
+
                        <li><a href="https://2014.igem.org/Team:CAU_China/Project/Biobricks">Biobricks</a></li>
-
<![endif]-->
+
                    </ul>
-
</li>
+
                </li>
-
</ul>
+
 
-
<!-- clear the floats if required -->
+
                <li class="Modeling navitem3">
-
<div class="clear"> </div>
+
                    <a href="https://2014.igem.org/Team:CAU_China/Modeling">Modeling</a>
 +
                </li>
 +
 
 +
                <li class="Notebook navitem4">
 +
                    <a href="https://2014.igem.org/Team:CAU_China/Notebook">Notebook</a>
 +
                    <ul class="subnav">
 +
                        <li><a href="">Labnote</a></li>
 +
                        <li><a href="">Protocols</a></li>
 +
                    </ul>
 +
                </li>
 +
 
 +
                <li class="Human_Practice navitem5">
 +
                    <a href="https://2014.igem.org/Team:CAU_China/Human_Practice">Human Practice</a>
 +
                    <ul class="subnav">
 +
                        <li><a href="https://2014.igem.org/Team:CAU_China/Human_Practice/Peers">Help Peers</a></li>
 +
                        <li><a href="https://2014.igem.org/Team:CAU_China/Human_Practice/Gene">iGEM-Help with Gene</a></li>
 +
                        <li><a href="https://2014.igem.org/Team:CAU_China/Human_Practice/Periodicals">Periodicals</a></li>
 +
                        <li><a href="https://2014.igem.org/Team:CAU_China/Human_Practice/Survey">Survey</a></li>
 +
                    </ul>
 +
                </li>
 +
 
 +
                <li class="Judging navitem5">
 +
                    <a href="https://2014.igem.org/Team:CAU_China/Judging">Judging</a>
 +
                </li>
 +
 
 +
                <li class="Team navitem7">
 +
                    <a href="https://2014.igem.org/Team:CAU_China/Team">Team</a>
 +
    <ul class="subnav">
 +
                        <li><a href="https://2014.igem.org/Team:CAU_China/Team/Gallery.html">Gallery</a></li>
 +
                        <li><a href="https://2014.igem.org/Team:CAU_China/Team/Attribution.html">Attributions</a></li>
 +
                    </ul>
 +
                </li>
 +
 
 +
        <li class="Safety navitem8">
 +
                    <a href="https://2014.igem.org/Team:CAU_China/Safety">Safety</a>
 +
                </li>
 +
 
 +
            </ul>
 +
        </div>
 +
    </div>
</div>
</div>
-
</body>
+
 
</html>
</html>

Latest revision as of 03:58, 18 October 2014