Line 1: | Line 1: | ||
+ | {{XJTU-China/style}} | ||
+ | {{XJTU-China/youtube}} | ||
+ | <html lang="en" dir="ltr"> | ||
+ | |||
+ | <head> | ||
+ | <title>Team:XJTU-China/Project</title> | ||
+ | <meta charset="utf-8"> | ||
+ | <meta name="keywords" content="iGEM,Xi'an Jiaotong University,XJTU-China,Tryptophan, | ||
+ | Trp,Biosynthesis,E.coli"> | ||
+ | <meta name="description" | ||
+ | content="Welcome to 2021 XJTU-China. Please check our recent work on tryptophan biosynthesis via E.coli"> | ||
+ | <meta name="viewport" | ||
+ | content="width=device-width, initial-scale=1.0, minimum-scale=0.5, maximum-scale=2.0, user-scalable=yes" /> | ||
+ | <link rel="stylesheet" type="text/css" | ||
+ | href="https://2021.igem.org/wiki/index.php?title=Template:XJTU-China&action=raw&ctype=text/css" /> | ||
+ | <link rel="stylesheet" type="text/css" | ||
+ | href="https://2021.igem.org/wiki/index.php?title=Template:XJTU-China/font_awesome_min&action=raw&ctype=text/css" /> | ||
+ | <link rel="stylesheet" type="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" | ||
+ | href="https://2021.igem.org/wiki/index.php?title=Template:XJTU-China/youtube&action=raw&ctype=text/css" /> --> | ||
+ | |||
+ | </head> | ||
+ | |||
+ | <body> | ||
+ | <!--banner--> | ||
+ | <section> | ||
+ | <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);"> | ||
+ | <h2 class="pageHeadline">Description</h2> | ||
+ | </div> | ||
+ | </div> | ||
+ | </section> | ||
+ | <!--main--> | ||
+ | <section class="main"> | ||
+ | <div class="container mainBox" id="mainBox"> | ||
+ | <div class="row" id="container"> | ||
+ | <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> | ||
+ | <li><a class="dr-icon dr-icon-download" href="#part6">Part6</a></li> | ||
+ | </ul> | ||
+ | </nav> | ||
+ | </div> | ||
<div class="page xjtuText row col-lg-8 col-12 justify-content-center"> | <div class="page xjtuText row col-lg-8 col-12 justify-content-center"> | ||
<h1>hin./ious</h1> | <h1>hin./ious</h1> | ||
Line 254: | Line 305: | ||
</div> | </div> | ||
+ | </div> | ||
+ | </div> | ||
+ | </section> | ||
+ | |||
+ | <!--JS--> | ||
+ | <script type="text/javascript" | ||
+ | src="https://2021.igem.org/wiki/index.php?title=Template:XJTU-China/jquery&action=raw&ctype=text/javascript"></script> | ||
+ | <script type="text/javascript" | ||
+ | src="https://2021.igem.org/wiki/index.php?title=Template:XJTU-China/bootstrapJS&action=raw&ctype=text/javascript"></script> | ||
+ | <script type="text/javascript" | ||
+ | src="https://2021.igem.org/wiki/index.php?title=Template:XJTU-China/lottie&action=raw&ctype=text/javascript"></script> | ||
+ | <!--dr-menuSliding--> | ||
+ | <script> | ||
+ | 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 { | ||
+ | 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> | ||
+ | </body> | ||
+ | |||
+ | </html> | ||
+ | {{XJTU-China/header}} | ||
+ | {{XJTU-China/footer}} |
Revision as of 03:59, 1 September 2021
Description
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 YT. When clicking on the menu label and icon,
fig.1 Description
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,
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.