Line 292: | Line 292: | ||
<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> | ||
− | |||
<script src="https://2018.igem.org/Template:BIT-China/js/copy-tendina?action=raw&ctype=text/javascript"></script> | <script src="https://2018.igem.org/Template:BIT-China/js/copy-tendina?action=raw&ctype=text/javascript"></script> | ||
<script> | <script> | ||
$('#left-nav').tendina({ | $('#left-nav').tendina({ | ||
animate: true, | animate: true, | ||
− | speed: 400, | + | speed: 400, |
}) | }) | ||
</script> | </script> | ||
− | |||
<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 left_nav = document.getElementById('left-nav'); | var left_nav = document.getElementById('left-nav'); | ||
− | |||
− | |||
− | |||
− | |||
</script> | </script> | ||
<script> | <script> | ||
$(document).ready(function () { | $(document).ready(function () { | ||
$('#team-content').fullpage({ | $('#team-content').fullpage({ | ||
− | 'navigation': true, | + | 'navigation': true, |
− | 'anchors': [], | + | 'anchors': [], |
− | 'afterRender': function () { | + | 'afterRender': function () { |
left_nav.classList.add('nope'); | 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'); | left_nav.classList.add('nope'); | ||
− | |||
} | } | ||
− | |||
if (index == 1) { | if (index == 1) { | ||
left_nav.classList.remove('nope'); | left_nav.classList.remove('nope'); | ||
− | |||
} | } | ||
− | |||
− | |||
}, | }, | ||
− | 'afterLoad': function (anchorLink, index) { | + | 'afterLoad': function (anchorLink, index) { |
}, | }, | ||
'slidesNavigation': true, | 'slidesNavigation': true, | ||
'controlArrows': false, | 'controlArrows': false, | ||
'scrollingSpeed': 700, | 'scrollingSpeed': 700, | ||
− | 'onSlideLeave': function (anchorLink, index, slideIndex, direction, nextSlideIndex) { | + | 'onSlideLeave': function (anchorLink, index, slideIndex, direction, nextSlideIndex) { |
if (index == 2 && nextSlideIndex == 1) { | if (index == 2 && nextSlideIndex == 1) { | ||
} | } | ||
}, | }, | ||
− | 'afterSlideLoad': function (anchorLink, index, slideAnchor, slideIndex) { | + | 'afterSlideLoad': function (anchorLink, index, slideAnchor, slideIndex) { |
− | if (index == 2) { | + | if (index == 2) { |
} | } | ||
Line 348: | Line 337: | ||
}); | }); | ||
</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 12:05, 14 October 2018