利用 disabled 類為不可點選的連結自定義連結
你可以嘗試執行以下程式碼,使用 disabled 類自定義連結
示例
<!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>Coding Examples</h2> The following are the examples: <ul class = "pagination pagination-lg"> <li><a href = "#">Code1</a></li> <li><a href = "#">Code2</a></li> <li><a href = "#">Code3</a></li> <li><a href = "#">Code4</a></li> <li><a href = "#">Code5</a></li> </ul> <ul class = "pager"> <li class = "previous disabled"><a href = "#">← Prev</a></li> <li class = "next"><a href = "#">Next →</a></li> </ul> </body> </html>
廣告
資料結構
網路
RDBMS
作業系統
Java
iOS
HTML
CSS
Android
Python
C 程式設計
C++
C#
MongoDB
MySQL
Javascript
PHP