Difference between revisions of "Template:Jilin China"

 
(38 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
<html>
 
<html>
 +
  
<script>
+
<style type="text/css">
 
+
#top_title{display: none;}
// This is the jquery part of your template.
+
#sideMenu{display: none;}
// Try not modify any of this code too much since it makes your menu work.
+
#top_menu_under{display: none;}
 
+
body {
$(document).ready(function() {
+
background: url(https://static.igem.org/mediawiki/2017/5/53/T--Jilin_China--_sec_bg_m.png) no-repeat 50% 100px !important;background-attachment:fixed !important;
 
+
font-family: verdana,tahoma,sans-serif,helvetica;
$("#HQ_page").attr('id','');
+
min-width: 1280px;
 
+
}
// call the functions that control the menu
+
table{
menu_functionality();  
+
border: none;
hide_show_menu();
+
margin: 0;
 
+
padding: 0;
 
+
border-left: 1px solid #229D73 !important;
 
+
border-bottom: 1px solid #229D73 !important;
//this function controls the expand and collapse buttons of the menu and changes the +/- symbols
+
}
function menu_functionality() {
+
td,th{
 
+
border: none !important;
//when clicking on a "menu_button", it will change the "+/-" accordingly and it will show/hide the corresponding submenu
+
border-right: 1px solid #229D73 !important;
$(".menu_button").click(function(){
+
border-top: 1px solid #229D73 !important;
 
+
padding: 5px 10px !important;
// add or remove the class "open" , this class holds the "-"
+
background: #e2f7ff !important;
$(this).children().toggleClass("open");
+
color: #229D73 !important;
// show or hide the submenu
+
}
$(this).next('.submenu_wrapper').fadeToggle(400);
+
th{ background: #b4e1de !important;}
});
+
#globalWrapper{
 
+
padding: 0px;
// when the screen size is smaller than 800px, the display_menu_control button appears and will show/hide the whole menu
+
}
$("#display_menu_control").click(function(){
+
.float{position: fixed; right: 2%; bottom: 0%; z-index: 999; display: none;}
$('#menu_content').fadeToggle(400);
+
.mw-content-ltr ul, .mw-content-rtl .mw-content-ltr ul{margin: 0;}
});
+
#content{
 
+
width: 100%;
// call the current page highlight function
+
padding: 0;
highlight_current_page();
+
margin: 0;
 +
background: transparent;
 +
}
 +
 +
.navbox {
 +
width: 100%;
 +
height: 120px;
 +
position: fixed;
 +
z-index: 9;
 +
margin: auto;
 +
transition:all 0.6s;
 +
-moz-transition:all 0.6s;
 +
-webkit-transition:all 0.6s;
 +
-o-transition:all 0.6s;
 +
white-space: nowrap;
 
}
 
}
 
+
/*鼠标下滑之后附加的css*/
 
+
.navbox-defaulte{
// call the highlight current page function to show it on the menu with a different background color
+
background: rgba(20,36,63,1);
function highlight_current_page() {
+
}
 
+
.navbox .logo{
// select a page from the menu based on the id assigned to it and the current page name and add the class "current page" to make it change background color
+
width: 147px;
$("#"+  wgPageName.substring(wgPageName.lastIndexOf("/")+1, wgPageName.length ) + "_page").addClass("current_page");
+
height: 166px;
 
+
background: url(https://static.igem.org/mediawiki/2017/8/8a/T--Jilin_China--_logo1.png) no-repeat 50% 50%;
// now that the current_page class has been added to a menu item, make the submenu fade in
+
$(".current_page").parents(".submenu_wrapper").fadeIn(400);
+
// change the +/- symbol of the corresponding menu button
+
$(".current_page").parents(".submenu_wrapper").prev().children().toggleClass("open");
+
 
 
 +
position: absolute;
 +
top: 25px;
 +
left: 7%;
 +
transition:all 0.6s;
 +
-moz-transition:all 0.6s;
 +
-webkit-transition:all 0.6s;
 +
-o-transition:all 0.6s;
 
}
 
}
 
+
.navbox-defaulte .logo{
 
+
width: 140px;
 
+
height: 120px;
// allow button on the black menu bar to show/hide the side menu
+
background: url(https://static.igem.org/mediawiki/2017/2/2e/T--Jilin_China--_logo2.png) no-repeat 50% 50%;
function hide_show_menu() {
+
top: 0px;
+
}
// in case you preview mode is selected, the menu is hidden for better visibility
+
.nav {
if (window.location.href.indexOf("submit") >= 0) {
+
width: 990px;
$(".igem_2017_menu_wrapper").hide();
+
margin: 0;
}
+
height: 120px;
 
+
list-style: none;
// if the black menu bar has been loaded
+
float: right;
  if (document.getElementById('bars_item')) {
+
}
 
+
.nav li {
// when the "bars_item" has been clicked
+
float: left;
$("#bars_item").click(function() {
+
height: 120px;
$("#sideMenu").hide();
+
position: relative;
 
+
list-style: none;
// show/hide the menu wrapper
+
background: url(https://static.igem.org/mediawiki/2017/1/1d/T--Jilin_China--_child1.png) no-repeat 90% 53%;
$(".igem_2017_menu_wrapper").fadeToggle("100");
+
transition:all 0.6s;
});
+
-moz-transition:all 0.6s;
  }
+
-webkit-transition:all 0.6s;
 
+
-o-transition:all 0.6s;
// because the black menu bars loads at a different time than the rest of the page, this function is set on a time out so it can run again in case it has not been loaded yet
+
else {
+
    setTimeout(hide_show_menu, 15);
+
}
+
 
}
 
}
 
 
});
 
 
 
</script>
 
 
 
 
 
 
<style>
 
 
 
/***************************************************** DEFAULT WIKI SETTINGS  ****************************************************/
 
 
/* Clear the default wiki settings */
 
 
#home_logo, #sideMenu { display:none; }
 
#sideMenu, #top_title, .patrollink  {display:none;}
 
#content { width:100%; padding:0px;  margin-top:-7px; margin-left:0px;}
 
body {background-color:white; }
 
#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
 
 
 
 
 
/**************************************************************** MENU ***************************************************************/
 
/* Wrapper for the menu */
 
.igem_2017_menu_wrapper {
 
width: 15%;
 
height:100vh;
 
position:fixed;
 
right:0%;
 
padding:0px;
 
float:right;
 
border-left: 1px solid #d3d3d3;
 
background-color:#dddddd;
 
text-align:left;
 
font-family:Tahoma, Geneva, sans-serif;
 
overflow-y: auto;
 
overflow-x: hidden;
 
}
 
 
/* this hides the scrollbar to keep view consistency */
 
.igem_2017_menu_wrappe::-webkit-scrollbar {
 
display: none;
 
}
 
 
 
 
/* styling for links in the menu, removes the line under text */
+
.navbox-defaulte .nav li {
.igem_2017_menu_wrapper a {
+
background: url(https://static.igem.org/mediawiki/2017/3/37/T--Jilin_China--_child0.png) no-repeat 90% 53%;
text-decoration: none;  
+
}
}
+
.nav li.first {
 
+
background: transparent;
 
+
}
/* styling for the images in the menu */
+
.nav li.mj_hover_menu {
.igem_2017_menu_wrapper img {  
+
background: url(https://static.igem.org/mediawiki/2017/3/3f/T--Jilin_China--_hover1.png) no-repeat 50% 65%;
width: 100%;
+
}
}
+
.nav li a {
 
+
text-decoration: none;
/* styling for the menu buttons */
+
}
.igem_2017_menu_wrapper .menu_button {  
+
.nav li a span {
width: 100%;  
+
float: left;
padding: 10px 0px 10px 15px;  
+
display: block;
float:left;  
+
line-height: 120px;
border-bottom: 1px solid #d3d3d3;  
+
font-size: 20px;
font-size: 12px;  
+
color: #373737;
font-weight: bold;  
+
cursor: pointer;
color: #5e5f5f;  
+
text-align: center;
cursor: pointer;
+
padding: 0 30px;
}
+
}
 
+
.navbox-defaulte .nav li a span{
 
+
color: #e9e9e9;
.igem_2017_menu_wrapper .menu_bottom_padding {
+
}
width: 100%;  
+
.nav li.mj_hover_menu a span{
height: 30px;
+
color: #229d73;
float:left;
+
}
}
+
.nav li.selected .submenu {
 
+
display: block;
.menu_button.direct_to_page {  
+
}
padding-left: 36px;
+
.nav li .submenu {
}
+
display: none;
 
+
position: absolute;
 
+
top: 80px;
.igem_2017_menu_wrapper .menu_button .expand_collapse_icon {
+
padding: 10px;
width:10%;
+
box-sizing: border-box;
float:left;
+
}
}
+
.nav li .submenu .mj_menu_pro_bg{
 
+
min-width: 100px;
.igem_2017_menu_wrapper .menu_button .expand_collapse_icon::before {
+
text-align: center;
content: "+";
+
border:5px solid transparent;
}
+
-webkit-border-image:url(https://static.igem.org/mediawiki/2017/e/e3/T--Jilin_China--_child_border.png) 5 5 round;
+
border-image:url(https://static.igem.org/mediawiki/2017/e/e3/T--Jilin_China--_child_border.png) 5 5 round;
.open::before {
+
-moz-border-image:url(https://static.igem.org/mediawiki/2017/e/e3/T--Jilin_China--_child_border.png) 5 5 round;
content: "-" !important;
+
-o-border-image:url(https://static.igem.org/mediawiki/2017/e/e3/T--Jilin_China--_child_border.png) 5 5 round;
}
+
}
+
.mj_menu_pro_bg div{
+
background-color: rgba(34,157,115,0.6);
+
transition:all 0.6s;
/* styling for the menu buttons on hover */
+
-moz-transition:all 0.6s;
.igem_2017_menu_wrapper .menu_button:hover, .igem_2017_menu_wrapper .submenu_button:hover ,  .submenu_button.current_page:hover {
+
-webkit-transition:all 0.6s;
background-color: #3399ff;
+
-o-transition:all 0.6s;
text-decoration: none;
+
}
color:#ffffff;  
+
.nav li .submenu a {
}
+
color: #FFFFFF;
 
+
height: 30px;
/* styling for the menu button when it is the current page */
+
line-height: 30px;
.current_page {
+
margin:0 2px;
background-color:#7fc1f7  !important;
+
white-space: nowrap;
color:#5e5f5f !important;
+
font-size: 16px;
}
+
}
 
+
.nav li .submenu .mj_menu_pro_bg div:hover{
 
+
background-image: url(https://static.igem.org/mediawiki/2017/5/52/T--Jilin_China--_hover2.png);
/* styling for the submenu buttons */
+
background-repeat: no-repeat;
.igem_2017_menu_wrapper .submenu_button {  
+
background-position: 50% 95%;
width: 100%;  
+
}
padding: 10px 0px 10px 34px;
+
.nav li .submenu .mj_menu_pro_bg div:hover a{
float:left;
+
color: #ffde01;
background-color:#f2f2f2;  
+
}
border-bottom: 1px solid #d3d3d3;  
+
font-size: 12px;
+
color: #5e5f5f;
+
/*home page*/
cursor: pointer;
+
.home_01,.home_02,.home_03,.home_04{
}
+
width: 100%; position: relative; box-sizing: border-box;
 
+
}
/* wrapper for the submenu items, they are hidden by default*/
+
.home_01{background-color: #d1f1fe; padding: 200px 0;}
.igem_2017_menu_wrapper .submenu_wrapper {
+
.home_01 .home_01_box{}
display:none;
+
.home_01 .home_01_box .home_01_content{width: 1100px; height: 600px; margin: auto;}
}
+
.video,.source{width: 100%;}
 
+
@media (max-width:1800px){
/* when the page size is bigger than 800px, this show/hide control is hidden by default */
+
.home_01{padding: 180px 0;}
.igem_2017_menu_wrapper #display_menu_control {
+
}
display:none;
+
@media (max-width:1600px){
text-align:center;
+
.home_01{padding: 160px 0 140px;}
}
+
}
+
 
+
/***************************************************** CONTENT OF THE PAGE ****************************************************/
+
 
+
/* Wrapper for the content */
+
.igem_2017_content_wrapper {
+
width: 81%;
+
margin: 2%;
+
display:block;
+
float:left;
+
background-color:white;
+
font-family:Tahoma, Geneva, sans-serif;
+
}
+
 
+
 
+
/********************************* HTML STYLING  *********************************/
+
 
+
/* styling for the titles h1 h2 */
+
.igem_2017_content_wrapper h1, .igem_2017_content_wrapper h2 {
+
padding:5px 15px;  
+
border-bottom: 0px;
+
color: #3399ff;
+
}
+
 
+
 
+
/* styling for the titles  h3 h4 h5 h6*/
+
.igem_2017_content_wrapper h3, .igem_2017_content_wrapper h4, .igem_2017_content_wrapper h5, .igem_2017_content_wrapper h6 {
+
padding:5px 15px;  
+
border-bottom:0px;
+
color: #000000; 
+
}
+
 
+
 
+
/* font and text */
+
.igem_2017_content_wrapper p {
+
padding: 0px 15px;  
+
font-size: 13px;
+
}
+
 
+
/* Links */
+
.igem_2017_content_wrapper a {  
+
font-weight: bold;
+
text-decoration: underline;
+
text-decoration-color: #3399ff;
+
color:  #3399ff;
+
-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 */
+
.igem_2017_content_wrapper a:hover {  
+
text-decoration:none;
+
color:#000000;
+
}
+
 
+
/* non numbered lists */
+
.igem_2017_content_wrapper ul {
+
padding:0px 20px;
+
font-size: 13px;
+
font-family:Tahoma, Geneva, sans-serif;  
+
}
+
 
+
/* numbered lists */
+
.igem_2017_content_wrapper ol {
+
padding:0px;  
+
font-size: 13px;
+
font-family:Tahoma, Geneva, sans-serif;
+
}
+
 
+
/* Table */
+
.igem_2017_content_wrapper table {  
+
width: 97%;
+
margin:15px 10px;
+
border: 1px solid #d3d3d3;
+
border-collapse: collapse;
+
}
+
 
+
/* table cells */
+
.igem_2017_content_wrapper  td {
+
padding: 10px;
+
vertical-align: text-top;
+
border: 1px solid #d3d3d3;
+
border-collapse: collapse;
+
}
+
 
+
/* table headers */
+
.igem_2017_content_wrapper th {
+
padding: 10px;  
+
vertical-align: text-top;  
+
border: 1px solid #d3d3d3;
+
border-collapse: collapse;  
+
background-color:#f2f2f2;
+
}
+
 
+
 
+
/**********************************LAYOUT CLASSES **********************************/
+
 
+
/* general class for column divs */
+
.igem_2017_content_wrapper .column  {  
+
padding: 10px 0px;
+
float:left;
+
}
+
 
+
/* class for a full width column */
+
.column .full_size {
+
width:100%;
+
}
+
 
+
/* styling for images in a full width column*/
+
.column.full_size img {
+
width:97%;
+
padding: 10px 15px;
+
}
+
 
+
/* class for a half width column */
+
.column.half_size {
+
width: 50%;
+
}
+
/* styling for images in a half width column*/
+
.column.half_size img {  
+
width: 94.5%;
+
padding: 10px 15px;
+
}
+
 
+
 
+
 
+
 
+
/********************************* SUPPORT CLASSES ********************************/
+
 
+
/* class that clears content below*/
+
.igem_2017_content_wrapper .clear {
+
clear:both;
+
}
+
+
+
/* adds extra spacing when clearing content */
+
.igem_2017_content_wrapper  .clear.extra_space {
+
height: 30px;
+
}
+
 
+
 
+
/* highlight class, makes content slightly smaller */
+
.igem_2017_content_wrapper .highlight {
+
margin: 0px 15px;
+
padding: 15px 0px;
+
}
+
 
+
 
+
/* highlight class, adds a gray background */
+
.igem_2017_content_wrapper .highlight.gray {
+
background-color: #f2f2f2;  
+
}
+
 
+
/* highlight with decoration blue line on top */
+
.igem_2017_content_wrapper .highlight.blue_top {
+
    border-top: 4px solid #3399ff;
+
}
+
 
+
/* highlight with a full blue border decoration */
+
.igem_2017_content_wrapper .highlight.blue_border {
+
    border: 4px solid  #3399ff;
+
}
+
 
+
 
+
/* button class */
+
.igem_2017_content_wrapper .button{
+
max-width: 35%;
+
margin: 30px auto;
+
padding: 12px 10px;
+
    background-color: #3399ff;
+
    text-align: center;
+
  color: #ffffff;
+
-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; 
+
}
+
 
+
/* styling for button on hover */
+
.igem_2017_content_wrapper .button:hover{
+
background-color: #3399ff;
+
    color: #000000;
+
}
+
 
+
 
+
 
+
 
+
/***************************************************** RESPONSIVE STYLING ****************************************************/
+
 
+
/* IF THE SCREEN IS LESS THAN 1200PX */
+
@media only screen and (max-width: 1200px) {
+
 
+
#content {width:100%; }
+
.igem_2017_menu_wrapper {width:15%; right:0;}
+
.highlight {padding:10px 0px;}
+
.igem_2017_menu_wrapper #display_menu_control { display:none; }
+
#menu_content { display:block;}
+
.menu_button.direct_to_page {padding-left: 17px;}
+
 
 
}
+
.home_02{}
 +
.home_02 .home_02_box{position: absolute; left: 0px; top: 17%; width: 100%;}
 +
.home_02 .home_02_content{width: 78%; margin: auto; text-align: center;}
 +
.home_02 .title{font-size: 24px; font-weight: bold; line-height: 100px;}
 +
.home_02 .title span{font-size: 36px; font-weight: bold;}
 +
.home_02 .content{font-size: 20px; line-height: 54px; text-align: left; text-indent: 40px; }
 +
@media (max-width:1700px){
 +
.home_02 .home_02_box{ top: 14%;}
 +
.home_02 .title{font-size: 20px; line-height: 80px;}
 +
.home_02 .title span{font-size: 30px;}
 +
.home_02 .content{font-size: 18px; line-height: 48px;}
 +
}
 +
@media (max-width:1500px){
 +
.home_02 .home_02_box{ top: 14%;}
 +
.home_02 .title{font-size: 20px; line-height: 80px;}
 +
.home_02 .title span{font-size: 30px;}
 +
.home_02 .content{font-size: 18px; line-height: 42px;}
 +
}
 +
 +
 +
.home_03{}
 +
.home_03 .home_03_box{position: absolute; left: 0px; top: 100px; width: 100%;}
 +
.home_03 .home_03_box .home_03_content{width: 1280px; margin: auto;}
 +
@media (max-width:1700px){
 +
.home_03 .home_03_box{position: absolute; left: 0px; top: 50px; width: 100%;}
 +
}
 +
@media (max-width:1550px){
 +
.home_03 .home_03_box{position: absolute; left: 0px; top: 10px; width: 100%;}
 +
}
 +
 +
.home_04{ background-color:#ededed ; border-bottom: 24px solid #14243f; box-sizing: border-box;}
  
/* IF THE SCREEN IS LESS THAN 800PX */
+
/**二级页1**/
@media only screen and (max-width: 800px) {
+
li{ list-style: none; margin: 0; vertical-align: top;}
 
+
ul.list{margin: 0.3em 0 0 3.2em;}
.igem_2017_menu_wrapper { width:100%; height: 15%; position:relative; left:0%;}
+
ul.list li{list-style: square; line-height: 34px;}
.igem_2017_content_wrapper {width:100%; margin-left:0px;}
+
ol.list li{list-style: decimal; line-height: 34px;}
.column.half_size  {width:100%; }
+
        ul{ margin: 0; padding: 0;}
.column.full_size img, .column.half_size img { width: 100%; padding: 10px 0px;}  
+
        .banner{position: relative;}
.highlight {padding:15px 5px;}
+
        .banner img{width: 100%;}
.igem_2017_menu_wrapper #display_menu_control { display:block; }
+
        .banner .menu{position: absolute; left: 22%; top: 69%; font-size: 38px; color: #FFFFFF; font-family: verdana,tahoma,sans-serif,helvetica;}
#menu_content { display:none;}
+
       
.igem_2017_menu_wrapper .menu_button .expand_collapse_icon { width: 5%; }
+
        #HQ_page p{font-size: 16px !important;}
.menu_bottom_padding {display:none;}
+
       
.menu_button.direct_to_page { padding-left: 36px; }
+
        .sec_box{width: 55%; min-width: 600px; padding:140px 0 0; margin: 0 0 0 30%; box-sizing: border-box; color: #434343 !important;}
}
+
        .h1_title{color: #229d73; font-size: 20px !important; font-weight: bold; line-height: 50px; height: 50px;background: url(https://static.igem.org/mediawiki/2017/4/41/T--Jilin_China--_h1_title_bg.png) no-repeat 0px 50%; padding-left: 50px;}
 +
.h1_content{margin: 0 4.5%; font-size: 16px !important;}
 +
        .h1_content p{line-height: 30px; text-indent: 26px;}
 +
        .h1_content .pic_box{text-align: center; border: 1px solid darkgrey; border-radius: 20px; line-height: 30px; padding: 5px; margin-bottom:10px; font-size: 14px; color: #6d6c6c;}
 +
        .h1_content img{margin: auto; max-width: 100%;}
 +
       
 +
        .thr_box{width: 58%; min-width: 800px; padding:50px 0 0; margin: auto; box-sizing: border-box; font-size: 16px !important; color: #434343 !important;}
 +
        .thr_box p{line-height: 30px; text-indent: 26px;}
 +
        .thr_box .pic_box{font-size: 14px !important; color: #6d6c6c !important;}
 +
        .thr_box img{max-width: 100%;}
 +
       
 +
        .directory-nav{position: fixed; left:9%; top:130px; padding: 12px 0 20px 32px; display: none;z-index: 999;}
 +
        .directory-nav ul{margin-top: 105px;}
 +
        .directory-nav li{font-family: "microsoft yahei"; font-size: 16px; }
 +
        .directory-nav li a{}
 +
        .directory-nav .l1{height: 80px;  position: relative; max-width: 250px; box-sizing: border-box; padding-top: 32px;}
 +
        .directory-nav .l2{max-width: 250px; height: 40px;box-sizing: border-box; padding:8px 0 0 20px;}
 +
        .directory-nav .l1 a{font-size: 16px;}
 +
        .directory-nav .l2 a{}
 +
        .directory-nav a{cursor: pointer;}
 +
        .directory-nav,.directory-nav a{ color: #2fa37b;}
 +
        .directory-nav .cur,.directory-nav .cur a{ color: #ffe010;}
  
 +
        .directory-nav .line{}
 +
        .directory-nav .c-dot{
 +
            position: absolute; left:-80px; top: 0px; z-index: 2; margin-top: -5px;
 +
            display: block; width: 107px; height: 66px; font-size: 0; line-height: 0;
 +
            background: url(https://static.igem.org/mediawiki/2017/c/cc/T--Jilin_China--_page2.png) no-repeat 50% 50%;
 +
        }
  
 +
        .directory-nav .cur .c-dot{background: none;}
 +
        .directory-nav .cur-tag{
 +
            position: absolute; left: -48px; top:-1000px; z-index: 5; margin-top: -6px;
 +
            display: block; width: 107px; height: 66px; font-size: 0; line-height: 0;
 +
            background: url(https://static.igem.org/mediawiki/2017/9/90/T--Jilin_China--_page2-cur.png) no-repeat 50% 50%;
 +
            -webkit-transition:top .3s ease 0s;
 +
            transition:top .3s ease 0s;
 +
        }
 +
        .directory-nav .cur-tag.cur2{
 +
        background: url(https://static.igem.org/mediawiki/2017/d/da/T--Jilin_China--_page2-2.png) no-repeat 60% 40%;
 +
        }
 +
        .directory-nav .c-top{
 +
        background: url(https://static.igem.org/mediawiki/2017/8/80/T--Jilin_China--_page2_l.png) no-repeat 50% 50%;
 +
        width: 356px; height: 107px;
 +
        position: absolute;left: -135px; top: 0px;
 +
        }
 +
       
 +
        @media (max-height:770px){
 +
        .directory-nav .c-top{
 +
        display: none;
 +
        }
 +
        .directory-nav ul{
 +
        margin-top: 0px;
 +
        }
 +
        }
 +
       
 +
</style>
 
 
+
<script>
/* special class that the system uses to make sure the team wants a page to be evaluated */
+
$(function() {
.judges-will-not-evaluate {
+
    width: 96.6%;
+
  margin: 5px 15px;
+
  display: block;
+
border: 4px solid #3399ff;
+
    font-weight: bold;
+
}
+
+
</style>
+
  
 +
if($(".home_01").length>0){
 +
$(".float").hide();
 +
}else{
 +
$(".float").show();
 +
$(window).scroll(function () {
 +
if ($(document).scrollTop() >= $(document).height() - $(window).height()) {
 +
    $(".float").fadeOut();
 +
    }else{
 +
    $(".float").fadeIn();
 +
    }
 +
    });
 +
}
 +
lanrenzhijia(".drop-menu-effect");
 +
$(window).scroll(function () { 
 +
          var scrollTop =$(this).scrollTop();//滚动高度 
 +
          if(scrollTop > 100){ 
 +
              $(".navbox").addClass("navbox-defaulte"); 
 +
          } 
 +
          if(scrollTop < 100){ 
 +
              $(".navbox").removeClass("navbox-defaulte") 
 +
          } 
 +
      }); 
  
<!--- THIS IS WHERE THE HTML BEGINS --->
+
});
  
 +
function lanrenzhijia(_this) {
 +
$(_this).each(function() {
 +
var $this = $(this);
 +
var theMenu = $this.find(".submenu");
 +
var tarHeight = theMenu.height();
 +
theMenu.css({
 +
height: 0
 +
});
 +
$this.hover(
 +
function() {
 +
$(this).addClass("mj_hover_menu");
 +
theMenu.stop().show().animate({
 +
height: tarHeight
 +
}, 400);
 +
},
 +
function() {
 +
$(this).removeClass("mj_hover_menu");
 +
theMenu.stop().animate({
 +
height: 0
 +
}, 400, function() {
 +
$(this).css({
 +
display: "none"
 +
});
 +
});
 +
}
 +
);
 +
});
 +
}
 +
</script>
  
 
<head>
 
 
<!-- This tells the browser that your page is responsive -->
 
<meta name="viewport" content="width=device-width, initial-scale=1">
 
 
</head>
 
 
 
 
<div class="igem_2017_menu_wrapper" >
 
 
 
 
<a href="https://2017.igem.org/Team:Jilin_China">
 
<img src="http://placehold.it/350x150">
 
</a>
 
 
 
<!-- this div is hidden by default and will only be displayed if the screen size is too small -->
 
<div class="menu_button" id="display_menu_control">
 
MENU 
 
</div>
 
 
<div id="menu_content">
 
 
 
 +
<!-- 代码部分begin -->
 +
<div class="navbox">
 +
<div class="logo">&nbsp;</div>
 +
<div class="nav">
 +
<ul>
  
 +
<li class="drop-menu-effect first">
 +
<a href="https://2017.igem.org/Team:Jilin_China"><span>Home</span></a>
 +
</li>
  
 
+
<li class="drop-menu-effect">
<a href="https://2017.igem.org/Team:Jilin_China">
+
<a><span>Project</span></a>
<div class="menu_button direct_to_page">
+
<div class="submenu" style="left: 0px;">
HOME
+
<div class="mj_menu_pro_bg">
</div>  
+
<div><a href="https://2017.igem.org/Team:Jilin_China/Description">Description</a></div>
</a>
+
<div><a href="https://2017.igem.org/Team:Jilin_China/Design">Design</a></div>
+
<div><a href="https://2017.igem.org/Team:Jilin_China/Model">Model</a></div>
<div class="menu_button">
+
<div><a href="https://2017.igem.org/Team:Jilin_China/Improve">Improvement</a></div>
<div class="expand_collapse_icon"> </div> PROJECT
+
<div><a href="https://2017.igem.org/Team:Jilin_China/Lab_Safety">Lab Safety</a></div>
</div>  
+
</div>
 
+
<!-- project submenu -->
+
<div class="submenu_wrapper">
+
+
<a href="https://2017.igem.org/Team:Jilin_China/Description">
+
<div class="submenu_button"  id="Description_page">
+
Description
+
 
</div>
 
</div>
</a>
+
</li>
 
+
<a href="https://2017.igem.org/Team:Jilin_China/Design">
+
<div class="submenu_button"  id="Design_page">
+
Design
+
</div>
+
</a>
+
 
 
<a href="https://2017.igem.org/Team:Jilin_China/Model">
+
<li class="drop-menu-effect">
<div class="submenu_button"  id="Model_page">
+
<a><span>Results</span></a>
Model
+
<div class="submenu" style="left: 4px;">
 +
<div class="mj_menu_pro_bg">
 +
<div><a href="https://2017.igem.org/Team:Jilin_China/Geneguard">Geneguard</a></div>
 +
<div><a href="https://2017.igem.org/Team:Jilin_China/Application">Application</a></div>
 +
</div>
 
</div>
 
</div>
</a>
+
</li>
  
<a href="https://2017.igem.org/Team:Jilin_China/Results">
+
<li class="drop-menu-effect">
<div class="submenu_button" id="Results_page">
+
<a><span>Experiments</span></a>
Results
+
<div class="submenu" style="left: 23px;">
 +
<div class="mj_menu_pro_bg">
 +
<div><a href="https://2017.igem.org/Team:Jilin_China/Protocol">Protocol</a></div>
 +
<div><a href="https://2017.igem.org/Team:Jilin_China/InterLab">Interlab</a></div>
 +
<div><a href="https://2017.igem.org/Team:Jilin_China/Notebook">Notebook</a></div>
 +
</div>
 
</div>
 
</div>
</a>
+
</li>
+
<a href="https://2017.igem.org/Team:Jilin_China/Improve">
+
<div class="submenu_button"  id="Improve_page">
+
Improvement
+
</div>
+
</a>
+
+
<a href="https://2017.igem.org/Team:Jilin_China/Lab_Safety">
+
<div class="submenu_button"  id="Lab_Safety_page">
+
Lab Safety
+
</div>
+
</a>
+
+
</div>
+
+
<div class="menu_button">
+
<div class="expand_collapse_icon">  </div> Experiments
+
</div>
+
+
<div class="submenu_wrapper" id="team_submenu">
+
+
<a href="https://2017.igem.org/Team:Jilin_China/Protocol">
+
<div class="submenu_button" id="Protocol_page">
+
Protocol
+
</div>
+
</a>
+
+
<a href="https://2017.igem.org/Team:Jilin_China/InterLab">
+
<div class="submenu_button"  id="InterLab_page">
+
InterLab
+
</div>
+
</a>
+
+
<a href="https://2017.igem.org/Team:Jilin_China/Notebook">
+
<div class="submenu_button"  id="Notebook_page">
+
Notebook
+
</div>
+
</a>
+
+
</div>
+
+
+
<div class="menu_button">
+
<div class="expand_collapse_icon">  </div> Parts
+
</div>
+
+
<!-- parts submenu -->
+
<div class="submenu_wrapper">
+
+
<a href="https://2017.igem.org/Team:Jilin_China/Parts">
+
<div class="submenu_button"  id="Parts_page">
+
Parts
+
</div>
+
</a>
+
  
<a href="https://2017.igem.org/Team:Jilin_China/Basic_Part">
+
<li class="drop-menu-effect">
<div class="submenu_button" id="Basic_Part_page">
+
<a><span>Parts</span></a>
Basic Parts
+
<div class="submenu" style="left: -25px;">
 +
<div class="mj_menu_pro_bg">
 +
<div><a href="https://2017.igem.org/Team:Jilin_China/Parts">Parts</a></div>
 +
<div><a href="https://2017.igem.org/Team:Jilin_China/Basic_Part">Basic Parts</a></div>
 +
<div><a href="https://2017.igem.org/Team:Jilin_China/Composite_Part">Composite Parts</a></div>
 +
</div>
 
</div>
 
</div>
</a>
+
</li>
  
<a href="https://2017.igem.org/Team:Jilin_China/Composite_Part">
+
<li class="drop-menu-effect">
<div class="submenu_button"  id="Composite_Part_page">
+
<a><span>Practices</span></a>
Composite Parts
+
<div class="submenu" style="left: 0px;">
 +
<div class="mj_menu_pro_bg">
 +
<div><a href="https://2017.igem.org/Team:Jilin_China/Human_Practices">Human Practices</a></div>
 +
<div><a href="https://2017.igem.org/Team:Jilin_China/Collaborations">Collaborations</a></div>
 +
</div>
 
</div>
 
</div>
</a>
+
</li>
 
 
</div>
+
<li class="drop-menu-effect">
+
<a><span>Team</span></a>
+
<div class="submenu" style="left: 0px;">
<div class="menu_button" >
+
<div class="mj_menu_pro_bg">
<div class="expand_collapse_icon"> </div> Practices
+
<div><a href="https://2017.igem.org/Team:Jilin_China/Team">Team</a></div>
</div>  
+
<div><a href="https://2017.igem.org/Team:Jilin_China/Attributions">Attributions</a></div>
 
+
</div>
<!-- practices submenu -->
+
<div class="submenu_wrapper">
+
+
<a href="https://2017.igem.org/Team:Jilin_China/Human_Practices">
+
<div class="submenu_button"  id="Human_Practices_page">
+
Human Practices
+
 
</div>
 
</div>
</a>
+
</li>
 
 
<a href="https://2017.igem.org/Team:Jilin_China/Collaborations">
+
</ul>
<div class="submenu_button"  id="Collaborations_page">
+
Collaborations
+
</div>
+
</a>
+
 
+
 
</div>
 
</div>
 
 
 
<div class="menu_button">
 
<div class="expand_collapse_icon">  </div> Team
 
</div>
 
 
<div class="submenu_wrapper" id="team_submenu">
 
 
<a href="https://2017.igem.org/Team:Jilin_China/Team">
 
<div class="submenu_button" id="Team_page">
 
Team Introduction
 
</div>
 
</a>
 
 
<a href="https://2017.igem.org/Team:Jilin_China/Attributions">
 
<div class="submenu_button"  id="Attributions_page">
 
Attributions
 
</div>
 
</a>
 
 
</div>
 
 
 
 
<div class="menu_bottom_padding" >
 
</div>
 
 
 
</div>
 
</div>
 
+
<div class="float">
 
+
<img src="https://static.igem.org/mediawiki/2017/6/66/T--Jilin_China--_sec_bg_mr.png" />
 
+
</div>
 
+
</div>
+
 
+
 
+
 
+
<!-- start of content -->
+
<div class="igem_2017_content_wrapper">
+
<h1>Jilin_China</h1>
+

Latest revision as of 01:27, 2 November 2017