利用jquery實現點擊按鈕滑動切換分頁顯示代碼



29 112 38



特效描述:利用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

加群請備注:從官網了解到

老夫子电子