m |
|||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{HZAU-China}} | + | {{HZAU-China/Bootstrap}} |
<html> | <html> | ||
+ | <head> | ||
+ | <meta charset="UTF-8"> | ||
+ | <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"> | ||
+ | <link href="bootstrap.min.css" rel="stylesheet"> | ||
+ | <!-- 导航栏CSS --> | ||
+ | <style type="text/css"> | ||
+ | #sideMenu, | ||
+ | #top_title, | ||
+ | #team_submenu { | ||
+ | display: none; | ||
+ | } | ||
+ | #HQ_page p { | ||
+ | margin: 0 !important; | ||
+ | } | ||
+ | #content { | ||
+ | padding: 0px; | ||
+ | width: 100%; | ||
+ | margin-top: 0px; | ||
+ | margin-left: 0px; | ||
+ | } | ||
− | + | #bodyContent h1, | |
− | + | #bodyContent h2, | |
− | + | #bodyContent h3, | |
+ | #bodyContent h4, | ||
+ | #bodyContent h5 { | ||
+ | margin-bottom: 0px; | ||
+ | } | ||
+ | #team_name { | ||
+ | display: none | ||
+ | } | ||
− | + | .global_wrapper { | |
− | + | padding: 0px 0px 0px 0px; | |
+ | } | ||
− | + | #top_menu_14 { | |
+ | height: 16px; | ||
+ | } | ||
+ | * { | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | list-style: none; | ||
+ | list-style-type: none; | ||
+ | text-decoration: none !important; | ||
+ | } | ||
− | + | body { | |
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | background-color: #F3F3F3; | ||
+ | font-size: 16px; | ||
+ | font-family: Arial, Verdana, Sans-serif; | ||
+ | letter-spacing: 0; | ||
+ | color: #FFFFFF; | ||
+ | } | ||
− | + | .daohang { | |
− | + | background-color: #323643; | |
− | + | position: relative; | |
− | + | color: #ffffff; | |
− | + | height: 64px; | |
− | + | top: -2px; | |
− | + | } | |
− | + | ||
+ | .logo-daohang { | ||
+ | height: 64px; | ||
+ | left: 10%; | ||
+ | float: left; | ||
+ | position: relative; | ||
+ | } | ||
− | + | .daohang a { | |
− | + | display: block; | |
− | + | text-decoration: none; | |
+ | } | ||
+ | .daohang .shade { | ||
+ | position: absolute; | ||
+ | width: 100%; | ||
+ | height: 160px; | ||
+ | top: 64px; | ||
+ | left: 0; | ||
+ | z-index: 1; | ||
+ | background-color: #EEEEEE; | ||
+ | box-shadow: 0 5px 15px #CCCCCC; | ||
+ | display: none; | ||
+ | border-bottom: #ffffff solid 1px; | ||
+ | border-bottom: rgba(255, 255, 255, 0.3) solid 1px; | ||
+ | } | ||
+ | .daohang .caidan { | ||
+ | position: absolute; | ||
+ | top: 0; | ||
+ | right: 10%; | ||
+ | margin: 0; | ||
+ | z-index: 2; | ||
+ | padding: 0; | ||
+ | list-style: none; | ||
+ | width: 730px; | ||
+ | float: right; | ||
+ | overflow: hidden; | ||
+ | height: 64px; | ||
+ | } | ||
− | + | .daohang .caidan>li { | |
− | + | padding: 0; | |
− | + | float: left; | |
− | + | margin: 0; | |
+ | text-align: center; | ||
+ | height: 224px; | ||
+ | } | ||
− | + | .daohang .shortName { | |
+ | width: 110px; | ||
+ | } | ||
+ | .daohang .longName { | ||
+ | width: 170px; | ||
+ | } | ||
+ | .daohang .nav_head { | ||
+ | height: 64px; | ||
+ | line-height: 64px; | ||
+ | color: #ffffff; | ||
+ | font-size: 16px !important; | ||
+ | } | ||
+ | .daohang .xsjPic { | ||
+ | display: inline-block; | ||
+ | width: 10px; | ||
+ | height: 10px; | ||
+ | vertical-align: middle; | ||
+ | background-size: 100% 100%; | ||
+ | background-image: url("https://static.igem.org/mediawiki/2018/6/63/T--HZAU-China--xsj.svg") | ||
+ | } | ||
− | + | .daohang .xjtPic { | |
+ | display: inline-block; | ||
+ | width: 10px; | ||
+ | height: 10px; | ||
+ | vertical-align: middle; | ||
+ | background-size: 100% 100%; | ||
+ | background-image: url("https://static.igem.org/mediawiki/2018/8/8d/T--HZAU-China--xjt.svg") | ||
+ | } | ||
+ | .daohang a:hover span { | ||
+ | transform: rotateY(180deg); | ||
+ | -webkit-transform: rotateY(180deg); | ||
+ | -moz-transform: rotateY(180deg); | ||
+ | -o-transform: rotateY(180deg); | ||
+ | -ms-transform: rotateY(180deg); | ||
+ | transition: all 0.5s ease-in-out; | ||
+ | -webkit-transition: all 0.5s ease-in-out; | ||
+ | -moz-transition: all 0.5s ease-in-out; | ||
+ | -o-transition: all 0.5s ease-in-out; | ||
+ | } | ||
+ | .daohang .item { | ||
+ | font-size: 16px; | ||
+ | height: 40px; | ||
+ | line-height: 40px; | ||
+ | color: #333333; | ||
+ | position: relative; | ||
+ | } | ||
− | + | .daohang .caidan:hover { | |
+ | height: 264px; | ||
+ | transition: height 0.3s; | ||
+ | } | ||
− | + | .daohang .caidan:hover+.shade { | |
− | + | display: block; | |
+ | } | ||
+ | .daohang .caidan>li.hiLight:hover { | ||
+ | background-color: #ffffff; | ||
+ | } | ||
− | + | .daohang .caidan>li:hover .nav_head { | |
+ | background-color: #EA0D04; | ||
+ | } | ||
− | + | .daohang .caidan>li:hover .item {} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | |||
− | + | .daohang .shortName .item:before { | |
− | + | content: ''; | |
− | + | display: block; | |
+ | position: absolute; | ||
+ | width: 80px; | ||
+ | height: 1px; | ||
+ | bottom: 5px; | ||
+ | left: 15px; | ||
+ | background-color: #CCCCCC; | ||
+ | } | ||
− | + | .daohang .shortName .item:hover:after { | |
+ | content: ''; | ||
+ | display: block; | ||
+ | position: absolute; | ||
+ | width: 80px; | ||
+ | height: 2px; | ||
+ | bottom: 5px; | ||
+ | left: 15px; | ||
+ | background-color: #f51720; | ||
+ | } | ||
+ | .daohang .longName .item:before { | ||
+ | content: ''; | ||
+ | display: block; | ||
+ | position: absolute; | ||
+ | width: 130px; | ||
+ | height: 1px; | ||
+ | bottom: 5px; | ||
+ | left: 20px; | ||
+ | background-color: #CCCCCC; | ||
+ | } | ||
+ | .daohang .longName .item:hover:after { | ||
+ | content: ''; | ||
+ | display: block; | ||
+ | position: absolute; | ||
+ | width: 130px; | ||
+ | height: 2px; | ||
+ | bottom: 5px; | ||
+ | left: 20px; | ||
+ | background-color: #f51720; | ||
+ | } | ||
− | + | @media screen and (max-width: 1200px) { | |
− | + | .logo-daohang { | |
− | + | left: 3%; | |
− | + | } | |
− | + | ||
− | + | .daohangyi { | |
− | + | font-size: 12px; | |
− | + | } | |
− | + | } | |
− | + | ||
+ | @media screen and (max-width: 900px) { | ||
− | + | .daohang .caidan { | |
− | + | right: 0; | |
+ | width: 100%; | ||
+ | } | ||
+ | .logo-daohang { | ||
+ | display: none; | ||
+ | } | ||
+ | .daohang .shortName { | ||
+ | width: 15vw; | ||
+ | } | ||
+ | .daohang .longName { | ||
+ | width: 25vw; | ||
+ | } | ||
+ | .daohangyi img { | ||
+ | display: none; | ||
+ | } | ||
− | + | .daohang .longName .item:before { | |
− | + | width: 150px; | |
− | + | left: 20px; | |
+ | } | ||
+ | .daohang .longName .item:hover:after { | ||
+ | width: 150px; | ||
+ | left: 20px; | ||
+ | } | ||
+ | } | ||
+ | </style> | ||
+ | <!-- 内容CSS --> | ||
+ | <style class="text/css"> | ||
+ | .clearfix:after { | ||
+ | content: "."; | ||
+ | display: block; | ||
+ | height: 0; | ||
+ | clear: both; | ||
+ | visibility: hidden; | ||
+ | } | ||
− | + | .neirong { | |
− | + | width: 100%; | |
− | + | height: auto; | |
− | + | background-color: #FFF; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
+ | .zhengwen { | ||
+ | width: 90%; | ||
+ | margin: 20px auto; | ||
+ | padding: 0px 3%; | ||
+ | background-color: #FFF; | ||
+ | box-shadow: 0 1px 3px #676767; | ||
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
+ | .cebian { | ||
+ | width: 200px; | ||
+ | /* height: 80vh; */ | ||
+ | float: left; | ||
+ | /* left: 1vw; */ | ||
+ | top: 150px; | ||
+ | position: fixed; | ||
+ | box-shadow: 0 1px 3px #676767; | ||
+ | /* border:2px solid black */ | ||
+ | /* background-color: #323643 */ | ||
+ | } | ||
+ | .neirong p{ | ||
+ | text-align: justify !important; | ||
+ | font-family: Arial, sans-serif !important; | ||
+ | color: #a64945 !important;; | ||
+ | font-size: 28px !important; | ||
+ | padding-right: 20px; | ||
+ | border: 4px solid #456285; | ||
+ | border-radius: 10px; | ||
+ | padding: 10px; | ||
+ | } | ||
+ | .daimg { | ||
+ | width: 100%; | ||
+ | height: auto; | ||
+ | margin: 20px 0; | ||
+ | box-shadow: 0 1px 3px #676767; | ||
+ | } | ||
+ | |||
+ | .h1 { | ||
+ | line-height: 55px; | ||
+ | font-weight: bold; | ||
+ | height:auto; | ||
+ | font-family: 'Product Sans', sans-serif; | ||
+ | font-size: 40px; | ||
+ | color: #3B3B3B; | ||
+ | border-bottom: 2px solid #676767; | ||
+ | margin-bottom: 20px; | ||
+ | } | ||
+ | |||
+ | .h2 { | ||
+ | height: 40px; | ||
+ | line-height: 40px; | ||
+ | font-weight: bold; | ||
+ | height:auto; | ||
+ | /* font-weight: bold; */ | ||
+ | font-family: 'Product Sans', sans-serif; | ||
+ | font-size: 30px; | ||
+ | color: #484848; | ||
+ | /* margin-bottom: 20px; */ | ||
+ | } | ||
+ | |||
+ | .h3 { | ||
+ | height: 30px; | ||
+ | line-height: 30px; | ||
+ | font-weight: bold; | ||
+ | height:auto; | ||
+ | /* font-weight: bold; */ | ||
+ | font-family: 'Product Sans', sans-serif; | ||
+ | font-size: 24px; | ||
+ | color: #484848; | ||
+ | /* margin-bottom: 20px; */ | ||
+ | } | ||
+ | |||
+ | table { | ||
+ | color: #3B3B3B; | ||
+ | } | ||
+ | |||
+ | .zhengwen .tuandui_list { | ||
+ | position: relative; | ||
+ | margin-top: 40px; | ||
+ | height: 520px; | ||
+ | overflow: hidden; | ||
+ | } | ||
+ | |||
+ | .tuandui_list>li { | ||
+ | padding: 0; | ||
+ | width: 20%; | ||
+ | float: left; | ||
+ | position: relative; | ||
+ | margin: 0 2.4%; | ||
+ | text-align: center; | ||
+ | } | ||
+ | |||
+ | .zhengwen .laoshi_list { | ||
+ | position: relative; | ||
+ | margin-top: 40px; | ||
+ | height: 430px; | ||
+ | } | ||
+ | |||
+ | .laoshi_list>li { | ||
+ | padding: 0; | ||
+ | width: 20%; | ||
+ | float: left; | ||
+ | position: relative; | ||
+ | margin: 0 2.4%; | ||
+ | text-align: center; | ||
+ | } | ||
+ | |||
+ | .duiyuan { | ||
+ | margin: 20px 0; | ||
+ | /* border: 1px solid red; */ | ||
+ | } | ||
+ | |||
+ | .laoshi { | ||
+ | margin: 20px 0; | ||
+ | } | ||
+ | |||
+ | .duiyuan img { | ||
+ | width: 100%; | ||
+ | height: auto; | ||
+ | border-top: 3px solid #323643; | ||
+ | border-left: 3px solid #323643; | ||
+ | border-right: 3px solid #323643; | ||
+ | } | ||
+ | |||
+ | .laoshi img { | ||
+ | width: 100%; | ||
+ | height: 50vh; | ||
+ | border-top: 3px solid #323643; | ||
+ | border-left: 3px solid #323643; | ||
+ | border-right: 3px solid #323643; | ||
+ | } | ||
+ | |||
+ | .duiyuan .xingming { | ||
+ | width: 100%; | ||
+ | height: 50px; | ||
+ | line-height: 50px; | ||
+ | background-color: #323643; | ||
+ | border-left: 3px solid #323643; | ||
+ | border-right: 3px solid #323643; | ||
+ | font-size: 16px; | ||
+ | color: white; | ||
+ | box-shadow: 0 1px 3px #CCCCCC; | ||
+ | font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif; | ||
+ | font-size: 24px; | ||
+ | font-weight: bold; | ||
+ | text-align: center; | ||
+ | } | ||
+ | |||
+ | .laoshi .xingming { | ||
+ | width: 100%; | ||
+ | height: 50px; | ||
+ | line-height: 50px; | ||
+ | background-color: #323643; | ||
+ | border-left: 3px solid #323643; | ||
+ | border-right: 3px solid #323643; | ||
+ | font-size: 16px; | ||
+ | color: white; | ||
+ | box-shadow: 0 1px 3px #CCCCCC; | ||
+ | font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif; | ||
+ | font-size: 24px; | ||
+ | font-weight: bold; | ||
+ | text-align: center; | ||
+ | } | ||
+ | |||
+ | .duiyuan .jieshao { | ||
+ | width: 100%; | ||
+ | height: 200px; | ||
+ | background-color: #f6eee0; | ||
+ | border-bottom: 3px solid #323643; | ||
+ | border-left: 3px solid #323643; | ||
+ | border-right: 3px solid #323643; | ||
+ | /* border-bottom-left-radius: 5px; | ||
+ | border-bottom-right-radius: 5px; */ | ||
+ | } | ||
+ | |||
+ | .duiyuan .jieshao .saohua { | ||
+ | padding: 10px 4px 0px 4px !important; | ||
+ | color: black; | ||
+ | font-family: Arial; | ||
+ | font-style: italic; | ||
+ | font-size: 15px !important; | ||
+ | list-style-type: none; | ||
+ | text-align: justify; | ||
+ | line-height: 18px; | ||
+ | } | ||
+ | </style> | ||
+ | <!-- 样式CSS --> | ||
+ | <style> | ||
+ | #anniu { | ||
+ | /* position: relative; */ | ||
+ | /* top: 80%; */ | ||
+ | /* transition: top 0.2s; */ | ||
+ | /* left: 5%; */ | ||
+ | /* margin: 0; */ | ||
+ | } | ||
+ | |||
+ | #anniu>img { | ||
+ | height: auto; | ||
+ | } | ||
+ | |||
+ | #anniu:hover { | ||
+ | /* top: 180px; */ | ||
+ | } | ||
+ | |||
+ | .xuanzhuan{ | ||
+ | position: relative; | ||
+ | background-size: cover; | ||
+ | animation: rotate 10s infinite; | ||
+ | -webkit-animation: mymove_2 10s infinite; | ||
+ | animation-timing-function: linear; | ||
+ | background-size: 100px 100px; | ||
+ | background-repeat: no-repeat; | ||
+ | background-size: cover; | ||
+ | } | ||
+ | @keyframes mymove { | ||
+ | from {} | ||
+ | to { | ||
+ | transform: rotate(360deg); | ||
+ | } | ||
+ | } | ||
+ | |||
+ | @-moz-keyframes mymove { | ||
+ | from {} | ||
+ | to { | ||
+ | transform: rotate(360deg); | ||
+ | } | ||
+ | } | ||
+ | |||
+ | @-webkit-keyframes mymove { | ||
+ | from {} | ||
+ | to { | ||
+ | transform: rotate(360deg); | ||
+ | } | ||
+ | } | ||
+ | |||
+ | @-o-keyframes mymove { | ||
+ | from {} | ||
+ | to { | ||
+ | transform: rotate(360deg); | ||
+ | } | ||
+ | } | ||
+ | |||
+ | @keyframes mymove_2 { | ||
+ | from {} | ||
+ | to { | ||
+ | transform: rotate(-360deg); | ||
+ | } | ||
+ | } | ||
+ | |||
+ | @-moz-keyframes mymove_2 { | ||
+ | from {} | ||
+ | to { | ||
+ | transform: rotate(-360deg); | ||
+ | } | ||
+ | } | ||
+ | |||
+ | @-webkit-keyframes mymove_2 { | ||
+ | from {} | ||
+ | to { | ||
+ | transform: rotate(-360deg); | ||
+ | } | ||
+ | } | ||
+ | |||
+ | @-o-keyframes mymove_2 { | ||
+ | from {} | ||
+ | to { | ||
+ | transform: rotate(-360deg); | ||
+ | } | ||
+ | } | ||
+ | </style> | ||
+ | |||
+ | |||
+ | </head> | ||
+ | |||
+ | <body> | ||
+ | <!-- 导航栏 --> | ||
+ | <nav class="daohang"> | ||
+ | <a href="https://2018.igem.org/Team:HZAU-China"><img src="https://static.igem.org/mediawiki/2018/7/75/T--HZAU-China--logo-nav.png" | ||
+ | class="logo-daohang"></a> | ||
+ | <ul class="caidan"> | ||
+ | <li class="hiLight shortName"> | ||
+ | <a class="nav_head" href="https://2018.igem.org/Team:HZAU-China"> | ||
+ | <span>Project</span> | ||
+ | <span class="xsjPic"></span> | ||
+ | </a> | ||
+ | <a class="item" href="https://2018.igem.org/Team:HZAU-China/Description">Description</a> | ||
+ | <a class="item" href="https://2018.igem.org/Team:HZAU-China/Design">Design</a> | ||
+ | <a class="item" href="https://2018.igem.org/Team:HZAU-China/Results">Results</a> | ||
+ | <a class="item" href="https://2018.igem.org/Team:HZAU-China/Demonstrate">Demonstrate</a> | ||
+ | </li> | ||
+ | <li class="hiLight shortName"> | ||
+ | <a class="nav_head" href="#"> | ||
+ | <span>Wetlab</span> | ||
+ | <span class="xjtPic"></span> | ||
+ | </a> | ||
+ | <a class="item" href="https://2018.igem.org/Team:HZAU-China/Experiments">Experiments</a> | ||
+ | <a class="item" href="https://2018.igem.org/Team:HZAU-China/Improve">Improve</a> | ||
+ | <a class="item" href="https://2018.igem.org/Team:HZAU-China/InterLab">InterLab</a> | ||
+ | <a class="item" href="https://2018.igem.org/Team:HZAU-China/Notebook">Notebook</a> | ||
+ | |||
+ | </li> | ||
+ | <li class="hiLight shortName"> | ||
+ | <a class="nav_head" href="#"> | ||
+ | <span>Drylab</span> | ||
+ | <span class="xjtPic"></span> | ||
+ | </a> | ||
+ | <a class="item" href="https://2018.igem.org/Team:HZAU-China/Model">Model</a> | ||
+ | <a class="item" href="https://2018.igem.org/Team:HZAU-China/Software">Software</a> | ||
+ | </li> | ||
+ | <li class="hiLight longName"> | ||
+ | <a class="nav_head" href="#"> | ||
+ | <span>Human Practices</span> | ||
+ | <span class="xjtPic"></span> | ||
+ | </a> | ||
+ | <a class="item" href="https://2018.igem.org/Team:HZAU-China/Safety">Safety</a> | ||
+ | <a class="item" href="https://2018.igem.org/Team:HZAU-China/Human_Practices">Human Practices</a> | ||
+ | <a class="item" href="https://2018.igem.org/Team:HZAU-China/Public_Engagement">Public Engagement</a> | ||
+ | </li> | ||
+ | <li class="hiLight shortName"> | ||
+ | <a class="nav_head" href="#"> | ||
+ | <span>About Us</span> | ||
+ | <span class="xjtPic"></span> | ||
+ | </a> | ||
+ | <a class="item" href="https://2018.igem.org/Team:HZAU-China/Team">Team</a> | ||
+ | <a class="item" href="https://2018.igem.org/Team:HZAU-China/Attributions">Attributions</a> | ||
+ | <a class="item" href="https://2018.igem.org/Team:HZAU-China/Collaborations">Collaborations</a> | ||
+ | </li> | ||
+ | <li class="hiLight shortName"> | ||
+ | <a class="nav_head" href="#"> | ||
+ | <span>Parts</span> | ||
+ | <span class="xjtPic"></span> | ||
+ | </a> | ||
+ | <a class="item" href="https://2018.igem.org/Team:HZAU-China/Basic_Part">Basic</a> | ||
+ | <a class="item" href="https://2018.igem.org/Team:HZAU-China/Composite_Part">Composite</a> | ||
+ | </li> | ||
+ | </ul> | ||
+ | <div class="shade"></div> | ||
+ | </nav> | ||
+ | <!-- 内容 --> | ||
+ | <div class="neirong"> | ||
+ | <!-- 正文 --> | ||
+ | |||
+ | <div id="float01" class="cur"> | ||
+ | <div style="width: 70%; margin: 0px auto"> | ||
+ | <img style="margin:0 auto; width:100% " src="https://static.igem.org/mediawiki/2018/e/e2/T--HZAU-China--home01.png" | ||
+ | alt=""> | ||
+ | </div> | ||
+ | <div style="width:60%; margin: 0 auto 50px auto; background-color: #FFF !important; "> | ||
+ | <p>In the fight against cancer, the capacity of escaping from immune system of tumor cells is the main | ||
+ | reason why cancer cannot be cured. So why we cannot cause pyroptosis for the tumor cells, in | ||
+ | order to make them exposed to the immune system again. | ||
+ | </p> | ||
+ | </div> | ||
+ | <div id="home02" style="width: 80%; margin: 0px auto"> | ||
+ | <div class="xuanzhuan" style="width: 20%; margin: 0px auto"> | ||
+ | <a id="anniu" href="#home02"> | ||
+ | <img src="https://static.igem.org/mediawiki/2018/1/15/T--HZAU-China--cell1.jpg" width=100% id="aimage"> | ||
+ | </a> | ||
+ | </div> | ||
+ | <img style="margin:0 auto; width:100% " src="https://static.igem.org/mediawiki/2018/1/1e/T--HZAU-China--home02.png" | ||
+ | alt=""> | ||
+ | </div> | ||
+ | <div style="width: 100%; margin: 0px auto; height:100px; background-color: #FFF; "> | ||
+ | </div> | ||
+ | <div style="width: 100%; margin: 0px auto; border-top: 4px solid #456285;"> | ||
+ | <img src="https://static.igem.org/mediawiki/2018/4/44/T--HZAU-China--home03.png" width=100% alt=""> | ||
+ | </div> | ||
+ | |||
+ | |||
+ | |||
+ | </div> | ||
+ | |||
+ | |||
+ | </div> | ||
+ | |||
+ | <!-- 滚动菜单栏jQuery --> | ||
+ | <script src="jquery.js" type="text/javascript"></script> | ||
+ | <script type="text/javascript" src="http://apps.bdimg.com/libs/jquery/2.1.1/jquery.min.js"></script> | ||
+ | <script> | ||
+ | $(document).ready(function () { | ||
+ | $('#aimage').click(function () { | ||
+ | var imgsrc1 = "https://static.igem.org/mediawiki/2018/1/15/T--HZAU-China--cell1.jpg"; | ||
+ | var imgsrc2 = "https://static.igem.org/mediawiki/2018/e/ee/T--HZAU-China--cell2.jpg"; | ||
+ | var that = $(this); | ||
+ | if (that.attr("src") == imgsrc1) { | ||
+ | that.attr("src", imgsrc2); | ||
+ | } | ||
+ | }) | ||
+ | }) | ||
+ | </script> | ||
+ | <!-- 滚动菜单栏jQuery --> | ||
+ | |||
+ | </body> | ||
</html> | </html> |
Latest revision as of 03:54, 18 October 2018