Team:ETH Zurich
From 2013.igem.org
(Difference between revisions)
Line 91: | Line 91: | ||
</div> | </div> | ||
</div> | </div> | ||
- | |||
<script type="text/javascript"> | <script type="text/javascript"> | ||
(function($) { | (function($) { | ||
Line 155: | Line 154: | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
- | |||
sliderText = $('#bxsliderText').bxSlider({'mode': 'fade', 'controls': false, 'pager': false, 'auto': false, "responsive": false, 'touch': false}); | sliderText = $('#bxsliderText').bxSlider({'mode': 'fade', 'controls': false, 'pager': false, 'auto': false, "responsive": false, 'touch': false}); | ||
slider = $('#bxslider').bxSlider({onSlideAfter: function(slideElement, oldIndex, newIndex){sliderText.goToSlide(newIndex);}, onSlideBefore: function(slideElement, oldIndex, newIndex){sliderText.goToSlide(newIndex);}}); | slider = $('#bxslider').bxSlider({onSlideAfter: function(slideElement, oldIndex, newIndex){sliderText.goToSlide(newIndex);}, onSlideBefore: function(slideElement, oldIndex, newIndex){sliderText.goToSlide(newIndex);}}); | ||
Line 183: | Line 181: | ||
resize(true); | resize(true); | ||
}); | }); | ||
- | |||
</script> | </script> | ||
</html> | </html> | ||
<br clear="all" /> | <br clear="all" /> | ||
{{:Team:ETH_Zurich/templates/footer}} | {{:Team:ETH_Zurich/templates/footer}} |
Revision as of 14:03, 3 October 2013