Line 98: | Line 98: | ||
<script src="https://2018.igem.org/Team:UPF_CRG_Barcelona/scripts?action=raw&ctype=text/javascript" charset="utf-8" type="text/javascript"></script> | <script src="https://2018.igem.org/Team:UPF_CRG_Barcelona/scripts?action=raw&ctype=text/javascript" charset="utf-8" type="text/javascript"></script> | ||
− | <script> | + | <script> |
// Initialize Swiper | // Initialize Swiper | ||
− | var swiper = new Swiper('. | + | var swiper = new Swiper('.swiper1', { |
− | slidesPerView: | + | slidesPerView: 2, |
slidesPerGroup: 1, | slidesPerGroup: 1, | ||
loop: true, | loop: true, | ||
Line 107: | Line 107: | ||
observer: true, | observer: true, | ||
watchOverflow: true, | watchOverflow: true, | ||
+ | freeModeSticky: true, | ||
navigation: { | navigation: { | ||
− | nextEl: '.swiper-button- | + | nextEl: '.swiper-button-next1', |
− | prevEl: '.swiper-button- | + | prevEl: '.swiper-button-prev1', |
}, | }, | ||
keyboard: { | keyboard: { | ||
Line 123: | Line 124: | ||
observeParents: true, | observeParents: true, | ||
breakpoints: { | breakpoints: { | ||
− | |||
− | |||
− | |||
320: { | 320: { | ||
slidesPerView: 1, | slidesPerView: 1, | ||
} | } | ||
}, | }, | ||
+ | }); | ||
+ | |||
+ | var swiper = new Swiper('.swiper2', { | ||
+ | slidesPerView: 1, | ||
+ | slidesPerGroup: 1, | ||
+ | loop: true, | ||
+ | observer: true, | ||
+ | watchOverflow: true, | ||
+ | pagination: { | ||
+ | el: '.swiper-pagination', | ||
+ | }, | ||
+ | paginationClickable: true, | ||
+ | preventClicks: true, | ||
+ | centeredSlides: true, | ||
+ | autoplay: { | ||
+ | delay: 3000, // ms | ||
+ | disableOnInteraction: false, | ||
+ | }, | ||
+ | observeParents: true, | ||
+ | iOSEdgeSwipeDetection: true, | ||
+ | mousewheel: { | ||
+ | forceToAxis: true, | ||
+ | } | ||
}); | }); | ||
</script> | </script> | ||
</body> | </body> | ||
+ | |||
</html> | </html> |
Revision as of 16:07, 17 October 2018
In the UPF-CRG Barcelona iGEM team, we have been working really hard in the laboratory among spring, summer and autumn. As a result, here we deliver the protocols that have been followed, the lab notebooks keeping track of the whole process, and the techniques used for the measurement of our results