I am pretty new to bootstrap, jquery and client side. I am using the modals plugin already in my site. Every is fine…until I am trying to use the carousel plugin also.
$support.transition is being set to true in the modals.js code.
$(document).ready(function () {
$.support.transition = (function () {
var thisBody = document.body || document.documentElement,
thisStyle = thisBody.style,
support = thisStyle.transition !== undefined || thisStyle.WebkitTransition !== undefined || thisStyle.MozTransition !== undefined || thisStyle.MsTransition !== undefined || thisStyle.OTransition !== undefined
return support
})()
Inside this file, I noticed there are code for popups and other features(but not carousel). I downloaded this js file from teh site. Are you supposed to delete other unwanted features? where is the above code supposed to reside if I have mulitple plugins from the same comapny?
You can use this file https://github.com/twitter/bootstrap/blob/master/js/bootstrap-transition.js