Difference between revisions of "Team:Exeter/Protocols"
(Created page with "{{Exeter}} <html> <div class="container"> INSERT YOUR HTML HERE e.g. <h2> Welcome to Exeter iGEM! </h2> <p> Content arriving soon! </p> </div> <!-- /.container --> </html...") |
|||
Line 1: | Line 1: | ||
{{Exeter}} | {{Exeter}} | ||
− | |||
<html> | <html> | ||
− | |||
− | |||
− | e. | + | <script src="https://2015.igem.org/Team:Exeter/ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js?action=raw&ctype=text/javascript"></script> |
+ | |||
+ | <script src="https://2015.igem.org/Team:Exeter/js/jquery.bxslider.min.js?action=raw&ctype=text/javascript"></script> | ||
+ | |||
+ | <link href="https://2015.igem.org/Team:Exeter/lib/jquery.bxslider.css?action=raw&ctype=text/css" rel="stylesheet"> | ||
+ | |||
+ | |||
+ | <script> | ||
+ | |||
+ | //Slider JS | ||
+ | |||
+ | $(document).ready(function(){ | ||
+ | $('.Basic, .Trans, .RNA, .Ribo, .Toehold').show('fast'); | ||
+ | |||
+ | var slider = $('.slider500').bxSlider({ | ||
+ | slideWidth: 500, | ||
+ | minSlides: 1, | ||
+ | maxSlides: 1, | ||
+ | slideMargin: 0, | ||
+ | captions: true, | ||
+ | adaptiveHeight: true, | ||
+ | preloadImages: 'all' | ||
+ | }); | ||
+ | |||
+ | $('.slider300').bxSlider({ | ||
+ | slideWidth: 300, | ||
+ | minSlides: 1, | ||
+ | maxSlides: 1, | ||
+ | slideMargin: 0, | ||
+ | captions: true, | ||
+ | adaptiveHeight: true, | ||
+ | preloadImages: 'all' | ||
+ | }); | ||
+ | |||
+ | $('.slider400').bxSlider({ | ||
+ | slideWidth: 400, | ||
+ | minSlides: 1, | ||
+ | maxSlides: 1, | ||
+ | slideMargin: 0, | ||
+ | captions: true, | ||
+ | adaptiveHeight: true, | ||
+ | preloadImages: 'all' | ||
+ | }); | ||
+ | |||
+ | $('.Loading').hide('slow'); | ||
+ | $('.Trans, .RNA, .Basic, .Toehold').hide('slow'); | ||
+ | }); | ||
+ | |||
+ | $('#reload-slider').click(function(e){ | ||
+ | e.preventDefault(); | ||
+ | $('.bxslider').append('<li><img src="https://static.igem.org/mediawiki/2015/d/df/Communciation.jpg"></li>'); | ||
+ | slider.reloadSlider(); | ||
+ | }); | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | </script> | ||
+ | |||
+ | |||
− | < | + | <!-- This is where my buttons are --> |
− | + | ||
+ | <nav> | ||
+ | <ul class="pager"> | ||
+ | <li class="previous"><a href="https://2015.igem.org/Team:Exeter/Design"><span aria-hidden="true">←</span>Design</a></li> | ||
+ | <li class="next"><a href="https://2015.igem.org/Team:Exeter/diary">Diary<span aria-hidden="true">→</span></a></li> | ||
+ | </ul> | ||
+ | </nav> | ||
− | + | <!-- Buttons stop --> | |
− | </ | + | </div> |
+ | </html> | ||
{{Exeterfooter}} | {{Exeterfooter}} |
Revision as of 00:08, 11 September 2015