http://codepen.io/ethan1341/pen/BKrogw
I need to have not have a slider class on my bootstrap carousel because I am running my app from a TV with basically no processor(can't have the transition). My problem is if I don't have slide as the carousel class the pause event which is inside the slid event will not work EVEN THOUGH THE EVENT FIRES. However if I add the class slide the carousel will pause(inside of the slid event). It confuses me because the event fires when the slider has the slide class or doesn't(it does not pause when it doesn't). Sorry if my explanation isn't clear English is not my primary language. My code pen will make it more clear. I tried leaving slide and taking out all the animations but it does not render properly
Hi @ethan1341!
You appear to have posted a live example (http://codepen.io/ethan1341/pen/BKrogw.html), which is always a good first step. However, according to the HTML5 validator, your example has some validation errors, which might potentially be causing your issue:
head.charset not allowed on element meta at this point.meta is missing one or more of the following attributes: content, itemprop, property.title not allowed as child of element body in this context. (Suppressing further errors from this subtree.)link is missing required attribute property.link is missing required attribute property.head.body seen but an element of the same type was already open.body.You'll need to fix these errors and post a revised example before we can proceed further.
Thanks!
(_Please note that this is a fully automated comment._)
@ethan1341 You're using Bootstrap v3.0.3, which is outdated. Please upgrade to v3.3.6.
https://jsfiddle.net/ethan1341/1ko0ngu7/3/ sorry I posted this realized my format wasn't correct working on it now this is the the example with correct libraries
Hi @ethan1341!
You appear to have posted a live example (https://fiddle.jshell.net/ethan1341/1ko0ngu7/1/show/light/), which is always a good first step. However, according to the HTML5 validator, your example has some validation errors, which might potentially be causing your issue:
title not allowed as child of element body in this context. (Suppressing further errors from this subtree.)body seen but an element of the same type was already open.body.You'll need to fix these errors and post a revised example before we can proceed further.
Thanks!
(_Please note that this is a fully automated comment._)
If you set:
$('#myCarousel').on('slid.bs.carousel', function() {
setTimeout(function(){$('#myCarousel').carousel('pause');}, 1)
});
It will work. See https://jsfiddle.net/zt7xhutj/. (BTW, I fixed lmvtfy errors)
I can't tell you why it works, but it does.
I'm not sure that this is intended behavior though.
Hi @RyanZim!
You appear to have posted a live example (https://fiddle.jshell.net/ma0hktho/show/light/), which is always a good first step. However, according to the HTML5 validator, your example has some validation errors, which might potentially be causing your issue:
<body>...</body> tags, so you cannot include your own <body> tag in your JSFiddle.body seen but an element of the same type was already open.body had been closed.You'll need to fix these errors and post a revised example before we can proceed further.
Thanks!
(_Please note that this is a fully automated comment._)
Could @cvrebert or @patrickhlauke please remove the awaiting reply label?
Bootstrap 3 is no longer being officially developed or supported.
All work has moved onto our next major release, v4. As such, this issue or pull request is being closed as a "won't fix." For additional help and support, we recommend utilizing our community resources. Thanks for your understanding, and see you on the other side of v4!
<3,
@mdo and team
Most helpful comment
If you set:
It will work. See https://jsfiddle.net/zt7xhutj/. (BTW, I fixed lmvtfy errors)
I can't tell you why it works, but it does.
I'm not sure that this is intended behavior though.