Team:ETH Zurich/Templates/Test3
From 2013.igem.org
(Difference between revisions)
Line 154: | 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({ 'auto': false, onSlideAfter: function(slideElement, oldIndex, newIndex){sliderText.goToSlide(newIndex);}, onSlideBefore: function(slideElement, oldIndex, newIndex){sliderText.goToSlide(newIndex);}}); |
$('#bxsliderText').parent().css({"height": "100%", 'min-height' : '430px'}); | $('#bxsliderText').parent().css({"height": "100%", 'min-height' : '430px'}); | ||
$('#bxsliderText').parent().parent().css({"height": "100%"}); | $('#bxsliderText').parent().parent().css({"height": "100%"}); |
Latest revision as of 21:30, 3 October 2013