Hello my good old Bootstrap 2.x carousel!

Just in case you wonder why I did this. I had a requirement to create a carousel with multiple tiles text only. Although I am using Angular, I was not able to use angular ui because the site is using Bootstrap 2.1 and the angular carousel did not want to play nice with it.

I did some research and the other solutions had a bunch of JQuery manipulating the DOM, but I need it something static so I could add the data with Angular. So I went thru the pain of designing a simple clean carousel that would do the job.

For this sample is a static carousel, on another post I may include the one with Angular

you can copy the code bellow, or go to my plunker and play with it

http://plnkr.co/edit/oZ28og

Hope you enjoy,
Sebastian

//cdnjs.cloudflare.com/ajax/libs/jquery/1.8.3/jquery.js https://maxcdn.bootstrapcdn.com/bootstrap/2.2.1/js/bootstrap.min.js //cdnjs.cloudflare.com/ajax/libs/jquery/1.8.3/jquery.js http://script.js

Leave a Reply

Your email address will not be published. Required fields are marked *