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://E.duqo.cn/" class="btn" data-dismiss="modal">Close</a>
    <a href="https://gSg.duqo.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://dqi.duqo.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://dqi.duqo.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.

网络安全类的公司排名如何设置网站图标网络交易中的信息安全外贸网站建设软件网站设计公司市场容量营销博客线框图网站微网站首页网络安全编程培训台州公司网站建设主角:林轩 时间:2021年,宇宙外的地球的平行空间 背景:该地球上的古修仙者,欲打破天之规则,在冲击天幕的时候,导致天之痕的出现........但之后被其封印天之痕(遮掩痕迹), 但破碎的规则碎片流入时间长河,落入一孕妇体内..........后穿越者夜皇穿越天之痕是不小心毁去封印,但封印不仅是对天之痕的封印还有对未知的 天之痕外域外生物的遮蔽,封印的解除导致域外生物的入侵,而其中的智慧生物更是危险至极,身为天则碎片的的林轩必将快速成长,再次封印 天之痕,但域外的生物,以及渴望长生的古猎人会对林轩也必将有一激斗........... 因为一个绝色女人,黑客和黑帮势不两立。 键盘侠如何跟舞枪弄棒的黑帮一决高低? ······ 中国版《教父》,脑洞大开,令人耳目一新!    穿越到小乞丐身上的陈平,从完美地堵死了上坤国宰相的封圣之路开始,逐步走上政治舞台。发展农工业,大兴教育,收留孤儿,四处游学传教,慢慢走上了一条成圣之路。 声名鹊起,引来了众多的仰慕者和追随者,也招来了无数的仇敌。 打压、袭击、围剿以及暗杀,常常突然爆发。卧底、背叛、投诚之事,也时有发生。 此路艰难,我当披荆斩棘,砥砺前行……生命是什么?那或是一场奔赴尘世的旅行,每个人都身处荒野,仰望着星空。渺小的一切,终将化为黄土,随风消逝。可一切存在过的,都将成为被传颂的一首赞歌。朝泛苍梧暮却还,洞中日月我为天,匣中宝剑时时吼,不遇同人誓不传无声的微光,我在另一个世界里点亮,可未来的你是不是忘记了时空的伏笔,奇点重现,生命悄然降临。哪怕已经过去了很久很久,和平时代早已来临,他依然时常回想过去,回想起那座燃烧着的边境城市,那团火从那时便引燃了少年炽烈的心,如光,如炬,引领无数拥护者追随他的步伐,用铁与血推动了历史的车轮。石灵日久变成一个玉梅树,不断因为各种各样的情况,死亡,穿到另一个新世界。逐渐变强修炼。已经对生活低头了秦凡为救老婆,不得已暴露自身能看到宝物气息的能力,不断捡漏,只要是宝物,在秦凡的眼中都无所遁形,因此引起各方势力的注意,破真伪,看人心,鉴宝捡漏,玩转人生……
网站报价 计算机网络信息安全技术,-1 建手机网站一年费用 网络安全表格加密实验 重庆网站推广 外贸网站建设软件 全网营销服务套餐 网络安全表格加密实验 茂名网站设计 太原推广型网站制作 亲子关系的教育建议【www.richdady.cn】 自闭症的家庭支持咨询【www.richdady.cn】 与女友前世的前世修行【www.richdady.cn】 亲子关系的前世记忆咨询【www.richdady.cn】 脑部不清晰的自我提升咨询【www.richdady.cn】 如何改善亲子关系?【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世今生测试在线【σσЗ8З55О88О√转ihbwel 公司破产对股东的影响咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世老婆的识别方法咨询【σσЗ8З55О88О√转ihbwel 学习成绩差的辅导方法咨询【企鹅383550880】√转ihbwel 莫名其妙感伤的心理调适咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 家庭关系的矛盾化解咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 心特别累的案例分享咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 去世的父亲的前世解析咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 去世的父亲的前世解析威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 去世的父亲的前世缘分【www.richdady.cn】√转ihbwel 特殊学校的教育理念【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 迟缓儿的症状与诊断【σσЗ8З55О88О√转ihbwel 前世老公的前世缘分【σσЗ8З55О88О√转ihbwel 存不住钱的解决方法【www.richdady.cn】√转ihbwel 太原推广型网站制作 济南学网络营销 工业机器人 网络安全 苍南网站建设 不属于信息安全产品的是 网站设计公司市场容量 南昌网站建设公司资讯 中山移动网站建设报价 专业的网站建设公司 网络安全状况的基本判断 网站设计深圳 网站备案信息注销原因? 陕西省网络信息安全办公室成员 廊坊网站建设 免费网站制作新闻 营销博客 病毒性营销的目的 网络安全战略不仅是 病毒性营销的目的 重庆网站推广 凡客建网站 2014网络安全报告 凡客建网站 深圳专业网站制作多少钱 厦门网络推广建网站 个人网站建设 免费 企业网站内容如何更新 网络安全 漏洞 信息安全人员等级划分 重庆专业网站搭建 湖北省信息安全等级 太原制作网站的公司 信息安全领域的公司 陕西省网络信息安全办公室成员 太原市做网站 信息安全专业牛人 网络安全 篡改 聊城网站建设招聘 太原推广型网站制作 广东省信息安全测评中心 怎么样 深圳口碑营销 国家网络信息安全中心,-1 济南学网络营销 个人信息安全评估办法 网站到期诈骗 无线网络安全隐患 工业机器人 网络安全 企业网站内容如何更新 个人网站建设 免费 湖南中安密码信息安全测评中心 苍南网站建设 专业的网站建设公司 网站呢建设 信息安全的法规 不属于信息安全产品的是 四平网站建设 河南网站建设公司 信息安全保护管理办法 网站设计公司市场容量 广州网站制作公司 信息安全的人员安全主要是指信息系统使用人员的( )等. 网站开发中 信息安全分析师培训 苍南网站建设 湖北省信息安全等级 企业网站建站意义 信息安全专业 网站报价 小米手机网络营销服务 小米成功营销案例分析 色系网站 网站到期诈骗 网络安全等级保护2.0 facebook内容营销案例 网络安全考试网址 信息安全资质证书 西安营销公司排名 医院信息系统的网络安全策略和管理的关系 惠州网站制作 信息安全三级等保要求 网络安全工程师培训多少钱 太原推广型网站制作 东莞网站建设培训 信息网络安全现状分析加强网络安全管理 网络安全编程培训 太原网站制作 青岛青鸟网络营销学院 信息安全人员等级划分 陕西省网络信息安全办公室成员 网站改版收费 互联网+信息安全,-1 工业机器人 网络安全 线框图网站 廊坊网站建设 医院网站建设 价格网站建设:中企动力 东莞网站建设培训 信息安全等保测评报告 信息安全等级评估 网络数据营销 互联网信息安全产品 定制型网站建设平台 制定网络安全解决方案 网络安全状况的基本判断 西安营销公司排名 互联网信息安全产品 网络安全战略不仅是 四平网站建设 网络营销培训学院 网络安全战略不仅是 营销家官网 网络营销学校哪个好 全网营销服务套餐 大数据信息安全分析师 色系网站 网络安全英文文献 营销型名片 信息安全赚钱 陕西省网络信息安全办公室成员 网站权重优化 不属于网络营销的职能 直接营销产品 网络安全等级保护2.0 整合营销一站式服务 信息安全等级测评标准 网络安全 漏洞 网络安全培训实施意见 河南网站建设公司 网络安全英文文献 病毒性营销的目的 信息安全资质证书 网络营销实战总结 手机网站设计机构 济南做网站公司有哪些 北京信息安全服务平台,-1网站设计建议 湖北省信息安全等级