Team:ETH Zurich/Templates/Test3
From 2013.igem.org
(Difference between revisions)
Line 46: | Line 46: | ||
<div style="display: table-cell; vertical-align: top; width: auto; "> | <div style="display: table-cell; vertical-align: top; width: auto; "> | ||
<ul class="bxslider" id="bxslider"> | <ul class="bxslider" id="bxslider"> | ||
- | <li></html>{{:Team:ETH Zurich/Templates/Video|width=660px|id=video1|ratio=4/3||srcMP4=<html>https://static.igem.org/mediawiki/2013/7/76/Colisweeperfinal.mp4</html>}}<html> | + | <li><div></html>{{:Team:ETH Zurich/Templates/Video|width=660px|id=video1|ratio=4/3||srcMP4=<html>https://static.igem.org/mediawiki/2013/7/76/Colisweeperfinal.mp4</html>}}<html> |
- | </li> | + | </div></li> |
<li> | <li> | ||
<a href="https://2013.igem.org/Team:ETH_Zurich/Project"><img src="https://static.igem.org/mediawiki/2013/5/5f/Introslide.png" /></a> | <a href="https://2013.igem.org/Team:ETH_Zurich/Project"><img src="https://static.igem.org/mediawiki/2013/5/5f/Introslide.png" /></a> | ||
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({ | + | slider = $('#bxslider').bxSlider({ 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%"}); |
Revision as of 21:10, 3 October 2013