02.06.2015 Views

Bootstrap Tutorial

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5<br />

&raquo;<br />

<br />

Pager<br />

If you need to create simple pagination links that go beyond text, the pager can work quite well. Like the pagination<br />

links, the pager is an unordered list. By default the links are centered. The following table lists the classes<br />

<strong>Bootstrap</strong> provides for pager.<br />

Class Description Sample code<br />

.pager<br />

Add this class to get the pager<br />

links.<br />

<br />

Previous<br />

Next<br />

<br />

.previous,<br />

.next<br />

Use class .previous to left align<br />

and.next to right-align the links.<br />

<br />

&larr; Older<br />

Newer<br />

&rarr;<br />

<br />

.disabled<br />

Add this class to get a muted<br />

look.<br />

<br />

&larr; Older<br />

Newer<br />

&rarr;<br />

<br />

DEFAULT PAGER<br />

Following example demonstrates the use of class .pager discussed in the above table:<br />

<br />

Previous<br />

Next<br />

<br />

TUTORIALS POINT<br />

Simply Easy Learning

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!