|
|
Line 151: |
Line 151: |
| | | |
| <div id="fullpage"> | | <div id="fullpage"> |
− | <div class="section" id="section0">
| + | <div class="section " id="section0"> |
− | <center><a href="#secondPage" data-menuanchor="secondPage" class="scroll-down">
| + | <div class="slide"> |
| + | <center><a href="#secondPage" data-menuanchor="secondPage" class="scroll-down"> |
| <img src="https://static.igem.org/mediawiki/2018/e/e1/T--CCU_Taiwan--CCUdown_button.png" width="65" hieght="60"> | | <img src="https://static.igem.org/mediawiki/2018/e/e1/T--CCU_Taiwan--CCUdown_button.png" width="65" hieght="60"> |
| </a></center> | | </a></center> |
− | | + | <video id="homelogo" loop muted data-autoplay> |
− | <video id="homelogo" loop muted data-autoplay>
| + | |
| <source src="https://static.igem.org/mediawiki/2018/0/00/T--CCU_Taiwan--CCUfinallogo.mp4" type="video/mp4"> | | <source src="https://static.igem.org/mediawiki/2018/0/00/T--CCU_Taiwan--CCUfinallogo.mp4" type="video/mp4"> |
| <source src="https://static.igem.org/mediawiki/2018/4/46/T--CCU_Taiwan--CCUfinallogo.webm" type="video/webm"> | | <source src="https://static.igem.org/mediawiki/2018/4/46/T--CCU_Taiwan--CCUfinallogo.webm" type="video/webm"> |
| </video> | | </video> |
− | </div>
| + | </div> |
− | <div class="section fp-auto-height" id="section1">
| + | </div> |
− |
| + | </div> |
− | <img src="https://static.igem.org/mediawiki/2018/4/40/T--CCU_Taiwan--CCUNewAbstract1.jpg" width="100%" hieght="auto">
| + | |
− | </div>
| + | |
| | | |
− | <div class="section fp-auto-height" id="section2">
| |
− |
| |
− | <img src="https://static.igem.org/mediawiki/2018/d/d7/T--CCU_Taiwan--CCUNewAbstract3.jpg" width="100%" hieght="auto">
| |
− | </div>
| |
| | | |
− | <div class="section fp-auto-height" id="section3">
| + | <div class="wrap"> |
− |
| + | |
− | <img src="https://static.igem.org/mediawiki/2018/5/5a/T--CCU_Taiwan--CCUNewAbstract2.jpg" width="100%" hieght="auto">
| + | |
− | </div>
| + | |
− | | + | |
− | <div class="section fp-auto-height" id="section4">
| + | |
− |
| + | |
− | <img src="https://static.igem.org/mediawiki/2018/f/f2/T--CCU_Taiwan--CCUNewAbstract4.jpg" width="100%" hieght="auto">
| + | |
− | </div>
| + | |
− | | + | |
− | <div class="section fp-auto-height" id="section5">
| + | |
− |
| + | |
− | <img src="https://static.igem.org/mediawiki/2018/7/79/T--CCU_Taiwan--CCUNewAbstract5.jpg" width="100%" hieght="auto">
| + | |
− | </div>
| + | |
− | | + | |
− | <div class="section fp-auto-height" id="section6">
| + | |
− |
| + | |
− | <img src="https://static.igem.org/mediawiki/2018/c/c2/T--CCU_Taiwan--CCUNewAbstract6.jpg" width="100%" hieght="auto">
| + | |
− | </div>
| + | |
| | | |
| </div> | | </div> |
| | | |
− | <ul id="pagination">
| |
− | <li><a href="#section0" class="active"><span></span></a></li>
| |
− | <li><a href="#section1" class=""><span></span></a></li>
| |
− | <li><a href="#section2" class=""><span></span></a></li>
| |
− | <li><a href="#section3" class=""><span></span></a></li>
| |
− | <li><a href="#section4" class=""><span></span></a></li>
| |
− | <li><a href="#section5" class=""><span></span></a></li>
| |
− | <li><a href="#section6" class=""><span></span></a></li>
| |
− | </ul>
| |
| | | |
| | | |
Line 218: |
Line 185: |
| } | | } |
| | | |
− | pagination();
| |
− |
| |
− | $(document).on('scroll', pagination);
| |
− |
| |
− | $(document).on('click', 'a[href^="#"]', function(e) {
| |
− | e.preventDefault();
| |
− | $('html, body').animate({
| |
− | scrollTop: $($.attr(this, 'href')).offset().top
| |
− | }, 500);
| |
− | });
| |
| | | |
| </script> | | </script> |