m |
(修正地址及命名问题。) |
||
Line 4: | Line 4: | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | <meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<title>2018 iGEM_DLUT_B</title> | <title>2018 iGEM_DLUT_B</title> | ||
− | <link rel="stylesheet" | + | <link rel="stylesheet" href="https://2018.igem.org/wiki/index.php?title=Template:DLUT_China_B/css/style.css&action=raw&ctype=text/css"> |
− | + | <link rel="stylesheet" href="https://2018.igem.org/wiki/index.php?title=Template:DLUT_China_B/css/nav.css&action=raw&ctype=text/css"> | |
− | <link rel="stylesheet" | + | <link rel="stylesheet" href="https://2018.igem.org/wiki/index.php?title=Template:DLUT_China_B/css/bubbles.css&action=raw&ctype=text/css"> |
− | + | <link rel="stylesheet" href="https://2018.igem.org/wiki/index.php?title=Template:DLUT_China_B/css/fontawesome.css&action=raw&ctype=text/css"> | |
− | <link rel="stylesheet" | + | |
− | + | ||
− | <link rel="stylesheet" | + | |
− | + | ||
<script src="https://2018.igem.org/wiki/index.php?title=Template:DLUT_China_B/js/bubbles.js&action=raw&ctype=text/javascript"></script> | <script src="https://2018.igem.org/wiki/index.php?title=Template:DLUT_China_B/js/bubbles.js&action=raw&ctype=text/javascript"></script> | ||
Line 66: | Line 62: | ||
<div class="tr"> | <div class="tr"> | ||
<div class="td"> | <div class="td"> | ||
− | <a href="https://2018.igem.org/Team:DLUT_China_B/ | + | <a href="https://2018.igem.org/Team:DLUT_China_B/Applied_Design"> |
<img src="https://static.igem.org/mediawiki/2018/7/71/T--DLUT_China_B--Circle4.png" width="250"> | <img src="https://static.igem.org/mediawiki/2018/7/71/T--DLUT_China_B--Circle4.png" width="250"> | ||
<div>Awards</div> | <div>Awards</div> | ||
Line 72: | Line 68: | ||
</div> | </div> | ||
<div class="td"> | <div class="td"> | ||
− | <a href="https://2018.igem.org/Team:DLUT_China_B/ | + | <a href="https://2018.igem.org/Team:DLUT_China_B/Human_Practices"> |
<img src="https://static.igem.org/mediawiki/2018/6/63/T--DLUT_China_B--Circle5.png" width="250"> | <img src="https://static.igem.org/mediawiki/2018/6/63/T--DLUT_China_B--Circle5.png" width="250"> | ||
− | <div>Human | + | <div>Human Practices</div> |
</a> | </a> | ||
</div> | </div> | ||
Line 172: | Line 168: | ||
}, | }, | ||
{ | { | ||
− | question: "Human | + | question: "Human Practices", |
− | answer: " | + | answer: "humanPractices" |
}, | }, | ||
{ | { | ||
Line 295: | Line 291: | ||
}, | }, | ||
{ | { | ||
− | question: "Human | + | question: "Human Practices", |
− | answer: " | + | answer: "humanPractices" |
}, | }, | ||
{ | { | ||
Line 367: | Line 363: | ||
] | ] | ||
}, | }, | ||
− | " | + | "humanPractices": { |
says: [ | says: [ | ||
"We are committed to education and publicity.", | "We are committed to education and publicity.", | ||
− | "Choose \"Learn more\" and you will arrive at Human | + | "Choose \"Learn more\" and you will arrive at Human Practices.", |
"Choose \"Back\", the destination will be reset." | "Choose \"Back\", the destination will be reset." | ||
], | ], | ||
Line 376: | Line 372: | ||
{ | { | ||
question: "Learn more", | question: "Learn more", | ||
− | answer: " | + | answer: "goHumanPractices" |
}, | }, | ||
{ | { | ||
Line 424: | Line 420: | ||
}; | }; | ||
goAwards = function () { | goAwards = function () { | ||
− | window.location.href = "https://2018.igem.org/Team:DLUT_China_B/ | + | window.location.href = "https://2018.igem.org/Team:DLUT_China_B/Applied_Design"; |
}; | }; | ||
− | + | goHumanPractices = function () { | |
− | window.location.href = "https://2018.igem.org/Team:DLUT_China_B/ | + | window.location.href = "https://2018.igem.org/Team:DLUT_China_B/Human_Practices"; |
}; | }; | ||
goTeamworkAndCooperation = function () { | goTeamworkAndCooperation = function () { | ||
Line 436: | Line 432: | ||
let winH = $(window).height(), /*获取窗口高度*/ | let winH = $(window).height(), /*获取窗口高度*/ | ||
scrollH = $(window).scrollTop(), /*获取窗口滚动高度*/ | scrollH = $(window).scrollTop(), /*获取窗口滚动高度*/ | ||
− | top = $el.offsetTop; | + | top = $el.offsetTop; /*获取元素距离窗口顶部偏移高度*/ |
− | + | ||
return top < scrollH + winH; | return top < scrollH + winH; | ||
} | } |
Revision as of 08:00, 11 October 2018