Skip to content

Instantly share code, notes, and snippets.

@mpgilbertusa
Created March 11, 2014 04:17
Show Gist options
  • Save mpgilbertusa/9479444 to your computer and use it in GitHub Desktop.
Save mpgilbertusa/9479444 to your computer and use it in GitHub Desktop.
Responsive Starter Kit Pro - Code Sample - Slider setup for the foot
<script src="assets/js/jquery.flexslider-min.js"></script>
<script>
$(document).ready(function() {
// Flexslider responsive carousel - http://flexslider.woothemes.com/
if ($(".flexslider").length > 0) {
$(".flexslider").flexslider({
animation: 'slide',
animationLoop: true,
slideshow: false,
itemWidth: 320,
// itemMargin: 5, // don't use this... it breaks iOS 6
move: 1
});
}
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment