About modals

A streamlined, but flexible, take on the traditional javascript modal plugin with only the minimum required functionality and smart defaults.

Download file

Static example

Below is a statically rendered modal.

Live demo

Toggle a modal via javascript by clicking the button below. It will slide down and fade in from the top of the page.

Launch demo modal

Using bootstrap-modal

Call the modal via javascript:

$('#myModal').modal(options)

Options

Name type default description
backdrop boolean true Includes a modal-backdrop element. Alternatively, specify static for a backdrop which doesn't close the modal on click.
keyboard boolean true Closes the modal when escape key is pressed
show boolean true Shows the modal when initialized.

Markup

You can activate modals on your page easily without having to write a single line of javascript. Just set data-toggle="modal" on a controller element with a data-target="#foo" or href="#foo" which corresponds to a modal element id, and when clicked, it will launch your modal.

Also, to add options to your modal instance, just include them as additional data attributes on either the control element or the modal markup itself.

<a class="btn" data-toggle="modal" href="#myModal" >Launch Modal</a>
<div class="modal hide" id="myModal">
  <div class="modal-header">
    <button type="button" class="close" data-dismiss="modal">×</button>
    <h3>Modal header</h3>
  </div>
  <div class="modal-body">
    <p>One fine body…</p>
  </div>
  <div class="modal-footer">
    <a href="https://xb.4969.com.cn/" class="btn" data-dismiss="modal">Close</a>
    <a href="https://Cbgw.4969.com.cn/" class="btn btn-primary">Save changes</a>
  </div>
</div>
Heads up! If you want your modal to animate in and out, just add a .fade class to the .modal element (refer to the demo to see this in action) and include bootstrap-transition.js.

Methods

.modal(options)

Activates your content as a modal. Accepts an optional options object.

$('#myModal').modal({
  keyboard: false
})

.modal('toggle')

Manually toggles a modal.

$('#myModal').modal('toggle')

.modal('show')

Manually opens a modal.

$('#myModal').modal('show')

.modal('hide')

Manually hides a modal.

$('#myModal').modal('hide')

Events

Bootstrap's modal class exposes a few events for hooking into modal functionality.

Event Description
show This event fires immediately when the show instance method is called.
shown This event is fired when the modal has been made visible to the user (will wait for css transitions to complete).
hide This event is fired immediately when the hide instance method has been called.
hidden This event is fired when the modal has finished being hidden from the user (will wait for css transitions to complete).
$('#myModal').on('hidden', function () {
  // do something…
})


This plugin adds quick, dynamic tab and pill functionality for transitioning through local content.

Download file

Example tabs

Click the tabs below to toggle between hidden panes, even via dropdown menus.

Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.

Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr, vero magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes anderson 8-bit, sustainable jean shorts beard ut DIY ethical culpa terry richardson biodiesel. Art party scenester stumptown, tumblr butcher vero sint qui sapiente accusamus tattooed echo park.


Using bootstrap-tab.js

Enable tabbable tabs via javascript (each tab needs to be activated individually):

$('#myTab a').click(function (e) {
  e.preventDefault();
  $(this).tab('show');
})

You can activate individual tabs in several ways:

$('#myTab a[href="#profile"]').tab('show'); // Select tab by name
$('#myTab a:first').tab('show'); // Select first tab
$('#myTab a:last').tab('show'); // Select last tab
$('#myTab li:eq(2) a').tab('show'); // Select third tab (0-indexed)

Markup

You can activate a tab or pill navigation without writing any javascript by simply specifying data-toggle="tab" or data-toggle="pill" on an element. Adding the nav and nav-tabs classes to the tab ul will apply the bootstrap tab styling.

<ul class="nav nav-tabs">
  <li><a href="#home" data-toggle="tab">Home</a></li>
  <li><a href="#profile" data-toggle="tab">Profile</a></li>
  <li><a href="#messages" data-toggle="tab">Messages</a></li>
  <li><a href="#settings" data-toggle="tab">Settings</a></li>
</ul>

Methods

$().tab

Activates a tab element and content container. Tab should have either a data-target or an href targeting a container node in the DOM.

<ul class="nav nav-tabs" id="myTab">
  <li class="active"><a href="#home">Home</a></li>
  <li><a href="#profile">Profile</a></li>
  <li><a href="#messages">Messages</a></li>
  <li><a href="#settings">Settings</a></li>
