Team:ETH Zurich
From 2013.igem.org
(Difference between revisions)
Line 14: | Line 14: | ||
</style> | </style> | ||
- | <div style="display: table; table-layout: fixed; max-width:1200px; width: 90%; margin: 0 auto; position: relative; height: 100%; min-height: | + | <div style="display: table; table-layout: fixed; max-width:1200px; width: 90%; margin: 0 auto; position: relative; height: 100%; min-height:530;"> |
<div style="display: table-row; height:100%;"> | <div style="display: table-row; height:100%;"> | ||
<div style="display: table-cell; vertical-align: top; width: 350px; height: 100%; padding-bottom: 70px;"> | <div style="display: table-cell; vertical-align: top; width: 350px; height: 100%; padding-bottom: 70px;"> | ||
Line 148: | Line 148: | ||
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({ 'auto': false, 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' : ' | + | $('#bxsliderText').parent().css({"height": "100%", 'min-height' : '530px'}); |
$('#bxsliderText').parent().parent().css({"height": "100%"}); | $('#bxsliderText').parent().parent().css({"height": "100%"}); | ||
$('.bx-viewport #bxslider').bind('mousewheel', function(event, delta, deltaX, deltaY) { | $('.bx-viewport #bxslider').bind('mousewheel', function(event, delta, deltaX, deltaY) { |
Revision as of 19:54, 28 October 2013