利用jquery实现点击按钮滑动切换分页显示代码



33 131 44



特效描述:利用jquery实现 点击按钮 滑动切换 分页显示代码,利用jquery实现点击按钮滑动切换分页显示代码

代码结构

1. 引入CSS

<link href="css/style.css" type="text/css" rel="stylesheet" />

2. 引入JS

<script src="js/jquery.1.9.1.min.js"></script>
<script src="js/pages.js"></script>

3. HTML代码

<center>
	<div class="khtjcls08">
        <div class="khtjcls09">
            <!-- 每页显示 36个 -->
            <div class="khtjcls10" id="myapp">
                <div class="myappitem">
                    <div class="khtjcls11">1</div>
                    <div class="khtjcls11">2</div>
                    <div class="khtjcls11 error">3</div>
                    <div class="khtjcls11">4</div>
                    <div class="khtjcls11">5</div>
                    <div class="khtjcls11 error">6</div>
                    <div class="khtjcls11">7</div>
                    <div class="khtjcls11">8</div>
                    <div class="khtjcls11 error">9</div>
                    <div class="khtjcls11">10</div>
                    <div class="khtjcls11">11</div>
                    <div class="khtjcls11 error">12</div>
                    <div class="khtjcls11">13</div>
                    <div class="khtjcls11">14</div>
                    <div class="khtjcls11 error">15</div>
                    <div class="khtjcls11">16</div>
                    <div class="khtjcls11">17</div>
                    <div class="khtjcls11 error">18</div>
                    <div class="khtjcls11">19</div>
                    <div class="khtjcls11">20</div>
                    <div class="khtjcls11 error">303</div>
                    <div class="khtjcls11">303</div>
                    <div class="khtjcls11">303</div>
                    <div class="khtjcls11 error">303</div>
                    <div class="khtjcls11">303</div>
                    <div class="khtjcls11">303</div>
                    <div class="khtjcls11 error">303</div>
                    <div class="khtjcls11">303</div>
                    <div class="khtjcls11">303</div>
                    <div class="khtjcls11 error">303</div>
                    <div class="khtjcls11 error">303</div>
                    <div class="khtjcls11">303</div>
                    <div class="khtjcls11">303</div>
                    <div class="khtjcls11 error">303</div>
                    <div class="khtjcls11 error">303</div>
                    <div class="khtjcls11">303</div>
                </div>
                <div class="myappitem">
                    <div class="khtjcls11">1</div>
                    <div class="khtjcls11">2</div>
                    <div class="khtjcls11 error">3</div>
                    <div class="khtjcls11">4</div>
                    <div class="khtjcls11">5</div>
                    <div class="khtjcls11 error">6</div>
                    <div class="khtjcls11">7</div>
                    <div class="khtjcls11">8</div>
                    <div class="khtjcls11 error">9</div>
                    <div class="khtjcls11">10</div>
                    <div class="khtjcls11">11</div>
                    <div class="khtjcls11 error">12</div>
                    <div class="khtjcls11">13</div>
                    <div class="khtjcls11">14</div>
                    <div class="khtjcls11 error">15</div>
                    <div class="khtjcls11">16</div>
                    <div class="khtjcls11">17</div>
                    <div class="khtjcls11 error">18</div>
                    <div class="khtjcls11">19</div>
                    <div class="khtjcls11">20</div>
                    <div class="khtjcls11 error">303</div>
                    <div class="khtjcls11">303</div>
                    <div class="khtjcls11">303</div>
                    <div class="khtjcls11 error">303</div>
                    <div class="khtjcls11">303</div>
                    <div class="khtjcls11">303</div>
                    <div class="khtjcls11 error">303</div>
                    <div class="khtjcls11">303</div>
                    <div class="khtjcls11">303</div>
                    <div class="khtjcls11 error">303</div>
                    <div class="khtjcls11 error">303</div>
                    <div class="khtjcls11">303</div>
                    <div class="khtjcls11">303</div>
                    <div class="khtjcls11 error">303</div>
                    <div class="khtjcls11 error">303</div>
                    <div class="khtjcls11">303</div>
                </div>
                <div class="myappitem">
                    <div class="khtjcls11">1</div>
                    <div class="khtjcls11">2</div>
                    <div class="khtjcls11 error">3</div>
                    <div class="khtjcls11">4</div>
                    <div class="khtjcls11">5</div>
                    <div class="khtjcls11 error">6</div>
                    <div class="khtjcls11">7</div>
                    <div class="khtjcls11">8</div>
                    <div class="khtjcls11 error">9</div>
                    <div class="khtjcls11">10</div>
                    <div class="khtjcls11">11</div>
                    <div class="khtjcls11 error">12</div>
                    <div class="khtjcls11">13</div>
                    <div class="khtjcls11">14</div>
                    <div class="khtjcls11 error">15</div>
                    <div class="khtjcls11">16</div>
                    <div class="khtjcls11">17</div>
                    <div class="khtjcls11 error">18</div>
                    <div class="khtjcls11">19</div>
                    <div class="khtjcls11">20</div>
                    <div class="khtjcls11 error">303</div>
                    <div class="khtjcls11">303</div>
                    <div class="khtjcls11">303</div>
                    <div class="khtjcls11 error">303</div>
                    <div class="khtjcls11">303</div>
                    <div class="khtjcls11">303</div>
                    <div class="khtjcls11 error">303</div>
                    <div class="khtjcls11">303</div>
                    <div class="khtjcls11">303</div>
                    <div class="khtjcls11 error">303</div>
                    <div class="khtjcls11 error">303</div>
                    <div class="khtjcls11">303</div>
                    <div class="khtjcls11">303</div>
                    <div class="khtjcls11 error">303</div>
                    <div class="khtjcls11 error">303</div>
                    <div class="khtjcls11">303</div>
                </div>
            </div>
        </div>
        <div class="fn-left">
            <span class="prevArrow"></span>
            <div class="pages"><span id="myApp-current-num">1</span> / <span id="totalnum">6</span></div>
            <span class="nextArrow"></span>
        </div>
     </div> 
    </div>
<center>
<div style="text-align:center;margin:50px 0; font:normal 14px/24px 'MicroSoft YaHei';">
</div>



用户评论
大牛,别默默的看了,快登录帮我点评一下吧!:)      登录 | 注册


热门标签: 滑动 滑块 滑动门 触屏滑动 滑动插件 滑块插件 滚动切换 滚动条切换 滑动选项卡 滑动切换 选项卡切换 选项卡 切换 tab切换 页面切换 选项卡插件 切换插件 滑动手风琴 滑动星星打分 切换按钮 表单 表单美化 表单插件 表单美化插件 其他 文字滑动 文字滑块 文字切换 文字选项卡 按钮控制 分页 翻页 分页插件

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

jQuery/js讨论群
群号:642649996
Css3+Html5讨论群
群号:322131262

加群请备注:从官网了解到