</ul>
<div class="tab-content">
  <div class="tab-pane active" id="home">...</div>
  <div class="tab-pane" id="profile">...</div>
  <div class="tab-pane" id="messages">...</div>
  <div class="tab-pane" id="settings">...</div>
</div>
<script>
  $(function () {
    $('#myTab a:last').tab('show');
  })
</script>

Events

Event Description
show This event fires on tab show, but before the new tab has been shown. Use event.target and event.relatedTarget to target the active tab and the previous active tab (if available) respectively.
shown This event fires on tab show after a tab has been shown. Use event.target and event.relatedTarget to target the active tab and the previous active tab (if available) respectively.
$('a[data-toggle="tab"]').on('shown', function (e) {
  e.target // activated tab
  e.relatedTarget // previous tab
})

About Tooltips

Inspired by the excellent jQuery.tipsy plugin written by Jason Frame; Tooltips are an updated version, which don't rely on images, use css3 for animations, and data-attributes for local title storage.

Download file

Example use of Tooltips

Hover over the links below to see tooltips:

Tight pants next level keffiyeh you probably haven't heard of them. Photo booth beard raw denim letterpress vegan messenger bag stumptown. Farm-to-table seitan, mcsweeney's fixie sustainable quinoa 8-bit american apparel have a terry richardson vinyl chambray. Beard stumptown, cardigans banh mi lomo thundercats. Tofu biodiesel williamsburg marfa, four loko mcsweeney's cleanse vegan chambray. A really ironic artisan whatever keytar, scenester farm-to-table banksy Austin twitter handle freegan cred raw denim single-origin coffee viral.


Using bootstrap-tooltip.js

Trigger the tooltip via javascript:

$('#example').tooltip(options)

Options

Name type default description
animation boolean true apply a css fade transition to the tooltip
placement string|function 'top' how to position the tooltip - top | bottom | left | right
selector string false If a selector is provided, tooltip objects will be delegated to the specified targets.
title string | function '' default title value if `title` tag isn't present
trigger string 'hover' how tooltip is triggered - hover | focus | manual
delay number | object 0

delay showing and hiding the tooltip (ms) - does not apply to manual trigger type

If a number is supplied, delay is applied to both hide/show

Object structure is: delay: { show: 500, hide: 100 }

Heads up! Options for individual tooltips can alternatively be specified through the use of data attributes.

Markup

For performance reasons, the Tooltip and Popover data-apis are opt in. If you would like to use them just specify a selector option.

<a href="https://qze9e.4969.com.cn/" rel="tooltip" title="first tooltip">hover over me</a>

Methods

$().tooltip(options)

Attaches a tooltip handler to an element collection.

.tooltip('show')

Reveals an element's tooltip.

$('#element').tooltip('show')

.tooltip('hide')

Hides an element's tooltip.

$('#element').tooltip('hide')

.tooltip('toggle')

Toggles an element's tooltip.

$('#element').tooltip('toggle')

About popovers

Add small overlays of content, like those on the iPad, to any element for housing secondary information.

* Requires Tooltip to be included

Download file

Example hover popover

Hover over the button to trigger the popover.


Using bootstrap-popover.js

Enable popovers via javascript:

$('#example').popover(options)

Options

Name type default description
animation boolean true apply a css fade transition to the tooltip
placement string|function 'right' how to position the popover - top | bottom | left | right
selector string false if a selector is provided, tooltip objects will be delegated to the specified targets
trigger string 'hover' how tooltip is triggered - hover | focus | manual
title string | function '' default title value if `title` attribute isn't present
content string | function '' default content value if `data-content` attribute isn't present
delay number | object 0

delay showing and hiding the popover (ms) - does not apply to manual trigger type

If a number is supplied, delay is applied to both hide/show

Object structure is: delay: { show: 500, hide: 100 }

Heads up! Options for individual popovers can alternatively be specified through the use of data attributes.

Markup

For performance reasons, the Tooltip and Popover data-apis are opt in. If you would like to use them just specify a selector option.

Methods

$().popover(options)

Initializes popovers for an element collection.

.popover('show')

Reveals an elements popover.

$('#element').popover('show')

.popover('hide')

Hides an elements popover.

$('#element').popover('hide')

.popover('toggle')

Toggles an elements popover.

$('#element').popover('toggle')

About alerts

The alert plugin is a tiny class for adding close functionality to alerts.

Download

Example alerts

The alerts plugin works on regular alert messages, and block messages.

Holy guacamole! Best check yo self, you're not looking too good.

Oh snap! You got an error!

Change this and that and try again. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum.

Take this action Or do this


Using bootstrap-alert.js

Enable dismissal of an alert via javascript:

$(".alert").alert()

Markup

Just add data-dismiss="alert" to your close button to automatically give an alert close functionality.

<a class="close" data-dismiss="alert" href="https://qze9e.4969.com.cn/">&times;</a>

Methods

$().alert()

Wraps all alerts with close functionality. To have your alerts animate out when closed, make sure they have the .fade and .in class already applied to them.

.alert('close')

Closes an alert.

$(".alert").alert('close')

Events

Bootstrap's alert class exposes a few events for hooking into alert functionality.

Event Description
close This event fires immediately when the close instance method is called.
closed This event is fired when the alert has been closed (will wait for css transitions to complete).
$('#my-alert').bind('closed', function () {
  // do something…
})

About

Do more with buttons. Control button states or create groups of buttons for more components like toolbars.

Download file

Example uses

Use the buttons plugin for states and toggles.

Stateful
Single toggle
Checkbox
Radio

Using bootstrap-button.js

Enable buttons via javascript:

$('.nav-tabs').button()

Markup

Data attributes are integral to the button plugin. Check out the example code below for the various markup types.

<!-- Add data-toggle="button" to activate toggling on a single button -->
<button class="btn" data-toggle="button">Single Toggle</button>
<!-- Add data-toggle="buttons-checkbox" for checkbox style toggling on btn-group -->
<div class="btn-group" data-toggle="buttons-checkbox">
  <button class="btn">Left</button>
  <button class="btn">Middle</button>
  <button class="btn">Right</button>
</div>
<!-- Add data-toggle="buttons-radio" for radio style toggling on btn-group -->
<div class="btn-group" data-toggle="buttons-radio">
  <button class="btn">Left</button>
  <button class="btn">Middle</button>
  <button class="btn">Right</button>
</div>

Methods

$().button('toggle')

Toggles push state. Gives the button the appearance that it has been activated.

Heads up! You can enable auto toggling of a button by using the data-toggle attribute.
<button class="btn" data-toggle="button" >…</button>

$().button('loading')

Sets button state to loading - disables button and swaps text to loading text. Loading text should be defined on the button element using the data attribute data-loading-text.

<button class="btn" data-loading-text="loading stuff..." >...</button>
Heads up! Firefox persists the disabled state across page loads. A workaround for this is to use autocomplete="off".

$().button('reset')

Resets button state - swaps text to original text.

$().button(string)

Resets button state - swaps text to any data defined text state.

<button class="btn" data-complete-text="finished!" >...</button>
<script>
  $('.btn').button('complete')
</script>

About

Get base styles and flexible support for collapsible components like accordions and navigation.

Download file

* Requires the Transitions plugin to be included.

Example accordion

Using the collapse plugin, we built a simple accordion style widget:

Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.

Using bootstrap-collapse.js

Enable via javascript:

$(".collapse").collapse()

Options

Name type default description
parent selector false If selector then all collapsible elements under the specified parent will be closed when this collapsible item is shown. (similar to traditional accordion behavior)
toggle boolean true Toggles the collapsible element on invocation

Markup

Just add data-toggle="collapse" and a data-target to element to automatically assign control of a collapsible element. The data-target attribute accepts a css selector to apply the collapse to. Be sure to add the class collapse to the collapsible element. If you'd like it to default open, add the additional class in.

<button class="btn btn-danger" data-toggle="collapse" data-target="#demo">
  simple collapsible
</button>
<div id="demo" class="collapse in"> … </div>
Heads up! To add accordion-like group management to a collapsible control, add the data attribute data-parent="#selector". Refer to the demo to see this in action.

Methods

.collapse(options)

Activates your content as a collapsible element. Accepts an optional options object.

$('#myCollapsible').collapse({
  toggle: false
})

.collapse('toggle')

Toggles a collapsible element to shown or hidden.

.collapse('show')

Shows a collapsible element.

.collapse('hide')

Hides a collapsible element.

Events

Bootstrap's collapse class exposes a few events for hooking into collapse functionality.

Event Description
show This event fires immediately when the show instance method is called.
shown This event is fired when a collapse element has been made visible to the user (will wait for css transitions to complete).
hide This event is fired immediately when the hide method has been called.
hidden This event is fired when a collapse element has been hidden from the user (will wait for css transitions to complete).
$('#myCollapsible').on('hidden', function () {
  // do something…
})


About

A basic, easily extended plugin for quickly creating elegant typeaheads with any form text input.

Download file

Example

Start typing in the field below to show the typeahead results.


Using bootstrap-typeahead.js

Call the typeahead via javascript:

$('.typeahead').typeahead()

Options

Name type default description
source array [ ] The data source to query against.
items number 8 The max number of items to display in the dropdown.
matcher function case insensitive The method used to determine if a query matches an item. Accepts a single argument, the item against which to test the query. Access the current query with this.query. Return a boolean true if query is a match.
sorter function exact match,
case sensitive,
case insensitive
Method used to sort autocomplete results. Accepts a single argument items and has the scope of the typeahead instance. Reference the current query with this.query.
highlighter function highlights all default matches Method used to highlight autocomplete results. Accepts a single argument item and has the scope of the typeahead instance. Should return html.

Markup

Add data attributes to register an element with typeahead functionality.

<input type="text" data-provide="typeahead">

Methods

.typeahead(options)

Initializes an input with a typeahead.

