Line 1: | Line 1: | ||
{{OUC-China}} | {{OUC-China}} | ||
− | + | <html> | |
− | < | + | <head> |
− | + | <title>Team OUC-China: Main</title> | |
− | <meta | + | <meta charset="utf-8" /> |
− | <meta http-equiv=" | + | <meta name="viewport" content="width=device-width, initial-scale=1" /> |
− | < | + | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
+ | <link rel="stylesheet" href="https://2018.igem.org/Team:OUC-China/CSS6?action=raw&ctype=text/css" /> | ||
− | + | ||
− | < | + | <style> |
− | + | #bodyContent{ | |
− | + | margin:0; | |
− | + | padding:0; | |
− | + | position:absolute; | |
− | + | top:0 !important; | |
− | + | ||
− | + | ||
− | + | ||
− | |||
} | } | ||
Line 33: | Line 30: | ||
} | } | ||
− | + | .copyright1 { | |
− | text- | + | text-align: center; |
− | + | padding-top: 20px; | |
− | + | padding-bottom: 20px; | |
− | + | background-color: gray; | |
− | + | color: #FFFFFF; | |
− | color: # | + | text-transform: uppercase; |
− | + | font-weight: lighter; | |
− | + | letter-spacing: 2px; | |
− | text- | + | border-top-width: 2px; |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | #myBtn { | ||
+ | display: none; | ||
+ | position: fixed; | ||
+ | bottom: 20px; | ||
+ | right: 30px; | ||
+ | z-index: 99; | ||
+ | border: none; | ||
+ | outline: none; | ||
+ | background-color: gray; | ||
+ | color: white; | ||
+ | cursor: pointer; | ||
+ | padding: 15px; | ||
+ | border-radius: 10px; | ||
+ | } | ||
+ | #myBtn:hover { | ||
+ | background-color: #555; | ||
+ | } | ||
</style> | </style> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | </head> | ||
+ | <body class="homepage"> | ||
+ | <button onclick="topFunction()" id="myBtn" title="回顶部">TOP</button> | ||
+ | <div id="page-wrapper" > | ||
− | |||
+ | <!-- Nav --> | ||
+ | <nav id="nav"> | ||
+ | <ul> | ||
+ | <li ><a href="https://2018.igem.org/Team:OUC-China">Main</a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="#">Project</a> | ||
+ | <ul> | ||
+ | <li><a href="https://2018.igem.org/Team:OUC-China/Description">Overview</a></li> | ||
+ | <li><a href="https://2018.igem.org/Team:OUC-China/Design">Design</a></li> | ||
+ | <li><a href="https://2018.igem.org/Team:OUC-China/Results">Results</a></li> | ||
+ | <li><a href="https://2018.igem.org/Team:OUC-China/Demonstrate">Demonstrate</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li><a href="#">Lab WORK</a> | ||
+ | <ul> | ||
+ | <li><a href="https://2018.igem.org/Team:OUC-China/Experiments">Experiments</a></li> | ||
+ | <li><a href="https://2018.igem.org/Team:OUC-China/Safety">Safety</a></li> | ||
+ | <li><a href="https://2018.igem.org/Team:OUC-China/InterLab">InterLab</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li><a href="#">Model</a> | ||
+ | <ul> | ||
+ | <li><a href="https://2018.igem.org/Team:OUC-China/Model">Overview</a></li> | ||
+ | <li><a href="https://2018.igem.org/Team:OUC-China/miniToe">miniToe</a></li> | ||
+ | <li><a href="https://2018.igem.org/Team:OUC-China/miniToe Family">miniToe Family</a></li> | ||
+ | <li><a href="https://2018.igem.org/Team:OUC-China/polycistron">polycistron</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li><a href="https://2018.igem.org/Team:OUC-China/Parts">Parts</a> | ||
+ | </li> | ||
+ | <li><a href="#">Human_Practices</a> | ||
+ | <ul> | ||
+ | <li><a href="https://2018.igem.org/Team:OUC-China/Human_Practices">Human_Practices</a></li> | ||
+ | <li><a href="https://2018.igem.org/Team:OUC-China/Public_Engagement">Public_Engagement</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li><a href="#">Team</a> | ||
+ | <ul> | ||
+ | <li><a href="https://2018.igem.org/Team:OUC-China/Team">Team_Member</a></li> | ||
+ | <li><a href="https://2018.igem.org/Team:OUC-China/Collaborations">Collaborations</a></li> | ||
+ | <li><a href="https://2018.igem.org/Team:OUC-China/Attributions">Attributions</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li><a href="https://2018.igem.org/Team:OUC-China/Notebook">Notebook</a></li> | ||
− | + | </ul> | |
+ | </nav> | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | < | + | <!-- Scripts --> |
− | + | ||
− | + | ||
− | < | + | <script src="http://https://2018.igem.org/Team:OUC-China/jquery?action=raw&ctype=text/javascript"></script> |
− | </ | + | <script src="https://2018.igem.org/Team:OUC-China/dropotron?action=raw&ctype=text/javascript"></script> |
− | + | <script src="https://2018.igem.org/Team:OUC-China/skeljs?action=raw&ctype=text/javascript"></script> | |
− | < | + | <script src="https://2018.igem.org/Team:OUC-China/skelviewport?action=raw&ctype=text/javascript"></script> |
− | </ | + | <script src="https://2018.igem.org/Team:OUC-China/utiljs?action=raw&ctype=text/javascript"></script> |
− | + | <script src="https://2018.igem.org/Team:OUC-China/mainjs?action=raw&ctype=text/javascript"></script> | |
− | < | + | |
− | </ | + | |
− | + | <div class="copyright1">Contact Us : oucigem@163.com | ©2018 OUC IGEM.All Rights Reserved. | ………… </div> | |
− | < | + | |
− | </ | + | |
− | + | <script> | |
− | < | + | // 当网页向下滑动 20px 出现"返回顶部" 按钮 |
− | </ | + | window.onscroll = function() {scrollFunction()}; |
− | < | + | |
− | + | function scrollFunction() {console.log(121); | |
− | </ | + | if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) { |
− | <div | + | document.getElementById("myBtn").style.display = "block"; |
− | + | } else { | |
− | </ | + | document.getElementById("myBtn").style.display = "none"; |
+ | } | ||
+ | } | ||
+ | |||
+ | // 点击按钮,返回顶部 | ||
+ | function topFunction() { | ||
+ | document.body.scrollTop = 0; | ||
+ | document.documentElement.scrollTop = 0; | ||
+ | } | ||
+ | </script> | ||
− | + | </body> | |
− | + | ||
− | |||
</html> | </html> |
Revision as of 07:55, 27 September 2018
Contact Us : oucigem@163.com | ©2018 OUC IGEM.All Rights Reserved. | …………