|
|
(445 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
− | <html> | + | <html lang="en"> |
− | | + | <head> |
| + | <title>igem2016:ShanghaiTech</title> |
| + | <meta charset="utf-8"> |
| + | <meta name="viewport" content="width=device-width, initial-scale=1"> |
| + | <link rel="stylesheet" href="https://2016.igem.org/Template:ShanghaitechChina/css/bootstrap?action=raw&ctype=text/css"> |
| + | <script src="https://2016.igem.org/Template:ShanghaitechChina/js/jquery?action=raw&ctype=text/javascript"></script> |
| + | <script src="https://2016.igem.org/Template:ShanghaitechChina/js/bootstrap?action=raw&ctype=text/javascript"></script> |
| <style type="text/css"> | | <style type="text/css"> |
− | @import url(http://fonts.googleapis.com/css?family=Indie+Flower);body{font-family:Indie Flower,Daniel,cursive}h1,h2,h3,h4{text-align:center}blockquote{margin:1.5em 10px;padding:.5em 10px}blockquote:before{color:#000;content:open-quote;font-size:2em;line-height:.1em;margin-right:.25em;vertical-align:-.4em}blockquote:after{color:#000;content:close-quote;font-size:2em;line-height:.1em;margin-left:.25em;vertical-align:-.4em}blockquote p{display:inline}hr{border:0;border-top:dashed 2px gray}table{padding:0}table tr{border-top:1px solid #ccc;background-color:#fff;margin:0;padding:0}table tr:nth-child(2n){background-color:#aaa}table tr th{font-weight:700;border:1px solid #ccc;text-align:left;margin:0;padding:6px 13px}table tr td{border:1px solid #ccc;text-align:left;margin:0;padding:6px 13px}table tr td :first-child,table tr th :first-child{margin-top:0}table tr td:last-child,table tr th :last-child{margin-bottom:0}
| + | h3.bg{background-color:#d3d3d3} |
− | </style>
| + | b.bg{background-color:#d3d3d3} |
| + | p.bg{background-color:#c2ddf4;font-size:18px} |
| + | p{font-size:18px} |
| + | p.cap{font-size:14px} |
| + | p.vis{display:none;} |
| + | button{width:100%;background-color:#c2ddf4;border: 1px solid #9bb0c3;box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.35);} |
| + | </style> |
| | | |
− | <style> | + | <style> |
| + | html{ |
| + | height:100%; |
| + | margin:0; |
| + | padding:0; |
| + | width:100%; |
| + | background-color:#242424; |
| + | } |
| + | body{ |
| + | width:100%; |
| + | margin:0 auto; |
| + | padding:0; |
| + | background-image:url('https://static.igem.org/mediawiki/2016/9/9c/Back4.png'),url(https://static.igem.org/mediawiki/2016/2/23/Bubbles3.png),url(https://static.igem.org/mediawiki/2016/f/fd/Bubbles2.png),url(https://static.igem.org/mediawiki/2016/1/12/Bubbles_back.png); |
| | | |
− | /********************************* DEFAULT WIKI SETTINGS ********************************/
| + | } |
| + | body,td,th { |
| + | font-family: Arial, Helvetica, sans-serif; |
| + | } |
| | | |
− | #sideMenu, #top_title {display:none;}
| + | #top_title, #sideMenu{ |
− | #content { padding:0px; width:1000px; margin-top:-7px; margin-left:0px;}
| + | display: none; |
− | body {background-color:white; }
| + | } |
− | #bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
| + | |
| | | |
− | /********************************* MENU ********************************/
| + | #content{ |
− | /* Wrapper for the menu */
| + | width: 100%; |
− | .menu_wrapper {
| + | margin: 0; |
− | width:150px;
| + | padding: 0; |
− | height:100vh;
| + | } |
− | position:fixed;
| + | |
− | padding:0px;
| + | |
− | float:left;
| + | |
− | background-color:#f68915;
| + | |
− | text-align:left;
| + | |
− | }
| + | |
| | | |
− | /* styling for the menu items */
| + | .full{width:100%;height:auto;cursor:pointer;} |
− | .menu_item {
| + | .pic3{width:33%;height:auto;cursor:pointer;} |
− | width:100%;
| + | .pic4{width:24%;height:auto;cursor:pointer;} |
− | margin:-2px 0px 0px -20px;
| + | #sideMenu{display:none;} |
− | padding: 10px 10px;
| + | #top_title{display:none;} |
− | border-bottom: 1px solid #F7A043;
| + | #side-menu { |
− | font-weight:bold;
| + | background: rgba(50, 50, 50, 1) none repeat scroll 0 0; |
− | color:#FFF;
| + | color: white; |
− | cursor: pointer;
| + | padding: 0; |
− | }
| + | position:fixed; |
| + | right:2%; |
| + | top:60px; |
| + | width:150px; |
| + | transition: all 0.3s ease 0s; |
| + | border: 1px solid #cccccc; |
| + | border-radius: 10px; |
| + | box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.35); |
| + | color: #3d3d3d; |
| + | font-size: 12px; |
| + | } |
| + | .side { |
| + | align:right; |
| + | margin-right:1%; |
| + | } |
| + | .section-heading:hover{ |
| + | margin-left:-20px; |
| + | } |
| + | .row > h1{margin-bottom:15px} |
| | | |
− | /* when hovering on a menu item */
| + | .content { |
− | .menu_item:hover {
| + | background-color: rgba(255,255,255,0.90); |
− | color:#fff;
| + | width:85%; |
− | background-color: #F7A043;
| + | border: 1px solid #cccccc; |
− | }
| + | border-radius: 10px; |
| + | box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.35); |
| + | color: #3d3d3d; |
| + | font-size: 18px; |
| + | margin-left:2%; |
| + | margin-top:50px; |
| + | text-align:justify; |
| + | padding: 10px 70px 30px 70px; |
| + | } |
| + | .imgnav { |
| + | margin-top:20px; |
| + | width:85%; |
| + | margin-left:2%; |
| + | border-radius: 0 0 10px 10px; |
| + | } |
| | | |
− | /* decoration icon for the menu buttons*/
| + | .contentBorder { |
− | .icon {
| + | border: 1px solid #aaaaaa; |
− | float:right;
| + | border-radius: 7px; |
− | font-size:16px;
| + | box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.35); |
− | font-weight:bold;
| + | } |
− | }
| + | .ContentHeader { |
− |
| + | color: #3d3d3d; |
− | /* this is the icon for when the content is collapsed */
| + | font-size: 30px; |
− | .plus::before {
| + | font-weight: bold; |
− | content: "+";
| + | margin-bottom: 25px; |
− | }
| + | margin-left: 15px; |
− | /* this is the icon for when the content is expanded */
| + | } |
− | .less::before {
| + | |
− | content: "–";
| + | |
− | }
| + | |
| | | |
− | /* styling for the ul that creates the buttons */
| + | .content-section-a { |
− | ul.menu_items {
| + | padding: 50px 0; |
− | width:100%;
| + | background-color: #f2f2f2; |
− | margin-left:0px;
| + | } |
− | padding:0px;
| + | |
− | list-style: none;
| + | |
− | }
| + | |
| | | |
− | /* styling for the li that are the menu items */
| + | .content-section-b { |
− | .menu_items li {
| + | padding: 50px 0; |
− | width:90%;
| + | border-top: 1px solid #e3e3e3; |
− | margin-top:-2px;
| + | border-bottom: 1px solid #e3e3e3; |
− | padding: 15px 0px 15px 15px ;
| + | } |
− | display:block;
| + | |
− | border-bottom: 1px solid #F7A043;
| + | |
− | text-align:left;
| + | |
− | font-weight:bold;
| + | |
− | text-decoration:none;
| + | |
− | color:#fff;
| + | |
− | list-style-type:none;
| + | |
− | cursor:pointer;
| + | |
− | -webkit-transition: all 0.4s ease;
| + | |
− | -moz-transition: all 0.4s ease;
| + | |
− | -ms-transition: all 0.4s ease;
| + | |
− | -o-transition: all 0.4s ease; transition: all 0.4s ease;
| + | |
− | }
| + | |
| | | |
− | .menu_item a {
| + | /* hr */ |
− | width: 100%;
| + | .section-heading:hover{ |
− | margin-left: -20px;
| + | left:30px; |
− | padding: 11px 90px 12px 20px;
| + | } |
− | text-decoration: none;
| + | .section-heading-spacer { |
− | color:#fff;
| + | float: left; |
− | }
| + | width: 200px; |
| + | border-top: 3px solid #e3e3e3; |
| + | } |
| | | |
− | /* When hovering on a menu item */
| + | /* Little paragraph snippet sections */ |
− | .menu_items li:hover {
| + | .section-heading { |
− | background-color:#F68915;
| + | margin-bottom: 30px; |
− | color: #fff;
| + | } |
− | }
| + | |
| | | |
− | /* styling for the submenus */
| + | .section-content { |
− | .submenu {
| + | |
− | width:100%;
| + | margin-left:15px; |
− | display: none;
| + | } |
− | font-weight:bold;
| + | #sidebar{ |
− | cursor:pointer;
| + | right:0px; |
| + | top:90px; |
| + | position:fixed; |
| + | width:165px; |
| + | background-color:rgba(255,255,255,0.9); |
| + | border-radius: 5px; |
| + | } |
| | | |
− | }
| + | #sidebar >li a{ color:black; |
| + | font-size:16px; |
| + | } |
| | | |
− | /* moving the margin for the submenu ul list */
| |
− | ul.submenu {
| |
− | width: 100%;
| |
− | margin: 10px 0px -11px 0px;
| |
− | list-style: none;
| |
− | }
| |
| | | |
− | /*styling for the submenu buttons */
| + | @media (max-width: 1000px){ |
− | .submenu li {
| + | .imgnav { |
− | width: 100%;
| + | width:96%; |
− | margin-left: 10px;
| + | } |
− | margin-bottom: 0px;
| + | #sidebar{ |
− | }
| + | display:none; |
| + | } |
| + | .content{ |
| + | width:96%; |
| + | } |
| | | |
| | | |
− | /* hover state for the submenu buttons */
| |
− | .submenu li a {
| |
− | width: 100%;
| |
− | padding: 5px 10px;
| |
− | display: inline-block;
| |
− | border-bottom: 1px solid #F7A043;
| |
− | background-color:white;
| |
− | text-decoration:none;
| |
− | color:#000000;
| |
− | }
| |
− |
| |
− |
| |
− |
| |
− | .submenu li a:hover {
| |
− | background-color:#F7A043;
| |
− | color: #000000;
| |
− | }
| |
− |
| |
− |
| |
− | /* When the screen is smaller than 680px, the menu has the option to hide/show - this button controls that */
| |
− | .collapsable_menu_control {
| |
− | width:100%;
| |
− | padding: 15px 0px;
| |
− | display:none;
| |
− | background-color:#000000;
| |
− | text-align:center;
| |
− | font-weight:bold;
| |
− | color:#F68915;
| |
− | cursor:pointer;
| |
− | -webkit-transition: all 0.4s ease;
| |
− | -moz-transition: all 0.4s ease;
| |
− | -ms-transition: all 0.4s ease;
| |
− | -o-transition: all 0.4s ease;
| |
− | transition: all 0.4s ease;
| |
− | }
| |
− |
| |
− | /* when hovering on that button */
| |
− | .collapsable_menu_control:hover {
| |
− | background-color: #F68915;
| |
− | color:#000000;
| |
− | }
| |
− |
| |
− | /********************************* CONTENT OF THE PAGE ********************************/
| |
− |
| |
− | /* Wrapper for the content */
| |
− | .content_wrapper {
| |
− | width: 85%;
| |
− | margin-left:150px;
| |
− | padding:10px 0px;
| |
− | float:left;
| |
− | background-color:white;
| |
− | }
| |
− |
| |
− | /*LAYOUT */
| |
− | .column {
| |
− | padding: 10px 0px;
| |
− | float:left;
| |
− | background-color:white;
| |
− | }
| |
− |
| |
− | .full_size {
| |
− | width:100%;
| |
− | }
| |
− |
| |
− | .full_size img {
| |
− | padding: 10px 15px;
| |
− | width:96.5%;
| |
− | }
| |
− |
| |
− | .half_size {
| |
− | width: 50%;
| |
− | }
| |
− | .half_size img {
| |
− | padding: 10px 15px;
| |
− | width: 93%;
| |
− | }
| |
− |
| |
− |
| |
− | .clear {
| |
− | clear:both;
| |
− | }
| |
− |
| |
− | .highlight {
| |
− | width: 90%;
| |
− | margin: auto;
| |
− | padding: 15px 5px;
| |
− | background-color: #f2f2f2;
| |
− | }
| |
− |
| |
− | .judges-will-not-evaluate {
| |
− | border: 4px solid #F68915;
| |
− | display: block;
| |
− | margin: 5px 15px;
| |
− | width: 95%;
| |
− | font-weight:bold;
| |
− | }
| |
− |
| |
− |
| |
− | /*STYLING */
| |
− |
| |
− | /* styling for the titles */
| |
− | .content_wrapper h1, .content_wrapper h2 {
| |
− | padding:5px 15px;
| |
− | border-bottom:0px;
| |
− | color:#F68915;
| |
− |
| |
− | }
| |
− | .content_wrapper h3, .content_wrapper h4, .content_wrapper h5, .content_wrapper h6 {
| |
− | padding:5px 15px;
| |
− | border-bottom:0px;
| |
− | color: #000000;
| |
− | }
| |
− |
| |
− |
| |
− | /* font and text */
| |
− | .content_wrapper p {
| |
− | padding:0px 15px;
| |
− | font-size: 13px;
| |
− | font-family:Tahoma, Geneva, sans-serif;
| |
− | }
| |
− |
| |
− | /* Links */
| |
− | .content_wrapper a {
| |
− | font-weight: bold;
| |
− | text-decoration: underline;
| |
− | text-decoration-color:#F68915;
| |
− | color: #F68915;
| |
− | -webkit-transition: all 0.4s ease;
| |
− | -moz-transition: all 0.4s ease;
| |
− | -ms-transition: all 0.4s ease;
| |
− | -o-transition: all 0.4s ease;
| |
− | transition: all 0.4s ease;
| |
− | }
| |
− |
| |
− | /* hover for the links */
| |
− | .content_wrapper a:hover {
| |
− | text-decoration:none;
| |
− | color:#000000;
| |
− | }
| |
− |
| |
− | /* non numbered lists */
| |
− | .content_wrapper ul {
| |
− | padding:0px 20px;
| |
− | font-size: 13px;
| |
− | font-family:Tahoma, Geneva, sans-serif;
| |
− | }
| |
− |
| |
− | /* numbered lists */
| |
− | .content_wrapper ol {
| |
− | padding:0px;
| |
− | font-size: 13px;
| |
− | font-family:Tahoma, Geneva, sans-serif;
| |
− | }
| |
− |
| |
− | /* Table */
| |
− | .content_wrapper table {
| |
− | width: 97%;
| |
− | margin:15px 10px;
| |
− | border: 1px solid #F7A043;
| |
− | border-collapse: collapse;
| |
− | }
| |
− |
| |
− | /* table cells */
| |
− | .content_wrapper td {
| |
− | padding: 10px;
| |
− | vertical-align: text-top;
| |
− | border: 1px solid #F7A043;
| |
− | border-collapse: collapse;
| |
− | }
| |
− |
| |
− | /* table headers */
| |
− | .content_wrapper th {
| |
− | padding: 10px;
| |
− | vertical-align: text-top;
| |
− | border: 1px solid #F7A043;
| |
− | border-collapse: collapse;
| |
− | background-color:#f2f2f2;
| |
− | }
| |
− |
| |
− | /* Button class */
| |
− | .button_click {
| |
− | margin: 10px auto;
| |
− | padding: 15px; width:12%;
| |
− | text-align:center;
| |
− | font-weight:bold;
| |
− | background-color: #F68915;
| |
− | cursor:pointer;
| |
− | -webkit-transition: all 0.4s ease;
| |
− | -moz-transition: all 0.4s ease;
| |
− | -ms-transition: all 0.4s ease;
| |
− | -o-transition: all 0.4s ease;
| |
− | transition: all 0.4s ease;
| |
− | }
| |
− |
| |
− | /* button class on hover */
| |
− | .button_click:hover {
| |
− | background-color:#000000;
| |
− | color:#F68915;
| |
− | }
| |
− |
| |
− | /********************************* RESPONSIVE STYLING ********************************/
| |
− |
| |
− | /* IF THE SCREEN IS LESS THAN 1000PX */
| |
− |
| |
− | @media only screen and (max-width: 1000px) {
| |
− |
| |
− | #content {width:100%; }
| |
− | .menu_wrapper {width:15%;}
| |
− | .content_wrapper {margin-left: 15%;}
| |
− | .menu_item {display:block;}
| |
− | .icon {display:none;}
| |
− | .highlight {padding:10px 0px;}
| |
− | }
| |
− |
| |
− |
| |
− | /* IF THE SCREEN IS LESS THAN 680PX */
| |
− |
| |
− | @media only screen and (max-width: 680px) {
| |
− | .collapsable_menu_control { display:block;}
| |
− | .menu_item {display:none;}
| |
− | .menu_wrapper { width:100%; height: 15%; position:relative;}
| |
− | .content_wrapper {width:100%; margin-left:0px;}
| |
− | .column.half_size {width:100%; }
| |
− | .column img { width: 100%; padding: 5px 0px;}
| |
− | .icon {display:block;}
| |
− | .highlight {padding:15px 5px;}
| |
− | }
| |
| | | |
| </style> | | </style> |
| + | <nav class="navbar navbar-inverse navbar-fixed-top" style="margin-top:10px;text-align:center"> |
| + | <div class="container-fluid"> |
| | | |
| + | <!-- Logo --> |
| + | <div class="navbar-header"> |
| + | <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#mainNavBar"> |
| + | <span class="icon-bar"></span> |
| + | <span class="icon-bar"></span> |
| + | </button> |
| + | <a href="https://2016.igem.org/Team:ShanghaitechChina" class="navbar-brand" style="font-size:28px;margin-top:2%">Solar Hunter</a> |
| + | </div> |
| | | |
| + | <!-- Menu Items --> |
| + | <div class="collapse navbar-collapse" id="mainNavBar"> |
| + | <ul class="nav navbar-nav navbar-right"> |
| + | <li><a href="https://2016.igem.org/Team:ShanghaitechChina" style="font-size:20px;"> </a></li> |
| + | <li><a href="https://2016.igem.org/Team:ShanghaitechChina" style="font-size:20px;">Home</a></li> |
| + | <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown" style="font-size:20px;">Team<span class="caret"></span></a> |
| + | <ul class="dropdown-menu" style="margin-left:0;"> |
| + | <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Team" style="font-size:20px;">Members</a></li> |
| + | <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Attributions" style="font-size:20px;">Attributions</a></li> |
| + | </ul></li> |
| + | <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown" style="font-size:20px; ">Project<span class="caret"></span></a> |
| + | <ul class="dropdown-menu" style="margin-left:0;"> |
| + | <li><a href="https://2016.igem.org/Team:ShanghaitechChina/IBS" style="font-size:20px;">Integrative Biohydrogen System</a></li> |
| + | <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Nanomaterials" style="font-size:18px;">Semiconductor Nanomaterials</a></li> |
| + | <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Biofilm" style="font-size:18px;">Engineered Biofilms</a></li> |
| + | <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Hydrogen" style="font-size:18px;">Hydrogenase Gene Clusters</a></li> |
| + | </ul></li> |
| + | <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Parts" style="font-size:20px; ">Parts</a></li> |
| + | <!--<li><a href="https://2016.igem.org/Team:ShanghaitechChina/Safety" style="font-size:20px; ">Safety</a></li>--> |
| + | <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Notebook" style="font-size:20px; ">Notebook</a></li> |
| + | <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Human_Practice" style="font-size:20px; ">Human Practice</a></li> |
| + | <li><a href="https://2016.igem.org/Team:ShanghaitechChina/InterLab" style="font-size:20px; ">InterLab</a></li> |
| + | <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Safety" style="font-size:20px; ">Safety</a></li> |
| + | <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown" style="font-size:20px; ">Special Prize<span class="caret"></span></a><ul class="dropdown-menu" style="margin-left:0;"><li><a href="https://2016.igem.org/Team:ShanghaitechChina/Integrated_Practices" style="font-size:20px; ">Integrated Human Practices</a></li> |
| + | <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Engagement" style="font-size:20px; "> Education and Public Engagement</a></li> |
| + | <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Measurement" style="font-size:20px; ">Measurement</a></li> |
| + | <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Design" style="font-size:20px; ">Applied Design</a></li> |
| + | </ul></li> |
| + | </ul> |
| + | </div> |
| | | |
| | | |
− | <!--- THIS IS WHERE THE HTML BEGINS ---> | + | </div> |
− | | + | </nav> |
− | | + | |
− | <!-- This tells the browser that your page is responsive -->
| + | |
− | | + | |
− | <head>
| + | |
− | <meta name="viewport" content="width=device-width, initial-scale=1">
| + | |
| </head> | | </head> |
− | | + | <body> |
− | | + | |
− | | + | </body> |
− | | + | |
− | <div class="menu_wrapper" > | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | <div class="collapsable_menu_control"> MENU ▤ </div>
| + | |
− | | + | |
− | <ul id="accordion" class="accordion">
| + | |
− | | + | |
− | <li class="menu_item"> <a href="https://2016.igem.org/Team:ShanghaitechChina">HOME </a> </li>
| + | |
− | | + | |
− | | + | |
− | <li class="menu_item"> <div class="icon plus"></div> TEAM
| + | |
− | <ul class="submenu">
| + | |
− | <li> <a href=" https://2016.igem.org/Team:ShanghaitechChina/Team"> Team </a> </li>
| + | |
− | <li> <a href="https://2016.igem.org/Team:ShanghaitechChina/Collaborations">★ Collaborations </a> </li>
| + | |
− | </ul>
| + | |
− | </li>
| + | |
− | | + | |
− | <li class="menu_item"> <div class="icon plus"></div> PROJECT
| + | |
− | <ul class="submenu">
| + | |
− | <li> <a href="https://2016.igem.org/Team:ShanghaitechChina/Description"> ★ Description </a></li>
| + | |
− | <li> <a href="https://2016.igem.org/Team:ShanghaitechChina/Design"> ★ Design </a></li>
| + | |
− | <li> <a href="https://2016.igem.org/Team:ShanghaitechChina/Experiments"> Experiments </a></li>
| + | |
− | <li> <a href="https://2016.igem.org/Team:ShanghaitechChina/Proof"> ★ Proof of Concept </a></li>
| + | |
− | <li> <a href="https://2016.igem.org/Team:ShanghaitechChina/Demonstrate"> ★ Demonstrate </a></li>
| + | |
− | <li> <a href="https://2016.igem.org/Team:ShanghaitechChina/Results"> Results </a></li>
| + | |
− | <li> <a href="https://2016.igem.org/Team:ShanghaitechChina/Notebook"> Notebook </a></li>
| + | |
− | </ul>
| + | |
− | </li>
| + | |
− | | + | |
− | <li class="menu_item"> <div class="icon plus"></div> PARTS
| + | |
− | <ul class="submenu">
| + | |
− | <li> <a href="https://2016.igem.org/Team:ShanghaitechChina/Parts">Parts </a></li>
| + | |
− | <li> <a href="https://2016.igem.org/Team:ShanghaitechChina/Basic_Part"> ★ Basic Parts </a></li>
| + | |
− | <li> <a href="https://2016.igem.org/Team:ShanghaitechChina/Composite_Part"> ★ Composite Parts </a></li>
| + | |
− | <li> <a href="https://2016.igem.org/Team:ShanghaitechChina/Part_Collection"> ★ Part Collection </a></li>
| + | |
− | </ul>
| + | |
− | </li>
| + | |
− | | + | |
− | | + | |
− | <li class="menu_item"> <a href="https://2016.igem.org/Team:ShanghaitechChina/Safety"> SAFETY </a> </li>
| + | |
− | | + | |
− | | + | |
− | <li class="menu_item"> <a href="https://2016.igem.org/Team:ShanghaitechChina/Attributions">★ ATTRIBUTIONS </a></li>
| + | |
− | | + | |
− | | + | |
− | <li class="menu_item"> <div class="icon plus"></div> HUMAN PRACTICES
| + | |
− | <ul class="submenu">
| + | |
− | <li> <a href="https://2016.igem.org/Team:ShanghaitechChina/Human_Practices"> Human Practices </a></li>
| + | |
− | <li> <a href="https://2016.igem.org/Team:ShanghaitechChina/HP/Silver">★ Silver </a></li>
| + | |
− | <li> <a href="https://2016.igem.org/Team:ShanghaitechChina/HP/Gold">★ Gold </a></li>
| + | |
− | <li> <a href="https://2016.igem.org/Team:ShanghaitechChina/Integrated_Practices"> ★ Integrated Practices </a></li>
| + | |
− | <li> <a href="https://2016.igem.org/Team:ShanghaitechChina/Engagement">★ Engagement </a></li>
| + | |
− | </ul>
| + | |
− | </li>
| + | |
− | | + | |
− | | + | |
− | <li class="menu_item"> <div class="icon plus"></div> AWARDS
| + | |
− | <ul class="submenu">
| + | |
− | <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Entrepreneurship"> ★ Entrepreneurship </a></li>
| + | |
− | <li> <a href="https://2016.igem.org/Team:ShanghaitechChina/Hardware"> ★ Hardware </a></li>
| + | |
− | <li> <a href="https://2016.igem.org/Team:ShanghaitechChina/Software">★ Software </a></li>
| + | |
− | <li> <a href="https://2016.igem.org/Team:ShanghaitechChina/Measurement">★ Measurement </a></li>
| + | |
− | <li> <a href="https://2016.igem.org/Team:ShanghaitechChina/Model">★ Model </a></li>
| + | |
− | | + | |
− | </ul>
| + | |
− | </li>
| + | |
− | </ul>
| + | |
− | | + | |
− | </div>
| + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | <div class="content_wrapper">
| + | |
− | | + | |
− | <img style="margin-left:10px" src="https://static.igem.org/mediawiki/2016/4/49/SHTU_Icon.png" align="center" width="160" height="43">
| + | |
− | | + | |
− | <h1 id="team_name"> </h1>
| + | |
− | <h4 id="page_name"> </h4>
| + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | <script>
| + | |
− | | + | |
− | // This is the jquery part of your template. Try not modify any of this code since it makes your menu work.
| + | |
− | | + | |
− | $(document).ready(function() {
| + | |
− | | + | |
− | $("#HQ_page").attr('id','');
| + | |
− |
| + | |
− | | + | |
− | if ( wgPageName.substring( 0, 8) == "Template") { // if the page is a template it displays the full name in a single line
| + | |
− | $("#team_name").html( wgPageName );
| + | |
− | }
| + | |
− | | + | |
− | else if ( ( (wgPageName.match(/\//g) || []).length ) == 0 ) { // if it is the home page , just print the team's name
| + | |
− | $("#team_name").html( wgPageName.substring( 5, wgPageName.length ) );
| + | |
− | }
| + | |
− | | + | |
− | else {
| + | |
− | // this adds the team's name as an h1
| + | |
− | $("#team_name").html( wgPageName.substring( 5 , wgPageName.indexOf("/") ) );
| + | |
− | | + | |
− | // this adds the page's title as an h4
| + | |
− | $("#page_name").html ( ( wgPageName.substring( wgPageName.indexOf("/") + 1, wgPageName.length ) ).replace( /\/|_/g , " ") );
| + | |
− | }
| + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | $('#accordion').find('.menu_item').click(function(){
| + | |
− | | + | |
− | //Expand or collapse this panel
| + | |
− | submenu = $(this).find('.submenu');
| + | |
− | submenu.toggle();
| + | |
− | | + | |
− | icon = $(this).find('.icon');
| + | |
− | | + | |
− | if ( !$( submenu ).is(':visible') ) {
| + | |
− | icon.removeClass("less").addClass("plus");
| + | |
− | }
| + | |
− | else {
| + | |
− | icon.removeClass("plus").addClass("less");
| + | |
− | }
| + | |
− | | + | |
− | //Hide the other panels
| + | |
− | $(".submenu").not(submenu).hide();
| + | |
− | $(".icon").not(icon).removeClass("less").addClass("plus");
| + | |
− | });
| + | |
− | | + | |
− | | + | |
− | $(".collapsable_menu_control").click(function() {
| + | |
− | $(".menu_item").toggle();
| + | |
− | });
| + | |
− | | + | |
− | $( window ).resize(function() {
| + | |
− | $(".menu_item").show();
| + | |
− | });
| + | |
− | | + | |
− | | + | |
− | });
| + | |
− | | + | |
− |
| + | |
− |
| + | |
− | | + | |
| </html> | | </html> |