简单实用的分页控件
实现效果图:
实现代码:
index.html:
<!DOCTYPE html>
<html lang="ch">
<head>
<meta charset="UTF-8">
<title>Title</title>
<link href="page.css" type="text/css" rel="stylesheet"/>
<script src="http://www.jq22.com/jquery/jquery-1.10.2.js"></script>
<script type="text/javascript" src="page.js"></script>
</head>
<body>
<!--currentpage="1" numbercount="100"-->
<div><ul class="page" maxshowpageitem="10" pagelistcount="1" id="page"></ul></div>
<br><br>
<!-- <div><ul class="page" maxshowpageitem="5" pagelistcount="10" id="page1"></