Create a gist now

Instantly share code, notes, and snippets.

Embed
Bootstrap Carousel, with jQuery fallback for Internet Explorer (To have sliding images)
@anupkumarmaharjan

This comment has been minimized.

Show comment
Hide comment
@anupkumarmaharjan

anupkumarmaharjan Jan 13, 2014

Thank you mate...

Thank you mate...

@neemzy

This comment has been minimized.

Show comment
Hide comment
@neemzy

neemzy Jan 14, 2014

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

neemzy commented Jan 14, 2014

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

@arvindr21

This comment has been minimized.

Show comment
Hide comment
@arvindr21

arvindr21 Jan 30, 2014

Great Job! Thanks for the Shim!

Great Job! Thanks for the Shim!

@tak1n

This comment has been minimized.

Show comment
Hide comment
@tak1n

tak1n May 14, 2014

Awesome! Thanks :)

tak1n commented May 14, 2014

Awesome! Thanks :)

@Velathora

This comment has been minimized.

Show comment
Hide comment
@Velathora

Velathora Jul 18, 2014

Great fallback. Thanks!

Great fallback. Thanks!

@dojo8888

This comment has been minimized.

Show comment
Hide comment
@dojo8888

dojo8888 Oct 22, 2014

thank you so much!!

thank you so much!!

@Ginmau

This comment has been minimized.

Show comment
Hide comment
@Ginmau

Ginmau Nov 14, 2014

This is perfect. Thank you so much!

Ginmau commented Nov 14, 2014

This is perfect. Thank you so much!

@vikaskhunteta

This comment has been minimized.

Show comment
Hide comment
@vikaskhunteta

vikaskhunteta Jan 11, 2015

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

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

@lauraluca

This comment has been minimized.

Show comment
Hide comment
@lauraluca

lauraluca Feb 6, 2015

awesome! thanks!

awesome! thanks!

@MohammadHeydari

This comment has been minimized.

Show comment
Hide comment
@MohammadHeydari

MohammadHeydari May 5, 2015

thanks for that

thanks for that

@himeshvats19

This comment has been minimized.

Show comment
Hide comment
@himeshvats19

himeshvats19 May 8, 2015

Works great. Thanks !! :)

Works great. Thanks !! :)

@pjpurnima

This comment has been minimized.

Show comment
Hide comment
@pjpurnima

pjpurnima May 12, 2015

Solved my problem for IE 9.

Solved my problem for IE 9.

@visitmehere

This comment has been minimized.

Show comment
Hide comment
@visitmehere

visitmehere May 18, 2015

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

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

@Remownz

This comment has been minimized.

Show comment
Hide comment

Remownz commented May 20, 2015

@visitmehere: watch my fork

@arbylyra

This comment has been minimized.

Show comment
Hide comment
@arbylyra

arbylyra Jun 1, 2015

Works great! Thanks!

arbylyra commented Jun 1, 2015

Works great! Thanks!

@deveshk

This comment has been minimized.

Show comment
Hide comment
@deveshk

deveshk Jul 17, 2015

awesoom !!! thanks!!

deveshk commented Jul 17, 2015

awesoom !!! thanks!!

@bipinshubham

This comment has been minimized.

Show comment
Hide comment
@bipinshubham

bipinshubham Aug 17, 2015

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.....

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

This comment has been minimized.

Show comment
Hide comment
@barryvdh

barryvdh Aug 17, 2015

Just minify your own js.

Owner

barryvdh commented Aug 17, 2015

Just minify your own js.

@hiteshchorada

This comment has been minimized.

Show comment
Hide comment
@hiteshchorada

hiteshchorada Sep 11, 2015

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

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

This comment has been minimized.

Show comment
Hide comment
@mahendura

mahendura Mar 28, 2016

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 ?

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

This comment has been minimized.

Show comment
Hide comment
@saif-saifur

saif-saifur Oct 25, 2016

Thanks for your awesome suggestion!!!

Thanks for your awesome suggestion!!!

@jagustin090894

This comment has been minimized.

Show comment
Hide comment
@jagustin090894

jagustin090894 Feb 16, 2017

Hi,

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

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