生肖邮票龙邮票邮票网中国邮票价格表龙邮票香港回归纪念邮票鸡年邮票邮票交易所邮票互动网鸡年邮票天塌下来由高个子顶着,梦飞扬成了那个高个子,在别人羡慕的眼神中,梦飞扬心理却很苦恼。 遥望星空,那是破碎的星辰,目光看向下方满是破碎山河大地。何天傲因为心中的女神,努力赚钱,就为了帮助女神的家人,可是钱凑够了,女神的家人早已健康出院,而且女神早有归属,是一位打着正义的旗号资本家。靠着压榨员工来暴利。何天傲心有不甘,告诉了女神真相。本以为女神会离开,却不想女神依然站在她的另一半那边。回家的路上,被一群人拦截着打,在他快死的时候,突然觉醒了一个奇怪的系统,从此,他的/开挂人生,开始了。 五年前,苏天宇一夕之间家破人亡,含泪将怀孕妻子赶出家门。 征战五年,他已经是黑暗帝国的王,一举一动牵动整个世界。 母亲被抓走,阿姨被恶犬咬死,当四岁大的小女孩颤抖着打通爸爸的电话…… 没人会想到,整个世界都会因为这通电话因为他的怒火颤抖。 一声号令,十大战王,无数冥域将士聚手,炼狱重现人间。 执子之手,君临天下,敢有违者,满门尽诛! 大千世界修真界,封神大战天门关,只因大地被破碎,大法祖师炼乾坤,结界之内难修仙,飞升天劫降,破界离去难复返。梦中他是世间最古老的生命,长生不死神威盖世!梦醒他是世间普通一员。当有一天神话复苏,他赫然发现自己的梦竟是曾经的历史。而似乎神话时代的终结就是由他一手操纵,当神话再一次降临他又会走向何方!是再一次终结神话时代开创前途未卜的科技大道,还是融入神话成为那至高无上的不死至尊! 我是人!是盖亚!是生物!不是神!!!历史给人的唯一教训就是人们从未在历史中吸取过任何教训!!!穿越成为镇南王府的世子,本来想安安心心当一个纨绔,上街打算强抢民女,却没想到一个不小心竟然抢走了微服出宫的当朝公主!更没想到的是,皇帝不但没有怪罪,反而将公主赐婚给他!不是吧,我真的不想当驸马爷!我希望这部作品能涵盖上至弘达庄严的创世神话,浪漫史诗,下至充满奇趣的凡间故事,中国五千年的悠久历史,展现了宏大的画卷,波澜壮阔的背景,开拓了我们的想象力,让我们看到了人性的光辉。深邃的思想,和人性的真实。随着怪异的天灾降临,世界各地出现了各种奇怪的现象。浓雾带来了人类的觉醒,动植物的进化,似乎一切都预示着新的纪元即将到来。 “既然一切不合心意,那就,重启这个时代好了。” [无女主+不圣母]这是一个内卷的修仙世界,龙太子螭吻却不能选择躺平。 他拥有天界最强的修炼天赋和最强的肉身躯体,却苦修十年,一直提升不了境界。 他修炼了十年,就被天界的正统修道士给耻笑了十年。 “天界修道吊底儿”的帽子,他整整戴了十年,他也足足隐忍了十年。 直到十八岁生日的那天,他终于等来了一次机会,一次下界封兽的任务。 天界赐给了他《封兽榜》,一个能吸取妖气的法宝。 但是,他好像是一个妖修... 于是,新一代妖族之主螭吻的都市修仙升级故事,就此开始。
邮票价格 邮票收藏 十二生肖邮票 邮票互动网 邮票市场 世界上第一枚邮票 中国邮票 邮票价格 邮票图片 欧美群迅雷下载 南京文交所钱币邮票交易中心 第三轮生肖邮票 邮票行情 文革邮票 香港回归纪念邮票 民居邮票 邮票吧 上海邮票网 邮票互动网 文革邮票 中国邮票 第三轮生肖邮票 邮票交易所 民居邮票 邮票行情 邮票市场 邮票图片 邮票市场 南京文交所钱币邮票交易中心 文革邮票 邮票吧 纪念邮票 邮票网 鸡年邮票 女幽灵 百度网盘下载 迅雷下载 龙邮票 邮票价格 猴年邮票 十二生肖邮票 大龙邮票 点道人花生油不会孤单我有超能力之通天炎武滇楚黔秦仙鹤大人,爱上我反派狩猎主角很正常吧棺子无敌做个皇帝好难兴安岭日记飘零山河媒介收容所天梦神阁图书馆神明档案嗜血杀器落入被平分的世界神劫天罪寞路血郎网客行动孤勇者的灵界盗墓,开局最强四系传承西安隔墙板厂家请复制到浏览器打开 广州大众搬家公司咨询 立体仓库的种类 马桶品牌好 十大卫浴品牌排行榜 酒店套房家具 马桶主页 铝单板幕墙厂家 松木家具品牌 绿地世纪城二手房房价多少钱 广州长途搬屋电话 帝陶马桶 三乡二手房 品店浴室柜 西宁蚂蚁搬家联系电话 2015桓仁房价多少 霞浦二手房 虹口区江湾搬家公司 和陶马桶 十大家具品牌 浴室柜网购 开封卫浴 水波幔裁法 浴室柜行业 贵州家具 定制衣柜 最小进深 衣柜门颜色 园丁小区 衣柜门厂家 蚂蚁搬家招聘信息电话 蚂蚁搬家公司 武汉电话 太阳能热水器的价格 防火板的价格 衣柜设计图 酒柜定制 衣柜门 衣柜 北京搬家公司哪个好 聊城幸福里小区烂尾楼 帅康抽油烟机价格表 中式家具 物料货架 沙发床品牌 上海搬家公司手机号码 衡水小区 武汉仓储货架厂 钢结构衣柜 上乘深圳龙岗搬家公司 烧结块价格 水波帘头的装修效果图 墙皮纸价格 欧式衣柜图 北京箭牌卫浴 和成卫浴怎么样 沂水沂水房价走势 龙岩二手房 立体托盘仓库厂家 昆明房价 长沙仓库货架 滨江的小区 仓库重型货架 长沙市天心区搬家公司 卫浴短信 物料货架 镂空水波的制作方法 上海产马桶 多美沙发 价格 官网 马桶怎么安装 青岛二手房 左右沙发 淮安专卖 湖南沿溪房价 浴室柜市场 深圳大众诚信搬家公司 头等舱价格 东城搬家公司电话 郑州天然气价格 喜福搬家电话 sbs厂家 有家具导购业务员的家具卖场如何设计薪酬 东莞东城搬屋公司电话 豪雅美卫浴 样板间窗帘 佛山乐从浴室柜厂家 学窗帘 衣柜 实木多层板 密度板 颗粒板 进口卫浴 郸城碧水湾房价及户型 龙口二手房 梯子价格 大衣柜 尺寸 铝单板厂家排名 小区代理商 福州仓库货架 北京有几家搬家公司 莱姆森卫浴 肇庆仓库 怎样剪水波窗帘眉头 欧松板衣柜 大厂二手房 南京家具 天池山房价 窗帘双圆水波郊果图 材铝门价格