Difference between revisions of "Team:Exeter/Protocols"

Line 18: Line 18:
  
  
 +
<style>
  
 +
.containerSlider300 {
 +
width: 350px;
 +
padding-left: 20px;
 +
}
 +
 +
.containerSlider400 {
 +
width: 450px;
 +
padding-left: 20px;
 +
}
 +
 +
.containerSlider500 {
 +
width: 550px;
 +
padding-left: 20px;
 +
}
 +
 +
 +
 +
</style>
  
 
<script>
 
<script>
Line 50: Line 69:
 
});
 
});
  
$(document).ready(function(){$('.sop').hide('fast');});
+
$(document).ready(function(){
 +
 
 +
 
 +
$('.sop').hide('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'
 +
  });
 +
});
  
 
</script>
 
</script>

Revision as of 23:13, 12 September 2015