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://zfsz.joxa.cn/" class="btn" data-dismiss="modal">Close</a>
    <a href="https://I.joxa.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://sdpq.joxa.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://sdpq.joxa.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.

陕西省网络与信息安全测评中心怎么样营销 沙龙活动营销推广信息安全服务资质测评营销模式案例分析佛山购物网站建设网络营销中的不足网络安全委员会 果园网络安全文稿网络安全与云计算一个小气朋友的故事月夜奇侠,剑荡江湖。惩奸除恶,豪气云天。江湖豪侠叶峰,手持绝世神兵‘子母电光疯魔扫’,带你领略不一样的武林情怀,经历一段奇特的武林冒险。宇宙广袤无垠,充满未知与神秘…… 生命的种子隐匿散落于角落中,它们暗自发展,走向蓬勃…… 谁是,偷偷开启了抑制基因的枷锁,悄悄解开了万物的束缚…… 万物在进化的道路上急速演变…… 三千大种族族、万千世界、从此走向了历史的舞台…… 这是故事?这或许更是一本史记,一部讲述他生平沧海一束的残篇而已……所有的事从一场车祸开始剑未妥,江湖早,纵使不懂,也不默,少年啊,不归呀,吾辈皆是英雄! 鸟惊忽现白马,飘飘锦衣落梨花,少年呀,归来呀,千年谁复重生?一剑动京华!一个重生到异世的帅哥,没有老爷爷,没有系统,本以为只能靠出卖色相吃吃软饭。 却没想到他的宠兽都有外挂,一个比一个猛。让他只能享受被带飞的故事。一个现代年轻人穿越到其他游戏里的故事(会对游戏进行一些更改)(作者学生随缘更新)花季少女海外旅行离奇失踪,多年后再现身爆出惊人内幕…恐怖经历揭秘世界上不为人知的阴暗角落里,发生的一幕幕人间惨剧。一位特战队员在任务中摧毁了基因实验室,打破了“犼”的封印。在轮回牌的加持下接受了基因药剂地改造,由仿品昆仑镜送至过去。一步步在都市中积累财富与秘境寻宝中走向修行之路。万兽之祖的体魄融合各种生物的基因异能加上原始的符篆,他还会是平庸之辈吗?   本书纯属虚构,请勿对号入座! 张祐易,自幼失父失母后便被安排在道观里修行。在这个世界里各种灵异现象,以及所谓的道术,魔法等可以提高人体耐性的力量得到了全民的承认,除此之外科技也得到了高速发展并有显著成果.......一系列的巨大变化都都让他啧啧称奇,简直宛如重生。离开道观边修行边学习的他修为也来越高,复杂的情绪不停地冲击着他。终于父亲当年的惊天秘密——道!逐渐揭开,但故事当然不会这么简单......... ----------------------声明----------------------------- 1、本人目前学生党,更新可能不会持续(因为6月要有选拔考试),我尽量更,各位老爷见谅。 2、因为是第一次写纯纯小白,咱也没经验,情节,文笔,以及单章节字数的问题我也会逐步加油改进的 -------------------fighting----------------
黑产 网络安全企业 信息安全形势 手机网站建设 定西网站建设 淮南网站建设 app互动营销策划 广州建网站公司 网络安全主管部门招聘 理想的网络安全状态 池州网站制作公 内心恐惧胆怯的前世影响咨询【www.richdady.cn】 去世的母亲的前世案例【www.richdady.cn】 儿子抑郁症咨询【www.richdady.cn】 化解祖灵的仪式流程【www.richdady.cn】 孩子厌学的环境影响【www.richdady.cn】 与男友前世的前世案例咨询【σσЗ8З55О88О√转ihbwel 阴间生活的前世影响【σσЗ8З55О88О√转ihbwel 儿子不读书的自我提升咨询【微:qq383550880 】√转ihbwel 冤亲债主干扰的真实案例有哪些?【企鹅383550880】√转ihbwel 构建和谐亲子关系的方法有哪些?咨询【微:qq383550880 】√转ihbwel 儿子抑郁症的案例分享【企鹅383550880】√转ihbwel 纠纷的法律咨询【微:qq383550880 】√转ihbwel 头脑混沌时如何提高注意力【σσЗ8З55О88О√转ihbwel 阴间生活的前世解析【企鹅383550880】√转ihbwel 心特别累的情感释放【企鹅383550880】√转ihbwel 升迁障碍的职场突破咨询【微:qq383550880 】√转ihbwel 前世今生的缘分如何续写?【www.richdady.cn】√转ihbwel 成人发育倒退的可能症状咨询【企鹅383550880】√转ihbwel 如何应对突然失业的情况咨询【www.richdady.cn】√转ihbwel 投资项目的前世因果【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 网络安全机构 网站分析模板 违反信息网络安全案例 广告全网营销策划 深圳 信息安全 广州网站建设优化 许可email营销的功能 佛山购物网站建设 网络安全顾问 网络安全热点事件 网络安全检查内容 网络营销宣传方式有哪些 无锡做网站多少钱 星巴克的微博营销 微信营销班 中山做网站的公司 2015年网络安全活动 《家装公司营销教程》 营销外包费用 信息安全创新创业报告 信息安全服务工具列表 网络营销宣传方式有哪些 网站设计模板免费建站 昆明云南微网站建设 x网站免费 网站建设案例精英 京网站制作公司 网站建设案例精英 南通哪里有做网站的 信息安全定级备案 什么叫整合营销机构 网络营销中的不足 理想的网络安全状态 理想的网络安全状态 2015年网络安全活动 做网络营销要学什么 许可Email营销 陌陌营销工具 京网站制作公司 广州营销班 微博与粉丝互动的营销案例 长沙企业网站建设团队 四川大学信息安全研究所 许可Email营销 网络安全协同 网站建设案例精英 许可email营销的功能 网络安全 北大 网络安全行业介绍 专业的高端企业网站 昆明云南微网站建设 微博营销成功案例 做门的网站建设 网络安全行业介绍 南宁网站优化 2015年网络安全活动 网站分析模板 重庆微信营销的公司有哪些 《外贸网络营销》 无锡做网站多少钱 校园网络安全概述 互联网营销培训 移动数据网络安全吗 深圳 信息安全 免费企业网站创建 《家装公司营销教程》 做网络营销要学什么 广州网站建设优化 广州营销班 app互动营销策划 美橙网站维护 做网络营销要学什么 网站设计模块 胶州网站建设 电子邮件营销优点 违反信息网络安全案例 信息安全管理体系中要素 网站分析模板 经典新媒体营销案例 佛山新网站制作机构 网络安全与云计算 网络安全公司前景 网站建设 甘肃 陕西省 信息安全 竞赛,-1 西安商城网站建设制作 网络安全与云计算 澳洲信息安全公司 网银网络安全方案 滕州网站优化 澳洲信息安全公司 网站建设案例精英 .网站建设的目标 国家网络安全标准 搜索引擎营销包括什么区别 信息安全部 小米公司内容营销分析 网络安全公司前景 佛山做网站公司 广州网站建设优化 信息安全 运维审计市场分析 快速做网站 网络安全主管部门招聘 信息安全泄密案例 网络安全顾问 网络培训的网站建设 网络安全 机器学习 京网站制作公司 商务网站开发 无锡做网站多少钱 澳洲信息安全公司 四川大学信息安全研究所 网站设计模块 专业的营销型网站建设公司 搜索引擎营销包括什么区别 陕西省 信息安全 竞赛,-1 网络信息安全 博客 app互动营销策划 网站改版升级总结上海网站建设系统 移动数据网络安全吗 国家网络安全标准 营销型网站设计特点 网络安全主管部门招聘 做网络营销要学什么 奶粉微信群营销方案 长沙企业网站建设团队 天津市信息安全测评中心 中山做网站的公司 网络安全委员会 果园 搜索引擎营销包括什么区别 澳洲信息安全公司 如何做到信息安全,-1 网站分析模板 国家信息安全局成都 星巴克的微博营销 佛山购物网站建设