Skip to content

Instantly share code, notes, and snippets.

@barryvdh
Last active March 21, 2024 01:10
Show Gist options
  • Save barryvdh/6155151 to your computer and use it in GitHub Desktop.
Save barryvdh/6155151 to your computer and use it in GitHub Desktop.
Bootstrap Carousel, with jQuery fallback for Internet Explorer (To have sliding images)
@anupkumarmaharjan
Copy link

Thank you mate...

@neemzy
Copy link

neemzy commented Jan 14, 2014

Works like a charm ! It's a shame the PR was denied. Thank you !

@arvindr21
Copy link

Great Job! Thanks for the Shim!

@tak1n
Copy link

tak1n commented May 14, 2014

Awesome! Thanks :)

@Naidonia
Copy link

Great fallback. Thanks!

@dojo8888
Copy link

thank you so much!!

@HugoFroes
Copy link

This is perfect. Thank you so much!

@vikaskhunteta
Copy link

Works great with latest bootstrap v3.3.1 too, solved my problem for IE 8, 9. Thanks a lot

@lauraluca
Copy link

awesome! thanks!

@MohammadHeydari
Copy link

thanks for that

@himeshvats19
Copy link

Works great. Thanks !! :)

@pjpurnima
Copy link

Solved my problem for IE 9.

@visitmehere
Copy link

Hi, great work. Working fine in IE 9.is there a similar fix for Carousel 3.3.4 ?

@Remownz
Copy link

Remownz commented May 20, 2015

@visitmehere: watch my fork

@arbylyra
Copy link

arbylyra commented Jun 1, 2015

Works great! Thanks!

@deveshk
Copy link

deveshk commented Jul 17, 2015

awesoom !!! thanks!!

@bipinshubham
Copy link

but How to use this with bootstrap.min.js If i am including both of them then it's not working but if am using only this js then it's working fine but other effect of bootstrap.min.js is gone now.. Can I use both of them together.....

@barryvdh
Copy link
Author

Just minify your own js.

@hiteshchorada
Copy link

Hello,
I put carousel.js in my HTML but still slider didn't work in my html.

<script src="js/jquery.min.js" type="text/javascript"></script> <script src="js/bootstrap.min.js" type="text/javascript"></script> <script src="js/bootstrap-select.js" type="text/javascript"></script> <script src="js/carousel.js" type="text/javascript"></script>

Thanks

@mahendura
Copy link

Hi,
Thanks for your code.
Slide is working, but I have error in console google chrome. Line 215.
"Uncaught TypeError: Cannot read property 'to' of null"

It is ok ?

@saif-saifur
Copy link

Thanks for your awesome suggestion!!!

Copy link

ghost commented Feb 16, 2017

Hi,

I'm using the latest version of bootstrap v3.3.7 and it doesn't work on me. Please help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment