Line 1: | Line 1: | ||
− | + | {{XJTU-China/style}} | |
<html lang="en" dir="ltr"> | <html lang="en" dir="ltr"> | ||
<head> | <head> | ||
− | <title>Team:XJTU-China</title> | + | <title>Team:XJTU-China/Project</title> |
<meta charset="utf-8"> | <meta charset="utf-8"> | ||
− | <meta name="keywords" | + | <meta name="keywords" content="iGEM,Xi'an Jiaotong University,XJTU-China,Tryptophan, |
− | + | Trp,Biosynthesis,E.coli"> | |
<meta name="description" | <meta name="description" | ||
− | content="Welcome to 2021 XJTU-China | + | content="Welcome to 2021 XJTU-China. Please check our recent work on tryptophan biosynthesis via E.coli"> |
<meta name="viewport" | <meta name="viewport" | ||
content="width=device-width, initial-scale=1.0, minimum-scale=0.5, maximum-scale=2.0, user-scalable=yes" /> | content="width=device-width, initial-scale=1.0, minimum-scale=0.5, maximum-scale=2.0, user-scalable=yes" /> | ||
Line 18: | Line 18: | ||
href="https://2021.igem.org/wiki/index.php?title=Template:XJTU-China/bootstrap&action=raw&ctype=text/css" /> | href="https://2021.igem.org/wiki/index.php?title=Template:XJTU-China/bootstrap&action=raw&ctype=text/css" /> | ||
<link rel="stylesheet" type="text/css" | <link rel="stylesheet" type="text/css" | ||
− | href="https://2021.igem.org/wiki/index.php?title=Template:XJTU-China/ | + | href="https://2021.igem.org/wiki/index.php?title=Template:XJTU-China/youtube&action=raw&ctype=text/css" /> |
+ | |||
</head> | </head> | ||
Line 24: | Line 25: | ||
<!--banner--> | <!--banner--> | ||
<section> | <section> | ||
− | <div class="container row"> | + | <div class="container row fixedBackground"> |
− | < | + | <div class="fixedBackgroundImg" |
− | + | style="background-image: url(https://static.igem.org/mediawiki/2021/f/fd/T--XJTU-China--bg.jpg);"></div> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</div> | </div> | ||
</section> | </section> | ||
− | <!-- | + | <!--main--> |
− | <section> | + | <section class="main"> |
− | <div class="container | + | <div class="container mainBox" id="mainBox"> |
− | <div class="row"> | + | <div class="row" id="container"> |
− | <div class="col-lg- | + | <div class="side col-lg-3"> |
− | + | <nav class="dr-menu"> | |
− | + | <h3>Description</h3> | |
− | < | + | <ul> |
− | + | <li><a class="dr-icon dr-icon-user" href="#part1">Part1</a></li> | |
− | + | <li><a class="dr-icon dr-icon-camera" href="#part2">Part2</a></li> | |
− | + | <li><a class="dr-icon dr-icon-heart" href="#part3">Part3</a></li> | |
− | + | <li><a class="dr-icon dr-icon-bullhorn" href="#part4">Part4</a></li> | |
− | + | <li><a class="dr-icon dr-icon-download" href="#part5">Part5</a></li> | |
− | + | </ul> | |
− | + | </nav> | |
− | + | </div> | |
− | + | <div class="page xjtuText row col-lg-8 col-12 justify-content-center"> | |
− | + | <h1>hin./ious</h1> | |
− | + | <p class="green" id="part1">PART1 This menu is inspired by the left side menu found on YouTube. When | |
− | + | clicking on | |
− | + | the menu label and | |
− | + | icon, | |
− | + | the main menu appears beneath and the menu icon slides to the right side while the label slides | |
− | + | up. | |
− | + | To close the menu, <b>the menu icon</b> needs to be clicked again. | |
− | + | This menu is inspired by the left s | |
− | + | To close the menu, the menu icon needs to be clicked again. | |
− | + | This menu is inspired by the left side menu found on YouTube. When clicking on the menu label | |
− | + | and | |
− | </ | + | icon,</p> |
− | <p class=" | + | <p class="brown" id="part2"> |
− | + | PART2 To close the menu, the menu icon needs <b>to be clicked again. | |
− | + | This menu is inspired</b> by the left side menu found on YouTube. When clicking on the menu | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | menu | + | |
− | icon | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
label | label | ||
and | and | ||
− | icon, To close the menu, the menu icon needs to be clicked again. This menu is inspired by | + | icon, |
− | the | + | the main menu appears beneath and the menu icon slides to the right side while the label slides |
− | + | up. | |
− | side menu found on YouTube. When clicking on the menu label and icon, | + | To close the menu, the menu icon needs to be clicked again. |
− | + | This menu is inspired by the left side menu found on YouTube. When clicking on the menu label | |
− | <p class="green">the main menu appears beneath and the menu icon slides to the right side while | + | and |
− | the | + | icon, |
− | label | + | the main menu appears beneath and the menu icon slides to the right side while the label slides |
+ | up. | ||
+ | To close the menu, the menu icon needs to be clicked again. | ||
+ | This menu is inspired by the left side menu found on YouTube. When clicking on the menu label | ||
+ | and | ||
+ | icon, | ||
+ | To close the menu, the menu icon needs to be clicked again. | ||
+ | This menu is inspired by the left side menu found on YouTube. When clicking on the menu label | ||
+ | and | ||
+ | icon,</p> | ||
+ | <p class="green" id="part3"> | ||
+ | PART3 the main menu appears beneath and the menu icon slides to the right side while the label | ||
+ | slides | ||
+ | up. | ||
+ | To close the menu, the menu icon needs to be clicked again. | ||
+ | This menu is inspired by the left side menu found on YouTube. When clicking on the menu label | ||
+ | and | ||
+ | icon, | ||
+ | the main menu appears beneath and the menu icon slides to the right side while the label slides | ||
+ | up. | ||
+ | the main menu appears beneath and the menu icon slides to the right side while the label slides | ||
+ | up. | ||
+ | To close the menu, the menu icon needs t | ||
+ | To close the menu, the menu icon needs to be clicked again. | ||
+ | This menu is inspired by the left side menu found on YouTube. When clicking on the menu label | ||
+ | and | ||
+ | icon, | ||
+ | the main menu appears beneath and the menu icon slides to the right side while the label slides | ||
+ | up. | ||
+ | To close the menu, the menu icon needs to be clicked again. | ||
+ | This menu is inspired by the left side menu found on YouTube. When clicking on the menu label | ||
+ | and | ||
+ | icon,</p> | ||
+ | <p class="brown" id="part4"> | ||
+ | PART4 the main menu appears beneath and the menu icon slides to the right side while the label | ||
slides | slides | ||
− | up.o | + | up.o be clicked again. |
− | be clicked again. This menu is inspired by the left side menu found on YouTube. When | + | This menu is inspired by the left side menu found on YouTube. When clicking on the menu label |
− | clicking on | + | and |
− | the | + | icon, |
− | menu label and icon, the main menu appears beneath and the menu icon slides to the right | + | the main menu appears beneath and the menu icon slides to the right side while the label slides |
+ | up. | ||
+ | To close the menu, the menu icon needs to be clicked again. | ||
+ | This menu is inspired by the left side menu found on YouTube. When clicking on the menu label | ||
+ | and | ||
+ | icon, | ||
+ | the main menu appears beneath and the menu icon slides to the right side while the label slides | ||
+ | up. | ||
+ | To close the menu, the menu icon needs to be clicked again. | ||
+ | This menu is inspired by the left side menu found on YouTube. When clicking on the menu label | ||
+ | and | ||
+ | icon, | ||
+ | the main menu appears beneath and the menu icon slides to the right side while the label slides | ||
+ | up. | ||
+ | the main menu appears beneath and the menu icon slides to the right side while the label slides | ||
+ | up. | ||
+ | To close the menu, the menu icon needs to be clicked again. | ||
+ | This menu is inspired by the left side menu found on YouTube. When clicking on the menu label | ||
+ | and | ||
+ | icon, | ||
+ | the main menu appears beneath and the menu icon slides to the right side while the label slides | ||
+ | up.ide menu found on YouTube. When clicking on the menu label and | ||
+ | icon, | ||
+ | To close the menu, the menu icon needs to be clicked again. | ||
+ | This menu is inspired by the left side menu found on YouTube. When clicking on the menu label | ||
+ | and | ||
+ | icon, | ||
+ | the main menu appears beneath and the menu icon slides to the right side while the label slides | ||
+ | up.</p> | ||
+ | <p class="green" id="part5"> | ||
+ | PART5 To close the menu, the menu icon needs to be clicked again. | ||
+ | This menu is inspired by the left side menu found on YouTube. When clicking on the menu label | ||
+ | and | ||
+ | icon, | ||
+ | the main menu appears beneath and the menu icon slides to the right side while the label slides | ||
+ | up. | ||
+ | the main menu appears beneath and the menu icon slides to the right side while the label slides | ||
+ | up. | ||
+ | To close the menu, the menu icon needs t | ||
+ | To close the menu, the menu icon needs to be clicked again. | ||
+ | This menu is inspired by the left side menu found on YouTube. When clicking on the menu label | ||
+ | and | ||
+ | icon, | ||
+ | the main menu appears beneath and the menu icon slides to the right side while the label slides | ||
+ | up. | ||
+ | To close the menu, the menu icon needs to be clicked again. | ||
+ | This menu is inspired by the left side menu found on YouTube. When clicking on the menu label | ||
+ | and | ||
+ | icon, | ||
+ | the main menu appears beneath and the menu icon slides to the right side while the label slides | ||
+ | up.o be clicked again. | ||
+ | This menu is inspired by the left side menu found on YouTube. When clicking on the menu label | ||
+ | and | ||
+ | icon, | ||
+ | the main menu appears beneath and t | ||
+ | To close the menu, the menu icon needs to be clicked again. | ||
+ | This menu is inspired by the left side menu found on YouTube. When clicking on the menu label | ||
+ | and | ||
+ | icon, | ||
+ | the main menu appears beneath and the menu icon slides to the right side while the label slides | ||
+ | up. | ||
+ | To close the menu, the menu icon needs to be clicked again. | ||
+ | This menu is inspired by the left side menu found on YouTube. When clicking on the menu label | ||
+ | and | ||
+ | icon, | ||
+ | the main menu appears beneath and the menu icon slides to the right side while the label slides | ||
+ | up.he menu icon slides to the right side while the label slides | ||
+ | up. | ||
+ | To close the menu, the menu icon needs to be clicked again. | ||
+ | >This menu is inspired by the left side menu found on YouTube. When clicking on the menu label | ||
+ | and | ||
+ | icon, | ||
+ | the main menu appears beneath and the menu icon slides to the right side while the label slides | ||
+ | up. | ||
+ | To close the menu, the menu icon needs to be clicked again. | ||
+ | |||
+ | his menu is inspired by the left side menu found on YouTube. When clicking on the menu label and | ||
+ | icon, | ||
+ | the main menu appears beneath and the menu icon slides to the right side while the label slides | ||
+ | up. | ||
+ | To close the menu, the menu icon needs to be clicked again.This menu is inspired by the left | ||
side | side | ||
− | + | menu found on YouTube. When clicking on the menu label and | |
− | + | icon, | |
− | + | the main menu appears beneath and the menu icon slides to the right side while the label slides | |
− | + | up. | |
− | + | To close the menu, the menu icon needs to be clicked again.</p> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</div> | </div> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</div> | </div> | ||
</div> | </div> | ||
</section> | </section> | ||
+ | <!--JS--> | ||
<script type="text/javascript" | <script type="text/javascript" | ||
src="https://2021.igem.org/wiki/index.php?title=Template:XJTU-China/jquery&action=raw&ctype=text/javascript"></script> | src="https://2021.igem.org/wiki/index.php?title=Template:XJTU-China/jquery&action=raw&ctype=text/javascript"></script> | ||
Line 243: | Line 211: | ||
<script type="text/javascript" | <script type="text/javascript" | ||
src="https://2021.igem.org/wiki/index.php?title=Template:XJTU-China/lottie&action=raw&ctype=text/javascript"></script> | src="https://2021.igem.org/wiki/index.php?title=Template:XJTU-China/lottie&action=raw&ctype=text/javascript"></script> | ||
− | < | + | <!--dr-menuSliding--> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
<script> | <script> | ||
− | var | + | var fsliding = (function () { |
+ | window.addEventListener('scroll', function () { | ||
+ | var scroll = $(window).scrollTop(); | ||
+ | var pageHeight = $(window).height(); | ||
+ | var pageWidth = $(window).width(); | ||
+ | var drMenu = $(".dr-menu"); | ||
+ | var containerHeight = $("#container").height(); | ||
+ | var drMenuHeight = drMenu.height(); | ||
+ | var headerHeight = $("header").height(); | ||
− | + | if (pageWidth < 992) { | |
− | + | drMenu.hide(); | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
else { | else { | ||
− | + | drMenu.show(); | |
− | + | // drmenu到底, -5px莫名其妙 | |
− | + | if (scroll - 5 - (0.7 * pageHeight - headerHeight) + drMenuHeight >= containerHeight) { | |
− | + | drMenu.css({ | |
− | + | "position": "relative", | |
− | + | "top": (containerHeight - drMenuHeight).toString() + "px" | |
− | + | }); | |
− | + | } | |
− | + | //滑动时,-5px莫名其妙 | |
− | + | else if (scroll - 5 > 0.7 * pageHeight - headerHeight) { | |
− | + | drMenu.css({ | |
− | + | "position": "fixed", | |
− | + | "top": (headerHeight + 100).toString() + "px" | |
− | + | }); | |
− | + | } | |
− | + | //未滑动时 | |
− | + | else { | |
− | + | drMenu.css({ | |
− | + | "position": "relative", | |
− | + | "top": "0" | |
− | + | }); | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | } | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | } | + | |
} | } | ||
} | } | ||
− | + | }) | |
− | + | })() | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | })() | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</script> | </script> | ||
</body> | </body> |
Revision as of 06:37, 6 August 2021
hin./ious
PART1 This menu is inspired by the left side menu found on YouTube. When clicking on the menu label and icon, the main menu appears beneath and the menu icon slides to the right side while the label slides up. To close the menu, the menu icon needs to be clicked again. This menu is inspired by the left s To close the menu, the menu icon needs to be clicked again. This menu is inspired by the left side menu found on YouTube. When clicking on the menu label and icon,
PART2 To close the menu, the menu icon needs to be clicked again. This menu is inspired by the left side menu found on YouTube. When clicking on the menu label and icon, the main menu appears beneath and the menu icon slides to the right side while the label slides up. To close the menu, the menu icon needs to be clicked again. This menu is inspired by the left side menu found on YouTube. When clicking on the menu label and icon, the main menu appears beneath and the menu icon slides to the right side while the label slides up. To close the menu, the menu icon needs to be clicked again. This menu is inspired by the left side menu found on YouTube. When clicking on the menu label and icon, To close the menu, the menu icon needs to be clicked again. This menu is inspired by the left side menu found on YouTube. When clicking on the menu label and icon,
PART3 the main menu appears beneath and the menu icon slides to the right side while the label slides up. To close the menu, the menu icon needs to be clicked again. This menu is inspired by the left side menu found on YouTube. When clicking on the menu label and icon, the main menu appears beneath and the menu icon slides to the right side while the label slides up. the main menu appears beneath and the menu icon slides to the right side while the label slides up. To close the menu, the menu icon needs t To close the menu, the menu icon needs to be clicked again. This menu is inspired by the left side menu found on YouTube. When clicking on the menu label and icon, the main menu appears beneath and the menu icon slides to the right side while the label slides up. To close the menu, the menu icon needs to be clicked again. This menu is inspired by the left side menu found on YouTube. When clicking on the menu label and icon,
PART4 the main menu appears beneath and the menu icon slides to the right side while the label slides up.o be clicked again. This menu is inspired by the left side menu found on YouTube. When clicking on the menu label and icon, the main menu appears beneath and the menu icon slides to the right side while the label slides up. To close the menu, the menu icon needs to be clicked again. This menu is inspired by the left side menu found on YouTube. When clicking on the menu label and icon, the main menu appears beneath and the menu icon slides to the right side while the label slides up. To close the menu, the menu icon needs to be clicked again. This menu is inspired by the left side menu found on YouTube. When clicking on the menu label and icon, the main menu appears beneath and the menu icon slides to the right side while the label slides up. the main menu appears beneath and the menu icon slides to the right side while the label slides up. To close the menu, the menu icon needs to be clicked again. This menu is inspired by the left side menu found on YouTube. When clicking on the menu label and icon, the main menu appears beneath and the menu icon slides to the right side while the label slides up.ide menu found on YouTube. When clicking on the menu label and icon, To close the menu, the menu icon needs to be clicked again. This menu is inspired by the left side menu found on YouTube. When clicking on the menu label and icon, the main menu appears beneath and the menu icon slides to the right side while the label slides up.
PART5 To close the menu, the menu icon needs to be clicked again. This menu is inspired by the left side menu found on YouTube. When clicking on the menu label and icon, the main menu appears beneath and the menu icon slides to the right side while the label slides up. the main menu appears beneath and the menu icon slides to the right side while the label slides up. To close the menu, the menu icon needs t To close the menu, the menu icon needs to be clicked again. This menu is inspired by the left side menu found on YouTube. When clicking on the menu label and icon, the main menu appears beneath and the menu icon slides to the right side while the label slides up. To close the menu, the menu icon needs to be clicked again. This menu is inspired by the left side menu found on YouTube. When clicking on the menu label and icon, the main menu appears beneath and the menu icon slides to the right side while the label slides up.o be clicked again. This menu is inspired by the left side menu found on YouTube. When clicking on the menu label and icon, the main menu appears beneath and t To close the menu, the menu icon needs to be clicked again. This menu is inspired by the left side menu found on YouTube. When clicking on the menu label and icon, the main menu appears beneath and the menu icon slides to the right side while the label slides up. To close the menu, the menu icon needs to be clicked again. This menu is inspired by the left side menu found on YouTube. When clicking on the menu label and icon, the main menu appears beneath and the menu icon slides to the right side while the label slides up.he menu icon slides to the right side while the label slides up. To close the menu, the menu icon needs to be clicked again. >This menu is inspired by the left side menu found on YouTube. When clicking on the menu label and icon, the main menu appears beneath and the menu icon slides to the right side while the label slides up. To close the menu, the menu icon needs to be clicked again. his menu is inspired by the left side menu found on YouTube. When clicking on the menu label and icon, the main menu appears beneath and the menu icon slides to the right side while the label slides up. To close the menu, the menu icon needs to be clicked again.This menu is inspired by the left side menu found on YouTube. When clicking on the menu label and icon, the main menu appears beneath and the menu icon slides to the right side while the label slides up. To close the menu, the menu icon needs to be clicked again.