@@ -1694,7 +1730,7 @@ body { padding-bottom: 70px; }
...
@@ -1694,7 +1730,7 @@ body { padding-bottom: 70px; }
</div>
</div>
<pclass="lead">Extend Bootstrap's <ahref="../css/#grid">grid system</a> with the thumbnail component to easily display grids of images, videos, text, and more.</p>
<pclass="lead">Extend Bootstrap's <ahref="../css/#grid">grid system</a> with the thumbnail component to easily display grids of images, videos, text, and more.</p>
<p>With a bit of extra markup, it's possible to add any kind of HTML content like headings, paragraphs, or buttons into thumbnails.</p>
<p>With a bit of extra markup, it's possible to add any kind of HTML content like headings, paragraphs, or buttons into thumbnails.</p>
<divclass="bs-example">
<divclass="bs-example">
<divclass="row">
<divclass="row">
...
@@ -1999,7 +2035,7 @@ body { padding-bottom: 70px; }
...
@@ -1999,7 +2035,7 @@ body { padding-bottom: 70px; }
</div>
</div>
<pclass="lead">Abstract object styles for building various types of components (like blog comments, Tweets, etc) that feature a left- or right-aligned image alongside textual content.</p>
<pclass="lead">Abstract object styles for building various types of components (like blog comments, Tweets, etc) that feature a left- or right-aligned image alongside textual content.</p>
<h3>Default example</h3>
<h3id="media-default">Default media</h3>
<p>The default media allow to float a media object (images, video, audio) to the left or right of a content block.</p>
<p>The default media allow to float a media object (images, video, audio) to the left or right of a content block.</p>
<divclass="bs-example">
<divclass="bs-example">
<divclass="media">
<divclass="media">
...
@@ -2042,7 +2078,7 @@ body { padding-bottom: 70px; }
...
@@ -2042,7 +2078,7 @@ body { padding-bottom: 70px; }
</div>
</div>
{% endhighlight %}
{% endhighlight %}
<h3>Media list</h3>
<h3id="media-list">Media list</h3>
<p>With a bit of extra markup, you can use media inside list (useful for comment threads or articles lists).</p>
<p>With a bit of extra markup, you can use media inside list (useful for comment threads or articles lists).</p>
<divclass="bs-example">
<divclass="bs-example">
<ulclass="media-list">
<ulclass="media-list">
...
@@ -2350,7 +2386,7 @@ body { padding-bottom: 70px; }
...
@@ -2350,7 +2386,7 @@ body { padding-bottom: 70px; }
<p>Some default panel content here. Nulla vitae elit libero, a pharetra augue. Aenean lacinia bibendum nulla sed consectetur. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
<p>Some default panel content here. Nulla vitae elit libero, a pharetra augue. Aenean lacinia bibendum nulla sed consectetur. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
<!-- List group -->
<!-- List group -->
<ulclass="list-group list-group-flush">
<ulclass="list-group">
<liclass="list-group-item">Cras justo odio</li>
<liclass="list-group-item">Cras justo odio</li>
<liclass="list-group-item">Dapibus ac facilisis in</li>
<liclass="list-group-item">Dapibus ac facilisis in</li>
<liclass="list-group-item">Morbi leo risus</li>
<liclass="list-group-item">Morbi leo risus</li>
...
@@ -2366,7 +2402,7 @@ body { padding-bottom: 70px; }
...
@@ -2366,7 +2402,7 @@ body { padding-bottom: 70px; }
<p>...</p>
<p>...</p>
<!-- List group -->
<!-- List group -->
<ulclass="list-group list-group-flush">
<ulclass="list-group">
<liclass="list-group-item">Cras justo odio</li>
<liclass="list-group-item">Cras justo odio</li>
<liclass="list-group-item">Dapibus ac facilisis in</li>
<liclass="list-group-item">Dapibus ac facilisis in</li>
<liclass="list-group-item">Morbi leo risus</li>
<liclass="list-group-item">Morbi leo risus</li>
...
@@ -2402,20 +2438,20 @@ body { padding-bottom: 70px; }
...
@@ -2402,20 +2438,20 @@ body { padding-bottom: 70px; }
<h3>Optional classes</h3>
<h3>Optional classes</h3>
<p>Control padding and rounded corners with two optional modifier classes.</p>
<p>Control padding and rounded corners with two optional modifier classes.</p>
<pclass="lead">With the launch of Bootstrap 3, icons have been moved to a <ahref="https://github.com/twbs/bootstrap-glyphicons">separate repository</a>. This keeps the primary project as lean as possible, makes it easier for folks to swap icon libraries, and makes Glyphicons icon fonts more readily available to more people outside Bootstrap.</p>
<pclass="lead">With the launch of Bootstrap 3, icons have been moved to a <ahref="https://github.com/twbs/bootstrap-glyphicons">separate repository</a>. This keeps the primary project as lean as possible, makes it easier for folks to swap icon libraries, and makes Glyphicons icon fonts more readily available to more people outside Bootstrap.</p>
<pclass="lead">
<pclass="lead">
<ahref="http://glyphicons.getbootstrap.com/"class="btn btn-default btn-large">Visit Glyphicons for Bootstrap</a> or <ahref="https://github.com/twbs/bootstrap-glyphicons">download from GitHub</a>
<ahref="http://glyphicons.getbootstrap.com/"class="btn btn-default btn-lg">Visit Glyphicons for Bootstrap</a> or <ahref="https://github.com/twbs/bootstrap-glyphicons">download from GitHub</a>
</p>
</p>
</div>
</div>
...
@@ -91,7 +91,7 @@ base_url: "../"
...
@@ -91,7 +91,7 @@ base_url: "../"
<tr>
<tr>
<th></th>
<th></th>
<th>
<th>
Tiny devices
Extra small devices
<small>Phones (<768px)</small>
<small>Phones (<768px)</small>
</th>
</th>
<th>
<th>
...
@@ -1302,11 +1302,19 @@ For example, <code><section></code> should be wrapped as inline.
...
@@ -1302,11 +1302,19 @@ For example, <code><section></code> should be wrapped as inline.
<pclass="lead">The fastest way to get started is to get the compiled and minified versions of our CSS and JavaScript. No documentation or original source files are included.</p>
<pclass="lead">The fastest way to get started is to get the compiled and minified versions of our CSS and JavaScript. No documentation or original source files are included.</p>
<h3id="js-individual-compiled">Individual or compiled</h3>
<h3id="js-individual-compiled">Individual or compiled</h3>
<p>Plugins can be included individually (using bootstrap's individual <code>*.js</code> files, or all at once (using <code>bootstrap.js</code> or the minified <code>bootstrap.min.js</code>.</p>
<p>Plugins can be included individually (using Bootstrap's individual <code>*.js</code> files, or all at once (using <code>bootstrap.js</code> or the minified <code>bootstrap.min.js</code>.</p>
<divclass="bs-callout bs-callout-danger">
<divclass="bs-callout bs-callout-danger">
<h4>Do not attempt to include both.</h4>
<h4>Do not attempt to include both.</h4>
...
@@ -28,7 +28,7 @@ base_url: "../"
...
@@ -28,7 +28,7 @@ base_url: "../"
</div>
</div>
<h3id="js-data-attrs">Data attributes</h3>
<h3id="js-data-attrs">Data attributes</h3>
<p>You can use all Bootstrap plugins purely through the markup API without writing a single line of JavaScript. This is Bootstrap's firstclass API and should be your first consideration when using a plugin.</p>
<p>You can use all Bootstrap plugins purely through the markup API without writing a single line of JavaScript. This is Bootstrap's first-class API and should be your first consideration when using a plugin.</p>
<p>That said, in some situations it may be desirable to turn this functionality off. Therefore, we also provide the ability to disable the data attribute API by unbinding all events on the document namespaced with <code>data-api</code>. This looks like this:
<p>That said, in some situations it may be desirable to turn this functionality off. Therefore, we also provide the ability to disable the data attribute API by unbinding all events on the document namespaced with <code>data-api</code>. This looks like this:
{% highlight js %}
{% highlight js %}
...
@@ -59,12 +59,12 @@ $("#myModal").modal('show') // initializes and invokes show immed
...
@@ -59,12 +59,12 @@ $("#myModal").modal('show') // initializes and invokes show immed
<p>Sometimes it is necessary to use Bootstrap plugins with other UI frameworks. In these circumstances, namespace collisions can occasionally occur. If this happens, you may call <code>.noConflict</code> on the plugin you wish to revert the value of.</p>
<p>Sometimes it is necessary to use Bootstrap plugins with other UI frameworks. In these circumstances, namespace collisions can occasionally occur. If this happens, you may call <code>.noConflict</code> on the plugin you wish to revert the value of.</p>
{% highlight js %}
{% highlight js %}
var bootstrapButton = $.fn.button.noConflict() // return $.fn.button to previously assigned value
var bootstrapButton = $.fn.button.noConflict() // return $.fn.button to previously assigned value
$.fn.bootstrapBtn = bootstrapButton // give $().bootstrapBtn the bootstrap functionality
$.fn.bootstrapBtn = bootstrapButton // give $().bootstrapBtn the Bootstrap functionality
{% endhighlight %}
{% endhighlight %}
<h3id="js-events">Events</h3>
<h3id="js-events">Events</h3>
<p>Bootstrap provides custom events for most plugin's unique actions. Generally, these come in an infinitive and past participle form - where the infinitive (ex. <code>show</code>) is triggered at the start of an event, and its past participle form (ex. <code>shown</code>) is trigger on the completion of an action.</p>
<p>Bootstrap provides custom events for most plugin's unique actions. Generally, these come in an infinitive and past participle form - where the infinitive (ex. <code>show</code>) is triggered at the start of an event, and its past participle form (ex. <code>shown</code>) is trigger on the completion of an action.</p>
<p>As of 3.0.0, all bootstrap events are namespaced.</p>
<p>As of 3.0.0, all Bootstrap events are namespaced.</p>
<p>All infinitive events provide <code>preventDefault</code> functionality. This provides the ability to stop the execution of an action before it starts.</p>
<p>All infinitive events provide <code>preventDefault</code> functionality. This provides the ability to stop the execution of an action before it starts.</p>
{% highlight js %}
{% highlight js %}
$('#myModal').on('show.bs.modal', function (e) {
$('#myModal').on('show.bs.modal', function (e) {
...
@@ -89,7 +89,7 @@ $('#myModal').on('show.bs.modal', function (e) {
...
@@ -89,7 +89,7 @@ $('#myModal').on('show.bs.modal', function (e) {
<h3>About transitions</h3>
<h3>About transitions</h3>
<p>For simple transition effects, include <code>transition.js</code> once alongside the other JS files. If you're using the compiled (or minified) <code>bootstrap.js</code>, there is no need to include this—it's already there.</p>
<p>For simple transition effects, include <code>transition.js</code> once alongside the other JS files. If you're using the compiled (or minified) <code>bootstrap.js</code>, there is no need to include this—it's already there.</p>
<h3>What's inside</h3>
<h3>What's inside</h3>
<p>Transition.js is a basic helper for transitionEnd events as well as a css transition emulator. It's used by the other plugins to check for css transition support and to catch hanging transitions.</p>
<p>Transition.js is a basic helper for <code>transitionEnd</code> events as well as a CSS transition emulator. It's used by the other plugins to check for CSS transition support and to catch hanging transitions.</p>
</div>
</div>
...
@@ -189,11 +189,11 @@ $('#myModal').on('show.bs.modal', function (e) {
...
@@ -189,11 +189,11 @@ $('#myModal').on('show.bs.modal', function (e) {
<ahref="#"class="btn btn-large btn-danger"data-toggle="popover"title="A Title"data-content="And here's some amazing content. It's very engaging. right?">Click to toggle popover</a>
<ahref="#"class="btn btn-lg btn-danger"data-toggle="popover"title="A Title"data-content="And here's some amazing content. It's very engaging. right?">Click to toggle popover</a>
</div>
</div>
<h4>Four directions</h4>
<h4>Four directions</h4>
...
@@ -1794,7 +1794,7 @@ $('#myCarousel').on('slide.bs.carousel', function () {
...
@@ -1794,7 +1794,7 @@ $('#myCarousel').on('slide.bs.carousel', function () {
<h4>Requires independent styling ;)</h4>
<h4>Requires independent styling ;)</h4>
<p>
<p>
Affix toggles between three states/classes: <code>affix</code>, <code>affix-top</code>, and <code>affix-bottom</code>. You must provide the styles for these classes yourself (independent of this plugin).
Affix toggles between three states/classes: <code>affix</code>, <code>affix-top</code>, and <code>affix-bottom</code>. You must provide the styles for these classes yourself (independent of this plugin).
The <code>affix-top</code> class should be in the regular flow of the document. The <code>affix</code> class should be fixed to the page. And <code>affix-bottom</code> should be positioned absolute. Note, <code>affix-bottom</code> is special in that the plugin will place the element with js relative to the <code>offset: { bottom: number }</code> option you've provided.
The <code>affix-top</code> class should be in the regular flow of the document. The <code>affix</code> class should be fixed to the page. And <code>affix-bottom</code> should be positioned absolute. Note, <code>affix-bottom</code> is special in that the plugin will place the element with JS relative to the <code>offset: { bottom: number }</code> option you've provided.