Line 34: | Line 34: | ||
<link rel="stylesheet" href="https://2018.igem.org/Template:BIT-China/css/common-style?action=raw&ctype=text/css"> | <link rel="stylesheet" href="https://2018.igem.org/Template:BIT-China/css/common-style?action=raw&ctype=text/css"> | ||
<link rel="stylesheet" href="https://2018.igem.org/Template:BIT-China/css/css-animation?action=raw&ctype=text/css"> | <link rel="stylesheet" href="https://2018.igem.org/Template:BIT-China/css/css-animation?action=raw&ctype=text/css"> | ||
− | |||
<style> | <style> | ||
− | . | + | .ATT-img-1 { |
position: absolute; | position: absolute; | ||
− | + | top: calc(50vh - 30*0.62vw); | |
− | + | left: 25vw; | |
− | top: calc( | + | height: 60*0.618vw; |
− | + | width: 60vw; | |
− | height: | + | |
− | + | ||
} | } | ||
− | .top- | + | .ATT-img-2 { |
− | position: | + | position: absolute; |
− | + | top: calc(50vh - 30*0.62vw); | |
− | + | left: 125vw; | |
− | top: calc( | + | height: 60*0.618vw; |
− | width: | + | width: 60vw; |
− | height: | + | } |
− | + | ||
+ | .ATT-img-3 { | ||
+ | position: absolute; | ||
+ | top: calc(50vh - 30*0.62vw); | ||
+ | left: 225vw; | ||
+ | height: 60*0.618vw; | ||
+ | width: 60vw; | ||
+ | } | ||
+ | |||
+ | .ATT-img-4 { | ||
+ | position: absolute; | ||
+ | top: calc(50vh - 30*0.62vw); | ||
+ | left: 325vw; | ||
+ | height: 60*0.618vw; | ||
+ | width: 60vw; | ||
+ | } | ||
+ | |||
+ | .ATT-img-5 { | ||
+ | position: absolute; | ||
+ | top: calc(50vh - 30*0.62vw); | ||
+ | left: 425vw; | ||
+ | height: 60*0.618vw; | ||
+ | width: 60vw; | ||
+ | } | ||
+ | |||
+ | .ATT-img-6 { | ||
+ | position: absolute; | ||
+ | top: calc(50vh - 30*0.62vw); | ||
+ | left: 525vw; | ||
+ | height: 60*0.618vw; | ||
+ | width: 60vw; | ||
} | } | ||
</style> | </style> | ||
− | |||
</head> | </head> | ||
<body class="scoll_dis"> | <body class="scoll_dis"> | ||
+ | <div id="world" style="z-index: 0;position: fixed;right:-500px;top: calc(100vh - 400px);"></div> | ||
<!-- 导航栏 start --> | <!-- 导航栏 start --> | ||
<ul id="left-nav"> | <ul id="left-nav"> | ||
Line 73: | Line 100: | ||
<li> | <li> | ||
− | <a> | + | <a>EXPERIMENT</a> |
<ul> | <ul> | ||
<li><a href="https://2018.igem.org/Team:BIT-China/ExperimentsRegulator">Regulator</a></li> | <li><a href="https://2018.igem.org/Team:BIT-China/ExperimentsRegulator">Regulator</a></li> | ||
Line 94: | Line 121: | ||
<li> | <li> | ||
− | <a> | + | <a>HP</a> |
<ul> | <ul> | ||
<li><a href="https://2018.igem.org/Team:BIT-China/Human_Practices">Integrated Human Practices</a></li> | <li><a href="https://2018.igem.org/Team:BIT-China/Human_Practices">Integrated Human Practices</a></li> | ||
Line 135: | Line 162: | ||
<!-- end --> | <!-- end --> | ||
− | <div id=" | + | <div id="team-content"> |
− | <div id=" | + | <div id="team-1" class="section"> |
− | <img src="https://static.igem.org/mediawiki/2018/ | + | <img class="ATT-img-1" src="https://static.igem.org/mediawiki/2018/6/65/T--BIT-China--iGEM2018-attribution-lichun.png"> |
+ | </div> | ||
− | < | + | <div id="team-2" class="section"> |
+ | <div id="team-2-1" class="slide"> | ||
+ | <img class="ATT-img-1" src="https://static.igem.org/mediawiki/2018/6/66/T--BIT-China--iGEM2018-attribution-wangying.png"> | ||
+ | </div> | ||
+ | |||
+ | <div id="team-2-2" class="slide"> | ||
+ | <img class="ATT-img-2" src="https://static.igem.org/mediawiki/2018/1/10/T--BIT-China--iGEM2018-attribution-fengxudong.png"> | ||
+ | </div> | ||
+ | |||
+ | <div id="team-2-3" class="slide"> | ||
+ | <img class="ATT-img-3" src="https://static.igem.org/mediawiki/2018/e/e3/T--BIT-China--iGEM2018-attribution-chenguoliang.png"> | ||
+ | </div> | ||
+ | |||
+ | <div id="team-2-4" class="slide"> | ||
+ | <img class="ATT-img-4" src="https://static.igem.org/mediawiki/2018/c/c9/T--BIT-China--iGEM2018-attribution-liuyueqing.png"> | ||
+ | </div> | ||
</div> | </div> | ||
− | <div id=" | + | <div id="team-3" class="section"> |
− | < | + | <div id="team-3-1" class="slide"> |
− | + | <img class="ATT-img-1" src=" | |
− | + | https://static.igem.org/mediawiki/2018/c/c3/T--BIT-China--iGEM2018-attribution-yujie.png"> | |
− | + | </div> | |
− | <div id=" | + | <div id="team-3-2" class="slide"> |
− | < | + | <img class="ATT-img-2" src="https://static.igem.org/mediawiki/2018/3/34/T--BIT-China--iGEM2018-attribution-linuonan.png"> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</div> | </div> | ||
− | <img id=" | + | <div id="team-3-3" class="slide"> |
+ | <img class="ATT-img-3" src="https://static.igem.org/mediawiki/2018/6/62/T--BIT-China--iGEM2018-attribution-gaobo.png"> | ||
+ | </div> | ||
+ | |||
+ | <div id="team-3-4" class="slide"> | ||
+ | <img class="ATT-img-4" src="https://static.igem.org/mediawiki/2018/5/52/T--BIT-China--iGEM2018-attribution-songqinghui.png"> | ||
+ | </div> | ||
+ | |||
+ | <div id="team-3-5" class="slide"> | ||
+ | <img class="ATT-img-5" src="https://static.igem.org/mediawiki/2018/a/af/T--BIT-China--iGEM2018-attribution-caomingming.png"> | ||
+ | </div> | ||
+ | |||
+ | <div id="team-3-6" class="slide"> | ||
+ | <img class="ATT-img-6" src="https://static.igem.org/mediawiki/2018/1/1a/T--BIT-China--iGEM2018-attribution-hupengjing.png"> | ||
+ | </div> | ||
</div> | </div> | ||
− | <div id=" | + | <div id="team-4" class="section"> |
− | < | + | <div id="team-4-1" class="slide"> |
− | + | <img class="ATT-img-1" src="https://static.igem.org/mediawiki/2018/1/13/T--BIT-China--iGEM2018-attribution-shitao.png"> | |
− | + | </div> | |
− | + | ||
− | <div id=" | + | <div id="team-4-2" class="slide"> |
− | < | + | <img class="ATT-img-2" src="https://static.igem.org/mediawiki/2018/4/44/T--BIT-China--iGEM2018-attribution-mengxiangyu.png"> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</div> | </div> | ||
− | <img id=" | + | <div id="team-4-3" class="slide"> |
+ | <img class="ATT-img-3" src="https://static.igem.org/mediawiki/2018/0/02/T--BIT-China--iGEM2018-attribution-narengaowa.png"> | ||
+ | </div> | ||
+ | |||
+ | <div id="team-4-4" class="slide"> | ||
+ | <img class="ATT-img-4" src="https://static.igem.org/mediawiki/2018/0/08/T--BIT-China--iGEM2018-attribution-luoxiaofan.png"> | ||
+ | </div> | ||
+ | |||
+ | <div id="team-4-5" class="slide"> | ||
+ | <img class="ATT-img-5" src="https://static.igem.org/mediawiki/2018/7/71/T--BIT-China--iGEM2018-attribution-maomingchuan.png"> | ||
+ | </div> | ||
</div> | </div> | ||
− | <div id=" | + | <div id="team-5" class="section"> |
− | < | + | <div id="team-5-1" class="slide"> |
− | src="https://static.igem.org/mediawiki/2018/ | + | <img class="ATT-img-1" src="https://static.igem.org/mediawiki/2018/f/f3/T--BIT-China--iGEM2018-attribution-liweiyu.png"> |
+ | </div> | ||
− | <div id=" | + | <div id="team-5-2" class="slide"> |
− | < | + | <img class="ATT-img-2" src="https://static.igem.org/mediawiki/2018/9/99/T--BIT-China--iGEM2018-attribution-heyuna.png"> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</div> | </div> | ||
− | <img id=" | + | <div id="team-5-3" class="slide"> |
+ | <img class="ATT-img-3" src="https://static.igem.org/mediawiki/2018/4/4e/T--BIT-China--iGEM2018-attribution-yuanhonglin.png"> | ||
+ | </div> | ||
+ | |||
+ | <div id="team-5-4" class="slide"> | ||
+ | <img class="ATT-img-4" src="https://static.igem.org/mediawiki/2018/5/56/T--BIT-China--iGEM2018-attribution-yufanchen.png | ||
+ | "> | ||
+ | </div> | ||
</div> | </div> | ||
− | <div id=" | + | <div id="team-6" class="section"> |
− | < | + | <div id="team-6-1" class="slide"> |
− | src="https://static.igem.org/mediawiki/2018/ | + | <img class="ATT-img-1" src="https://static.igem.org/mediawiki/2018/f/f1/T--BIT-China--iGEM2018-attribution-huangboyang.png"> |
+ | </div> | ||
− | <div id=" | + | <div id="team-6-2" class="slide"> |
− | < | + | <img class="ATT-img-2" src=" |
− | + | https://static.igem.org/mediawiki/2018/1/1b/T--BIT-China--iGEM2018-attribution-xurunbang.png"> | |
− | + | ||
− | + | ||
</div> | </div> | ||
− | < | + | <div id="team-6-3" class="slide"> |
+ | <img class="ATT-img-3" src="https://static.igem.org/mediawiki/2018/1/1f/T--BIT-China--iGEM2018-attribution-chaizenghao.png"> | ||
+ | </div> | ||
</div> | </div> | ||
− | <div id=" | + | <div id="team-7" class="section"> |
− | < | + | <div id="team-7-1" class="slide"> |
− | src="https://static.igem.org/mediawiki/2018/ | + | <img class="ATT-img-1" src="https://static.igem.org/mediawiki/2018/d/d8/T--BIT-China--iGEM2018-attribution-hanweitang.png"> |
+ | </div> | ||
− | <div id=" | + | <div id="team-7-2" class="slide"> |
− | < | + | <img class="ATT-img-2" src="https://static.igem.org/mediawiki/2018/a/a2/T--BIT-China--iGEM2018-attribution-hefa.png"> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</div> | </div> | ||
− | <img id=" | + | <div id="team-7-3" class="slide"> |
− | + | <img class="ATT-img-3" src="https://static.igem.org/mediawiki/2018/3/35/T--BIT-China--iGEM2018-attribution-puzhuanzhuan.png"> | |
+ | </div> | ||
+ | |||
+ | <div id="team-7-4" class="slide"> | ||
+ | <img class="ATT-img-4" src="https://static.igem.org/mediawiki/2018/6/69/T--BIT-China--iGEM2018-attribution-yeqiaofen.png"> | ||
+ | </div> | ||
+ | |||
+ | <div id="team-7-5" class="slide"> | ||
+ | <img class="ATT-img-5" src="https://static.igem.org/mediawiki/2018/4/42/T--BIT-China--iGEM2018-attribution-lijun.png"> | ||
+ | </div> | ||
</div> | </div> | ||
</div> | </div> | ||
− | |||
− | |||
<script src="https://2018.igem.org/Template:BIT-China/js/jquery-min?action=raw&ctype=text/javascript"></script> | <script src="https://2018.igem.org/Template:BIT-China/js/jquery-min?action=raw&ctype=text/javascript"></script> | ||
Line 240: | Line 303: | ||
<script src="https://2018.igem.org/Template:BIT-China/js/jquery-fullPage-min?action=raw&ctype=text/javascript"></script> | <script src="https://2018.igem.org/Template:BIT-China/js/jquery-fullPage-min?action=raw&ctype=text/javascript"></script> | ||
<script> | <script> | ||
− | var | + | var left_nav = document.getElementById('left-nav'); |
− | + | ||
− | + | ||
− | + | ||
− | + | // setInterval(function () { // 控制slide部分的自动播放时间 | |
− | + | // $.fn.fullpage.moveSlideRight(); | |
− | + | // }, 2000) | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | } | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</script> | </script> | ||
<script> | <script> | ||
− | $(function () { | + | $(document).ready(function () { |
− | $('# | + | $('#team-content').fullpage({ |
− | + | 'navigation': true, // 显示滚动圆点 | |
− | + | ||
'anchors': [], // anchors参数防止在火狐浏览器中一次滚动到底部 | 'anchors': [], // anchors参数防止在火狐浏览器中一次滚动到底部 | ||
− | 'afterRender': function () { | + | 'afterRender': function () { // 页面初始化完成后的回调函数 |
− | + | left_nav.classList.add('nope'); | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
}, | }, | ||
− | 'onLeave': function (index, nextIndex, direction) { | + | 'onLeave': function (index, nextIndex, direction) { // 滚动前的回调函数 |
if (nextIndex == 1) { | if (nextIndex == 1) { | ||
− | + | left_nav.classList.add('nope'); | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
if (index == 1) { | if (index == 1) { | ||
− | + | left_nav.classList.remove('nope'); | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
'afterLoad': function (anchorLink, index) { // 滚动到某一屏时加载动画样式 | 'afterLoad': function (anchorLink, index) { // 滚动到某一屏时加载动画样式 | ||
− | if (index == 1) { | + | }, |
+ | 'slidesNavigation': true, | ||
+ | 'controlArrows': false, | ||
+ | 'scrollingSpeed': 700, | ||
+ | 'onSlideLeave': function (anchorLink, index, slideIndex, direction, nextSlideIndex) { // 滚动前 slideIdex&nextSlideIndex从0开始 | ||
+ | if (index == 2 && nextSlideIndex == 1) { | ||
} | } | ||
− | if (index == 2) { | + | }, |
+ | 'afterSlideLoad': function (anchorLink, index, slideAnchor, slideIndex) { // 滚动后 slideIndex从1开始 | ||
+ | if (index == 2) { // section 2 部分 | ||
} | } | ||
− | } | + | } |
}); | }); | ||
}); | }); | ||
</script> | </script> | ||
+ | <script src='https://2018.igem.org/Template:BIT-China/js/three-min?action=raw&ctype=text/javascript'></script> | ||
+ | <script src="https://2018.igem.org/Template:BIT-China/js/index?action=raw&ctype=text/javascript"></script> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 11:49, 14 October 2018