CodeForge QQ客服 CodeForge 400电话 客服电话 4006316121
首页 » 源代码 » » bootstrap.min.js

bootstrap.min.js ( 文件浏览 )

文件源自:
源码简介:...
  • DevPython12 发布于2018-03-07
  • 浏览次数:0
  • 下载次数:0
  • 下载需 1 积分
  • 侵权举报
			/*!
 * Bootstrap v3.3.2 (http://getbootstrap.com)
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */
if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){
"use strict";var b=a.fn.jquery.split(" ")[0].split(".");if(b[0]<2&&b[1]<9||1==b[0]&&9==b[1]&&b[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")
}(jQuery),+function(a){
"use strict";function b(){
var a=document.createElement("bootstrap"),b={
WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"
};for(var c in b)if(void 0!==a.style[c])return{
end:b[c]
};return!1
}a.fn.emulateTransitionEnd=function(b){
var c=!1,d=this;a(this).one("bsTransitionEnd",function(){
c=!0
});var e=function(){
c||a(d).trigger(a.support.transition.end)
};return setTimeout(e,b),this
},a(function(){
a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={
bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){
return a(b.target).is(this)?b.handleObj.handler.apply(this,arguments):void 0
}
})
})
}(jQuery),+function(a){
"use strict";function b(b){
return this.each(function(){
var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)
})
}var c='[data-dismiss="alert"]',d=function(b){
a(b).on("click",c,this.close)
};d.VERSION="3.3.2",d.TRANSITION_DURATION=150,d.prototype.close=function(b){
function c(){
g.detach().trigger("closed.bs.alert").remove()
}var e=a(this),f=e.attr("data-target");f||(f=e.attr("href"),f=f&&f.replace(/.*(?=#[^\s]*$)/,""));var g=a(f);b&&b.preventDefault(),g.length||(g=e.closest(".alert")),g.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(g.removeClass("in"),a.support.transition&&g.hasClass("fade")?g.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c())
};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){
return a.fn.alert=e,this
},a(document).on("click.bs.alert.data-api",c,d.prototype.close)
}(jQuery),+function(a){
"use strict";function b(b){
return this.each(function(){
var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)
})
}var c=function(b,d){
this.$element=a(b),this.options=a.extend({

},c.DEFAULTS,d),this.isLoading=!1
};c.VERSION="3.3.2",c.DEFAULTS={
loadingText:"loading..."
},c.prototype.setState=function(b){
var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),setTimeout(a.proxy(function(){
d[e](null==f[b]?this.options[b]:f[b]),"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c))
},this),0)
},c.prototype.toggle=function(){
var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){
var c=this.$element.find("input");"radio"==c.prop("type")&&(c.prop("checked")&&this.$element.hasClass("active")?a=!1:b.find(".active").removeClass("active")),a&&c.prop("checked",!this.$element.hasClass("active")).trigger("change")
}else this.$element.attr("aria-pressed",!this.$element.hasClass("active"));a&&this.$element.toggleClass("active")
};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){
return a.fn.button=d,this
},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){
var d=a(c.target);d.hasClass("btn")||(d=d.closest(".btn")),b.call(d,"toggle"),c.preventDefault()
}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(b){
a(b.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(b.type))
})
}(jQuery),+function(a){
"use strict";function b(b){
return this.each(function(){
var d=a(this),e=d.data("bs.carousel"),f=a.extend({

},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()
})
}var c=function(b,c){
this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",a.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))
};c.VERSION="3.3.2",c.TRANSITION_DURATION=600,c.DEFAULTS={
interval:5e3,pause:"hover",wrap:!0,keyboard:!0
},c.prototype.keydown=function(a){
if(!/input|textarea/i.test(a.target.tagName)){
switch(a.which){
case 37:this.prev();break;case 39:this.next();break;default:return
}a.preventDefault()
}
},c.prototype.cycle=function(b){
return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this
},c.prototype.getItemIndex=function(a){
return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)
},c.prototype.getItemForDirection=function(a,b){
var c=this.getItemIndex(b),d="prev"==a&&0===c||"next"==a&&c==this.$items.length-1;if(d&&!this.options.wrap)return b;var e="prev"==a?-1:1,f=(c+e)%this.$items.length;return this.$items.eq(f)
},c.prototype.to=function(a){
var b=this,c=this.getItemIndex(this.$active=this.$element.find(".item.active"));return a>this.$items.length-1||0>a?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){
b.to(a)
}):c==a?this.pause().cycle():this.slide(a>c?"next":"prev",this.$items.eq(a))
},c.prototype.pause=function(b){
return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this
},c.prototype.next=function(){
return this.sliding?void 0:this.slide("next")
},c.prototype.prev=function(){
return this.sliding?void 0:this.slide("prev")
},c.prototype.slide=function(b,d){
var e=this.$element.find(".item.active"),f=d||this.getItemForDirection(b,e),g=this.interval,h="next"==b?"left":"right",i=this;if(f.hasClass("active"))return this.sliding=!1;var j=f[0],k=a.Event("slide.bs.carousel",{
relatedTarget:j,direction:h
});if(this.$element.trigger(k),!k.isDefaultPrevented()){
if(this.sliding=!0,g&&this.pause(),this.$indicators.length){
this.$indicators.find(".active").removeClass("active");var l=a(this.$indicators.children()[this.getItemIndex(f)]);l&&l.addClass("active")
}var m=a.Event("slid.bs.carousel",{
relatedTarget:j,direction:h
});return a.support.transition&&this.$element.hasClass("slide")?(f.addClass(b),f[0].offsetWidth,e.addClass(h),f.addClass(h),e.one("bsTransitionEnd",function(){
f.removeClass([b,h].join(" ")).addClass("active"),e.removeClass(["active",h].join(" ")),i.sliding=!1,setTimeout(function(){
i.$element.trigger(m)
},0)
}).emulateTransitionEnd(c.TRANSITION_DURATION)):(e.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trigger(m)),g&&this.cycle(),this
}
};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){
return a.fn.carousel=d,this
};var e=function(c){
var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){
var g=a.extend({

},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()
}
};a(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),a(window).on("load",function(){
a('[data-ride="carousel"]').each(function(){
var c=a(this);b.call(c,c.data())
})
})
}(jQuery),+function(a){
"use strict";function b(b){
var c,d=b.attr("data-target")||(c=b.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"");return a(d)
}function c(b){
return this.each(function(){
var c=a(this),e=c.data("bs.collapse"),f=a.extend({

},d.DEFAULTS,c.data(),"object"==typeof b&&b);!e&&f.toggle&&"show"==b&&(f.toggle=!1),e||c.data("bs.collapse",e=new d(this,f)),"string"==typeof b&&e[b]()
})
}var d=function(b,c){
this.$element=a(b),this.options=a.extend({

},d.DEFAULTS,c),this.$trigger=a(this.options.trigger).filter('[href="#'+b.id+'"], [data-target="#'+b.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()
};d.VERSION="3.3.2",d.TRANSITION_DURATION=350,d.DEFAULTS={
toggle:!0,trigger:'[data-toggle="collapse"]'
},d.prototype.dimension=function(){
var a=this.$element.hasClass("width");return a?"width":"height"
},d.prototype.show=function(){
if(!this.transitioning&&!this.$element.hasClass("in")){
var b,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(b=e.data("bs.collapse"),b&&b.transitioning))){
var f=a.Event("show.bs.collapse");if(this.$element.trigger(f),!f.isDefaultPrevented()){
e&&e.length&&(c.call(e,"hide"),b||e.data("bs.collapse",null));var g=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[g](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var h=function(){
this.$element.removeClass("collapsing").addClass("collapse in")[g](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")
};if(!a.support.transition)return h.call(this);var i=a.camelCase(["scroll",g].join("-"));this.$element.one("bsTransitionEnd",a.proxy(h,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i])
}
}
}
},d.prototype.hide=function(){
if(!this.transitioning&&this.$element.hasClass("in")){
var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){
var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var e=function(){
this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse"
...
...
(文件超长,未完全显示,请下载后阅读剩余部分)
			
...
展开> <收缩

下载源码到电脑,阅读使用更方便

1 积分

快速下载
还剩0行未阅读,继续阅读
Ʋ

源码文件列表

温馨提示: 点击源码文件名可预览文件内容哦 ^_^
...
名称 大小 修改日期
CraftVGames.iml281.00 B11-09-17 21:51
modules.xml274.00 B11-09-17 21:51
workspace.xml12.77 kB11-09-17 21:56
bootstrap-theme.css22.08 kB19-01-15 09:03
bootstrap-theme.css.map42.32 kB19-01-15 08:32
bootstrap-theme.min.css19.50 kB19-01-15 09:03
bootstrap.css138.10 kB19-01-15 09:03
bootstrap.css.map370.81 kB19-01-15 08:32
bootstrap.min.css114.40 kB19-01-15 09:03
sticky-footer-navbar.css693.00 B14-08-17 21:30
style.css63.00 B11-02-15 09:16
glyphicons-halflings-regular.eot19.66 kB18-01-15 13:38
glyphicons-halflings-regular.svg106.19 kB18-01-15 13:38
glyphicons-halflings-regular.ttf44.34 kB18-01-15 13:38
glyphicons-halflings-regular.woff22.88 kB18-01-15 13:38
glyphicons-halflings-regular.woff217.61 kB18-01-15 13:38
jquery-1.12.4.js297.30 kB26-07-17 23:28
jquery-3.2.1.min.js84.63 kB22-06-17 23:47
bootstrap.js65.17 kB19-01-15 09:03
bootstrap.min.js34.62 kB19-01-15 09:03
ini.js151.00 B11-02-15 08:46
Thumbs.db20.00 kB06-08-17 14:52
ui-bg_diagonals-thick_18_b81900_40x40.png418.00 B11-02-15 05:40
ui-bg_diagonals-thick_20_666666_40x40.png312.00 B11-02-15 05:40
ui-bg_flat_10_000000_40x100.png205.00 B11-02-15 05:40
ui-bg_glass_100_f6f6f6_1x400.png262.00 B11-02-15 05:40
ui-bg_glass_100_fdf5ce_1x400.png348.00 B11-02-15 05:40
ui-bg_glass_65_ffffff_1x400.png207.00 B11-02-15 05:40
ui-bg_gloss-wave_35_f6a828_500x100.png5.68 kB11-02-15 05:40
ui-bg_highlight-soft_100_eeeeee_1x100.png278.00 B11-02-15 05:40
ui-bg_highlight-soft_75_ffe45c_1x100.png328.00 B11-02-15 05:40
ui-icons_222222_256x240.png6.76 kB11-02-15 05:40
ui-icons_228ef1_256x240.png4.44 kB11-02-15 05:40
ui-icons_ef8c08_256x240.png4.44 kB11-02-15 05:40
ui-icons_ffd27a_256x240.png4.44 kB11-02-15 05:40
ui-icons_ffffff_256x240.png6.15 kB11-02-15 05:40
index.html30.97 kB11-02-15 05:40
jquery-ui.css34.52 kB11-02-15 05:40
jquery-ui.js458.36 kB11-02-15 05:40
jquery-ui.min.css29.46 kB11-02-15 05:40
jquery-ui.min.js233.95 kB11-02-15 05:40
jquery-ui.structure.css17.60 kB11-02-15 05:40
jquery-ui.structure.min.css14.42 kB11-02-15 05:40
jquery-ui.theme.css17.01 kB11-02-15 05:40
jquery-ui.theme.min.css13.54 kB11-02-15 05:40
jquery.anexsoft-validator.js11.27 kB11-02-15 09:00
npm.js484.00 B19-01-15 08:32
bd_clase.php233.00 B07-08-17 22:08
companias_controlador.php1.56 kB15-08-17 01:27
generos_controlador.php1.27 kB15-08-17 02:19
modos_juegos_controlador.php1.39 kB15-08-17 10:05
modos_perspectiva_controlador.php1.45 kB15-08-17 10:18
index.php352.00 B08-08-17 01:08
index_genero.php349.00 B15-08-17 01:56
index_modo_juego.php360.00 B15-08-17 02:26
companias_modelo.php1.76 kB14-08-17 23:54
generos_modelo.php1.44 kB15-08-17 01:28
modos_juegos_modelo.php1.59 kB15-08-17 02:47
modos_perspectiva_modelo.php1.82 kB15-08-17 11:00
companias.php1.47 kB14-08-17 23:18
companias_form.php2.61 kB15-08-17 00:13
footer.php213.00 B14-08-17 21:30
generos.php1.18 kB15-08-17 01:59
generos_form.php1.44 kB15-08-17 11:06
header.php5.75 kB15-08-17 02:32
modos_juego.php1.25 kB15-08-17 02:52
modos_juego_form.php1.48 kB15-08-17 02:34
<images>0.00 B28-02-18 20:27
<jquery-ui>0.00 B28-02-18 20:27
<css>0.00 B28-02-18 20:26
<fonts>0.00 B28-02-18 20:26
<jquery>0.00 B28-02-18 20:26
<js>0.00 B28-02-18 20:26
<companias>0.00 B28-02-18 20:27
<generos>0.00 B28-02-18 20:27
<modos_juego>0.00 B28-02-18 20:27
<.idea>0.00 B28-02-18 20:26
<assets>0.00 B28-02-18 20:26
<bd>0.00 B28-02-18 20:27
<controllers>0.00 B28-02-18 20:27
<libs>0.00 B06-08-17 15:44
<models>0.00 B28-02-18 20:27
<uploads>0.00 B06-08-17 15:44
<views>0.00 B28-02-18 20:27
<CraftVGames>0.00 B28-02-18 20:27
Ʋ

bootstrap.min.js (588.44 kB)

需要 1 积分
您持有 积分

CodeForge积分(原CF币)全新升级,功能更强大,使用更便捷,不仅可以用来下载海量源代码马上还可兑换精美小礼品了 了解更多

您的积分不足

支付宝优惠套餐快速获取 30 积分

订单支付完成后,积分将自动加入到您的账号。以下是优惠期的人民币价格,优惠期过后将恢复美元价格。

更多付款方式:网银PayPal

上传代码,免费获取

您本次下载所消耗的积分将转交上传作者。

同一源码,30天内重复下载,只扣除一次积分。

登录 CodeForge

还没有CodeForge账号? 立即注册
关注微博
联系客服

Switch to the English version?

Yes
CodeForge 英文版
No
CodeForge 中文版

完善个人资料,获价值¥30元积分奖励!

^_^"呃 ...

Sorry!这位大神很神秘,未开通博客呢,请浏览一下其他的吧
好的