Created
March 6, 2014 01:09
-
-
Save joseadanof/9380253 to your computer and use it in GitHub Desktop.
Autoplay Bootstrap Carousel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Put this lines before </body> tag. | |
<script src="js/jquery.min.js"></script> | |
<script src="js/bootstrap.js"></script> | |
<script type="text/javascript"> | |
var $ = jQuery.noConflict(); | |
$(document).ready(function() { | |
$('#myCarousel').carousel({ interval: 3000, cycle: true }); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment