From: Chris Rebert Date: Fri, 5 Dec 2014 03:18:29 +0000 (-0800) Subject: Merge pull request #15214 from twbs/example-ids X-Git-Tag: v3.3.2~5^2~118 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c5a5563b271a6a15db7452f8f4878d4bd797074;p=thirdparty%2Fbootstrap.git Merge pull request #15214 from twbs/example-ids Give all embedded live docs examples data-example-id attrs [skip sauce] --- 0c5a5563b271a6a15db7452f8f4878d4bd797074 diff --cc docs/_includes/components/pagination.html index c58f8702e2,85100afe4b..60485a587d --- a/docs/_includes/components/pagination.html +++ b/docs/_includes/components/pagination.html @@@ -5,15 -5,10 +5,15 @@@

Default pagination

Simple pagination inspired by Rdio, great for apps and search results. The large block is hard to miss, easily scalable, and provides large click areas.

-
+
-

Example accordion

-

Using the collapse plugin, we built a simple accordion by extending the panel component.

+

Example

+

Click the buttons below to show and hide another element via class changes:

+ +

You can use a link with the href attribute, or a button with the data-target attribute. In both cases, the data-toggle="collapse" is required.

+ +
+

+ + +

+
+
+ Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. +
+
+
+{% highlight html %} + + +
+
+ ... +
+
+{% endhighlight %} + +

Accordion example

+

Extend the default collapse behavior to create an accordion with the panel component.

-
+