jquery bootstrap multple插件$support.transition“;冲突“;
我对bootstrap、jquery和客户端都很陌生。我已经在我的网站上使用modals插件了。每一个都很好…直到我尝试使用旋转木马插件也 $support.transition在modals.js代码中被设置为truejquery bootstrap multple插件$support.transition“;冲突“;,jquery,plugins,twitter-bootstrap,carousel,Jquery,Plugins,Twitter Bootstrap,Carousel,我对bootstrap、jquery和客户端都很陌生。我已经在我的网站上使用modals插件了。每一个都很好…直到我尝试使用旋转木马插件也 $support.transition在modals.js代码中被设置为true $(document).ready(function () { $.support.transition = (function () { var thisBody = document.body || document.documentElement
$(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
})()
在这个文件中,我注意到有弹出窗口和其他功能的代码(但不是旋转木马)。我从网站下载了这个js文件。您是否应该删除其他不需要的功能?如果我有来自同一个公司的多个插件,那么上面的代码应该驻留在哪里?您可以使用此文件在我为所有引导文件更新到版本2后,问题就消失了。您的链接现在已断开(只需选择不同的版本,例如,如果我使用的是BS3.3.0怎么办?@SergeVelikanov试试这个版本