创建超出文本的简单分页链接,分页器可以很好地工作。像分页链接一样,寻呼机是无序列表。
以下是寻呼机的示例
<!DOCTYPE html> <html> <head> <title>Bootstrap Example</title> <link href = "/bootstrap/css/bootstrap.min.css" rel = "stylesheet"> <script src = "/scripts/jquery.min.js"></script> <script src = "/bootstrap/js/bootstrap.min.js"></script> </head> <body> <h2>Questions</h2> <ul class = "pagination pagination-lg"> <li><a href = "#">Q1</a></li> <li><a href = "#">Q2</a></li> <li><a href = "#">Q3</a></li> <li><a href = "#">Q4</a></li> <li><a href = "#">Q5</a></li> <li><a href = "#">Q6</a></li> <li><a href = "#">Q7</a></li> </ul> <br> <ul class = "pager"> <li><a href = "#">Previous</a></li> <li><a href = "#">Next</a></li> </ul> </body> </html>