您现在的位置是:首页 > 网站制作 > 网站建设网站建设

个人博客添加响应式全屏切换标签

胜于蓝2014-02-04【网站建设】人已围观

简介常用于100%宽度,这是一个选项卡的方式展示内容。可用在个人博客网站中使用,比如文章列表、图片列表、图文列表等等。

HtmlXmz胜于蓝|优秀个人博客

1Xmz胜于蓝|优秀个人博客
2Xmz胜于蓝|优秀个人博客
3Xmz胜于蓝|优秀个人博客
4Xmz胜于蓝|优秀个人博客
5Xmz胜于蓝|优秀个人博客
6Xmz胜于蓝|优秀个人博客
7Xmz胜于蓝|优秀个人博客
8Xmz胜于蓝|优秀个人博客
9Xmz胜于蓝|优秀个人博客
10Xmz胜于蓝|优秀个人博客
11Xmz胜于蓝|优秀个人博客
12Xmz胜于蓝|优秀个人博客
13Xmz胜于蓝|优秀个人博客
14Xmz胜于蓝|优秀个人博客
15Xmz胜于蓝|优秀个人博客
16Xmz胜于蓝|优秀个人博客
17Xmz胜于蓝|优秀个人博客
18Xmz胜于蓝|优秀个人博客
19Xmz胜于蓝|优秀个人博客
20Xmz胜于蓝|优秀个人博客
21Xmz胜于蓝|优秀个人博客
22Xmz胜于蓝|优秀个人博客
23Xmz胜于蓝|优秀个人博客
24Xmz胜于蓝|优秀个人博客
25Xmz胜于蓝|优秀个人博客
26Xmz胜于蓝|优秀个人博客
27Xmz胜于蓝|优秀个人博客
28Xmz胜于蓝|优秀个人博客
29Xmz胜于蓝|优秀个人博客
30Xmz胜于蓝|优秀个人博客
31Xmz胜于蓝|优秀个人博客
32Xmz胜于蓝|优秀个人博客
33Xmz胜于蓝|优秀个人博客
34Xmz胜于蓝|优秀个人博客
35Xmz胜于蓝|优秀个人博客
36Xmz胜于蓝|优秀个人博客
37Xmz胜于蓝|优秀个人博客
38Xmz胜于蓝|优秀个人博客
39Xmz胜于蓝|优秀个人博客
40Xmz胜于蓝|优秀个人博客
41Xmz胜于蓝|优秀个人博客
42Xmz胜于蓝|优秀个人博客
43Xmz胜于蓝|优秀个人博客
44Xmz胜于蓝|优秀个人博客
45Xmz胜于蓝|优秀个人博客
46Xmz胜于蓝|优秀个人博客
47Xmz胜于蓝|优秀个人博客
48Xmz胜于蓝|优秀个人博客
49Xmz胜于蓝|优秀个人博客
50Xmz胜于蓝|优秀个人博客
51Xmz胜于蓝|优秀个人博客
52Xmz胜于蓝|优秀个人博客
53Xmz胜于蓝|优秀个人博客
54Xmz胜于蓝|优秀个人博客
55Xmz胜于蓝|优秀个人博客
56Xmz胜于蓝|优秀个人博客
57Xmz胜于蓝|优秀个人博客
58Xmz胜于蓝|优秀个人博客
59Xmz胜于蓝|优秀个人博客
60Xmz胜于蓝|优秀个人博客
61Xmz胜于蓝|优秀个人博客
62Xmz胜于蓝|优秀个人博客
63Xmz胜于蓝|优秀个人博客
64Xmz胜于蓝|优秀个人博客
65Xmz胜于蓝|优秀个人博客
66Xmz胜于蓝|优秀个人博客
67Xmz胜于蓝|优秀个人博客
68Xmz胜于蓝|优秀个人博客
69Xmz胜于蓝|优秀个人博客
70Xmz胜于蓝|优秀个人博客
71Xmz胜于蓝|优秀个人博客
72Xmz胜于蓝|优秀个人博客
73Xmz胜于蓝|优秀个人博客
74Xmz胜于蓝|优秀个人博客
75Xmz胜于蓝|优秀个人博客
76Xmz胜于蓝|优秀个人博客
77Xmz胜于蓝|优秀个人博客
78Xmz胜于蓝|优秀个人博客
79Xmz胜于蓝|优秀个人博客
80Xmz胜于蓝|优秀个人博客
81Xmz胜于蓝|优秀个人博客
82Xmz胜于蓝|优秀个人博客
83Xmz胜于蓝|优秀个人博客
84Xmz胜于蓝|优秀个人博客
85Xmz胜于蓝|优秀个人博客
86Xmz胜于蓝|优秀个人博客
87Xmz胜于蓝|优秀个人博客
88Xmz胜于蓝|优秀个人博客
89Xmz胜于蓝|优秀个人博客
90Xmz胜于蓝|优秀个人博客
91Xmz胜于蓝|优秀个人博客
92Xmz胜于蓝|优秀个人博客
93Xmz胜于蓝|优秀个人博客
94Xmz胜于蓝|优秀个人博客
95Xmz胜于蓝|优秀个人博客
96Xmz胜于蓝|优秀个人博客
97Xmz胜于蓝|优秀个人博客
98Xmz胜于蓝|优秀个人博客
99Xmz胜于蓝|优秀个人博客
100Xmz胜于蓝|优秀个人博客
101Xmz胜于蓝|优秀个人博客
102
<div id="tabs" class="tabs">Xmz胜于蓝|优秀个人博客
    <nav>Xmz胜于蓝|优秀个人博客
        <ul>Xmz胜于蓝|优秀个人博客
            <li><a href="#section-1" class="icon-shop"><span>Shop</span></a></li>Xmz胜于蓝|优秀个人博客
            <li><a href="#section-2" class="icon-cup"><span>Drinks</span></a></li>Xmz胜于蓝|优秀个人博客
            <li><a href="#section-3" class="icon-food"><span>Food</span></a></li>Xmz胜于蓝|优秀个人博客
            <li><a href="#section-4" class="icon-lab"><span>Lab</span></a></li>Xmz胜于蓝|优秀个人博客
            <li><a href="#section-5" class="icon-truck"><span>Order</span></a></li>Xmz胜于蓝|优秀个人博客
        </ul>Xmz胜于蓝|优秀个人博客
    </nav>Xmz胜于蓝|优秀个人博客
    <div class="content">Xmz胜于蓝|优秀个人博客
        <section id="section-1">Xmz胜于蓝|优秀个人博客
            <div class="mediabox">Xmz胜于蓝|优秀个人博客
                <img src="img/01.png" alt="img01" />Xmz胜于蓝|优秀个人博客
                <h3>Sushi Gumbo Beetroot</h3>Xmz胜于蓝|优秀个人博客
                <p>Sushi gumbo beet greens corn soko endive gumbo gourd. Parsley shallot courgette tatsoi pea sprouts fava bean collard greens dandelion okra wakame tomato.</p>Xmz胜于蓝|优秀个人博客
            </div>Xmz胜于蓝|优秀个人博客
            <div class="mediabox">Xmz胜于蓝|优秀个人博客
                <img src="img/02.png" alt="img02" />Xmz胜于蓝|优秀个人博客
                <h3>Pea Sprouts Fava Soup</h3>Xmz胜于蓝|优秀个人博客
                <p>Lotus root water spinach fennel kombu maize bamboo shoot green bean swiss chard seakale pumpkin onion chickpea gram corn pea.</p>Xmz胜于蓝|优秀个人博客
            </div>Xmz胜于蓝|优秀个人博客
            <div class="mediabox">Xmz胜于蓝|优秀个人博客
                <img src="img/03.png" alt="img03" />Xmz胜于蓝|优秀个人博客
                <h3>Turnip Broccoli Sashimi</h3>Xmz胜于蓝|优秀个人博客
                <p>Nori grape silver beet broccoli kombu beet greens fava bean potato quandong celery. Bunya nuts black-eyed pea prairie turnip leek lentil turnip greens parsnip.</p>Xmz胜于蓝|优秀个人博客
            </div>Xmz胜于蓝|优秀个人博客
        </section>Xmz胜于蓝|优秀个人博客
        <section id="section-2">Xmz胜于蓝|优秀个人博客
            <div class="mediabox">Xmz胜于蓝|优秀个人博客
                <img src="img/04.png" alt="img04" />Xmz胜于蓝|优秀个人博客
                <h3>Asparagus Cucumber Cake</h3>Xmz胜于蓝|优秀个人博客
                <p>Chickweed okra pea winter purslane coriander yarrow sweet pepper radish garlic brussels sprout groundnut summer purslane earthnut pea tomato spring onion azuki bean gourd. </p>Xmz胜于蓝|优秀个人博客
            </div>Xmz胜于蓝|优秀个人博客
            <div class="mediabox">Xmz胜于蓝|优秀个人博客
                <img src="img/05.png" alt="img05" />Xmz胜于蓝|优秀个人博客
                <h3>Magis Kohlrabi Gourd</h3>Xmz胜于蓝|优秀个人博客
                <p>Salsify taro catsear garlic gram celery bitterleaf wattle seed collard greens nori. Grape wattle seed kombu beetroot horseradish carrot squash brussels sprout chard.</p>Xmz胜于蓝|优秀个人博客
            </div>Xmz胜于蓝|优秀个人博客
            <div class="mediabox">Xmz胜于蓝|优秀个人博客
                <img src="img/06.png" alt="img06" />Xmz胜于蓝|优秀个人博客
                <h3>Ricebean Rutabaga</h3>Xmz胜于蓝|优秀个人博客
                <p>Celery quandong swiss chard chicory earthnut pea potato. Salsify taro catsear garlic gram celery bitterleaf wattle seed collard greens nori. </p>Xmz胜于蓝|优秀个人博客
            </div>Xmz胜于蓝|优秀个人博客
        </section>Xmz胜于蓝|优秀个人博客
        <section id="section-3">Xmz胜于蓝|优秀个人博客
            <div class="mediabox">Xmz胜于蓝|优秀个人博客
                <img src="img/02.png" alt="img02" />Xmz胜于蓝|优秀个人博客
                <h3>Noodle Curry</h3>Xmz胜于蓝|优秀个人博客
                <p>Lotus root water spinach fennel kombu maize bamboo shoot green bean swiss chard seakale pumpkin onion chickpea gram corn pea.Sushi gumbo beet greens corn soko endive gumbo gourd.</p>Xmz胜于蓝|优秀个人博客
            </div>Xmz胜于蓝|优秀个人博客
            <div class="mediabox">Xmz胜于蓝|优秀个人博客
                <img src="img/06.png" alt="img06" />Xmz胜于蓝|优秀个人博客
                <h3>Leek Wasabi</h3>Xmz胜于蓝|优秀个人博客
                <p>Sushi gumbo beet greens corn soko endive gumbo gourd. Parsley shallot courgette tatsoi pea sprouts fava bean collard greens dandelion okra wakame tomato.</p>Xmz胜于蓝|优秀个人博客
            </div>Xmz胜于蓝|优秀个人博客
            <div class="mediabox">Xmz胜于蓝|优秀个人博客
                <img src="img/01.png" alt="img01" />Xmz胜于蓝|优秀个人博客
                <h3>Green Tofu Wrap</h3>Xmz胜于蓝|优秀个人博客
                <p>Pea horseradish azuki bean lettuce avocado asparagus okra. Kohlrabi radish okra azuki bean corn fava bean mustard tigernut wasabi tofu broccoli mixture soup.</p>Xmz胜于蓝|优秀个人博客
            </div>Xmz胜于蓝|优秀个人博客
        </section>Xmz胜于蓝|优秀个人博客
        <section id="section-4">Xmz胜于蓝|优秀个人博客
            <div class="mediabox">Xmz胜于蓝|优秀个人博客
                <img src="img/03.png" alt="img03" />Xmz胜于蓝|优秀个人博客
                <h3>Tomato Cucumber Curd</h3>Xmz胜于蓝|优秀个人博客
                <p>Chickweed okra pea winter purslane coriander yarrow sweet pepper radish garlic brussels sprout groundnut summer purslane earthnut pea tomato spring onion azuki bean gourd. </p>Xmz胜于蓝|优秀个人博客
            </div>Xmz胜于蓝|优秀个人博客
            <div class="mediabox">Xmz胜于蓝|优秀个人博客
                <img src="img/01.png" alt="img01" />Xmz胜于蓝|优秀个人博客
                <h3>Mushroom Green</h3>Xmz胜于蓝|优秀个人博客
                <p>Salsify taro catsear garlic gram celery bitterleaf wattle seed collard greens nori. Grape wattle seed kombu beetroot horseradish carrot squash brussels sprout chard.</p>Xmz胜于蓝|优秀个人博客
            </div>Xmz胜于蓝|优秀个人博客
            <div class="mediabox">Xmz胜于蓝|优秀个人博客
                <img src="img/04.png" alt="img04" />Xmz胜于蓝|优秀个人博客
                <h3>Swiss Celery Chard</h3>Xmz胜于蓝|优秀个人博客
                <p>Celery quandong swiss chard chicory earthnut pea potato. Salsify taro catsear garlic gram celery bitterleaf wattle seed collard greens nori. </p>Xmz胜于蓝|优秀个人博客
            </div>Xmz胜于蓝|优秀个人博客
        </section>Xmz胜于蓝|优秀个人博客
        <section id="section-5">Xmz胜于蓝|优秀个人博客
            <div class="mediabox">Xmz胜于蓝|优秀个人博客
                <img src="img/02.png" alt="img02" />Xmz胜于蓝|优秀个人博客
                <h3>Radish Tomato</h3>Xmz胜于蓝|优秀个人博客
                <p>Catsear cauliflower garbanzo yarrow salsify chicory garlic bell pepper napa cabbage lettuce tomato kale arugula melon sierra leone bologi rutabaga tigernut.</p>Xmz胜于蓝|优秀个人博客
            </div>Xmz胜于蓝|优秀个人博客
            <div class="mediabox">Xmz胜于蓝|优秀个人博客
                <img src="img/06.png" alt="img06" />Xmz胜于蓝|优秀个人博客
                <h3>Fennel Wasabi</h3>Xmz胜于蓝|优秀个人博客
                <p>Sea lettuce gumbo grape kale kombu cauliflower salsify kohlrabi okra sea lettuce broccoli celery lotus root carrot winter purslane turnip greens garlic.</p>Xmz胜于蓝|优秀个人博客
            </div>Xmz胜于蓝|优秀个人博客
            <div class="mediabox">Xmz胜于蓝|优秀个人博客
                <img src="img/01.png" alt="img01" />Xmz胜于蓝|优秀个人博客
                <h3>Red Tofu Wrap</h3>Xmz胜于蓝|优秀个人博客
                <p>Green horseradish azuki bean lettuce avocado asparagus okra. Kohlrabi radish okra azuki bean corn fava bean mustard tigernut wasabi tofu broccoli mixture soup.</p>Xmz胜于蓝|优秀个人博客
            </div>Xmz胜于蓝|优秀个人博客
        </section>Xmz胜于蓝|优秀个人博客
    </div><!-- /content -->Xmz胜于蓝|优秀个人博客
</div><!-- /tabs -->Xmz胜于蓝|优秀个人博客
<script src="js/cbpFWTabs.js"></script>Xmz胜于蓝|优秀个人博客
<script>Xmz胜于蓝|优秀个人博客
    new CBPFWTabs( document.getElementById( 'tabs' ) );Xmz胜于蓝|优秀个人博客
</script>

CssXmz胜于蓝|优秀个人博客

1Xmz胜于蓝|优秀个人博客
2Xmz胜于蓝|优秀个人博客
3Xmz胜于蓝|优秀个人博客
4Xmz胜于蓝|优秀个人博客
5Xmz胜于蓝|优秀个人博客
6Xmz胜于蓝|优秀个人博客
7Xmz胜于蓝|优秀个人博客
8Xmz胜于蓝|优秀个人博客
9Xmz胜于蓝|优秀个人博客
10Xmz胜于蓝|优秀个人博客
11Xmz胜于蓝|优秀个人博客
12Xmz胜于蓝|优秀个人博客
13Xmz胜于蓝|优秀个人博客
14Xmz胜于蓝|优秀个人博客
15Xmz胜于蓝|优秀个人博客
16Xmz胜于蓝|优秀个人博客
17Xmz胜于蓝|优秀个人博客
18Xmz胜于蓝|优秀个人博客
19Xmz胜于蓝|优秀个人博客
20Xmz胜于蓝|优秀个人博客
21Xmz胜于蓝|优秀个人博客
22Xmz胜于蓝|优秀个人博客
23Xmz胜于蓝|优秀个人博客
24Xmz胜于蓝|优秀个人博客
25Xmz胜于蓝|优秀个人博客
26Xmz胜于蓝|优秀个人博客
27Xmz胜于蓝|优秀个人博客
28Xmz胜于蓝|优秀个人博客
29Xmz胜于蓝|优秀个人博客
30Xmz胜于蓝|优秀个人博客
31Xmz胜于蓝|优秀个人博客
32Xmz胜于蓝|优秀个人博客
33Xmz胜于蓝|优秀个人博客
34Xmz胜于蓝|优秀个人博客
35Xmz胜于蓝|优秀个人博客
36Xmz胜于蓝|优秀个人博客
37Xmz胜于蓝|优秀个人博客
38Xmz胜于蓝|优秀个人博客
39Xmz胜于蓝|优秀个人博客
40Xmz胜于蓝|优秀个人博客
41Xmz胜于蓝|优秀个人博客
42Xmz胜于蓝|优秀个人博客
43Xmz胜于蓝|优秀个人博客
44Xmz胜于蓝|优秀个人博客
45Xmz胜于蓝|优秀个人博客
46Xmz胜于蓝|优秀个人博客
47Xmz胜于蓝|优秀个人博客
48Xmz胜于蓝|优秀个人博客
49Xmz胜于蓝|优秀个人博客
50Xmz胜于蓝|优秀个人博客
51
.tabs { positionrelativewidth100%overflowhiddenmargin1em 0 2emfont-weight300; }Xmz胜于蓝|优秀个人博客
/* Nav */Xmz胜于蓝|优秀个人博客
.tabs nav { text-aligncenter; }Xmz胜于蓝|优秀个人博客
.tabs nav ul { padding0margin0list-stylenonedisplay: inline-block; }Xmz胜于蓝|优秀个人博客
.tabs nav ul li { border1px solid #becbd2border-bottomnonemargin0 0.25emdisplayblockfloatleftpositionrelative; }Xmz胜于蓝|优秀个人博客
.tabs nav li.tab-current { border1px solid #47a3da; box-shadow: inset 0 2px #47a3daborder-bottomnonez-index100; }Xmz胜于蓝|优秀个人博客
.tabs nav li.tab-current:before, .tabs nav li.tab-current:after { content''positionabsoluteheight1pxright100%bottom0width1000pxbackground#47a3da; }Xmz胜于蓝|优秀个人博客
.tabs nav li.tab-current:after { rightautoleft100%width4000px; }Xmz胜于蓝|优秀个人博客
.tabs nav a { color#becbd2displayblockfont-size1.45emline-height2.5padding0 1.25emwhite-spacenowrap; }Xmz胜于蓝|优秀个人博客
.tabs nav a:hover { color#768e9d; }Xmz胜于蓝|优秀个人博客
.tabs nav li.tab-current a { color#47a3da; }Xmz胜于蓝|优秀个人博客
/* Icons */Xmz胜于蓝|优秀个人博客
.tabs nav a:before { display: inline-blockvertical-alignmiddletext-transformnonefont-weightnormalfont-variantnormalfont-family'icomoon'line-height1speaknone; -webkit-font-smoothing: antialiased; margin-0.25em 0.4em 0 0; }Xmz胜于蓝|优秀个人博客
.icon-food:before { content"e600"; }Xmz胜于蓝|优秀个人博客
.icon-lab:before { content"e601"; }Xmz胜于蓝|优秀个人博客
.icon-cup:before { content"e602"; }Xmz胜于蓝|优秀个人博客
.icon-truck:before { content"e603"; }Xmz胜于蓝|优秀个人博客
.icon-shop:before { content"e604"; }Xmz胜于蓝|优秀个人博客
/* Content */Xmz胜于蓝|优秀个人博客
.content section { font-size1.25empadding3em 1emdisplaynonemax-width1230pxmargin0 auto; }Xmz胜于蓝|优秀个人博客
.content section:before, .content section:after { content''display: table; }Xmz胜于蓝|优秀个人博客
.content section:after { clearboth; }Xmz胜于蓝|优秀个人博客
/* Fallback example */Xmz胜于蓝|优秀个人博客
.no-js .content section { displayblockpadding-bottom2emborder-bottom1px solid #47a3da; }Xmz胜于蓝|优秀个人博客
.content section.content-current { displayblock; }Xmz胜于蓝|优秀个人博客
.mediabox { floatleftwidth33%padding0 25px; }Xmz胜于蓝|优秀个人博客
.mediabox img { max-width100%displayblockmargin0 auto; }Xmz胜于蓝|优秀个人博客
.mediabox h3 margin0.75em 0 0.5em; }Xmz胜于蓝|优秀个人博客
.mediabox p { padding0 0 1em 0margin0line-height1.3; }Xmz胜于蓝|优秀个人博客
 Xmz胜于蓝|优秀个人博客
/* Example media queries */Xmz胜于蓝|优秀个人博客
 Xmz胜于蓝|优秀个人博客
@media screen and (max-width52.375em) {Xmz胜于蓝|优秀个人博客
.tabs nav a span { displaynone; }Xmz胜于蓝|优秀个人博客
.tabs nav a:before { margin-right0; }Xmz胜于蓝|优秀个人博客
.mediabox { floatnonewidthautopadding0 0 35px 0font-size90%; }Xmz胜于蓝|优秀个人博客
.mediabox img { floatleftmargin0 25px 10px 0max-width40%; }Xmz胜于蓝|优秀个人博客
.mediabox h3 margin-top0; }Xmz胜于蓝|优秀个人博客
.mediabox p { margin-left40%margin-left: calc(40% 25px); }Xmz胜于蓝|优秀个人博客
.mediabox:before,  .mediabox:after { content''display: table; }Xmz胜于蓝|优秀个人博客
.mediabox:after { clearboth; }Xmz胜于蓝|优秀个人博客
}Xmz胜于蓝|优秀个人博客
 @media screen and (max-width32em) {Xmz胜于蓝|优秀个人博客
.tabs nav ul,  .tabs nav ul li a { width100%padding0; }Xmz胜于蓝|优秀个人博客
.tabs nav ul li { width20%width: calc(20% 1px); margin0 0 0 -1px; }Xmz胜于蓝|优秀个人博客
.tabs nav ul li:last-child { border-rightnone; }Xmz胜于蓝|优秀个人博客
.mediabox { text-aligncenter; }Xmz胜于蓝|优秀个人博客
.mediabox img { floatnonemargin0 automax-width100%; }Xmz胜于蓝|优秀个人博客
.mediabox h3 margin1.25em 0 1em; }Xmz胜于蓝|优秀个人博客
.mediabox p { margin0; }Xmz胜于蓝|优秀个人博客
}

javascriptXmz胜于蓝|优秀个人博客

1Xmz胜于蓝|优秀个人博客
2Xmz胜于蓝|优秀个人博客
3Xmz胜于蓝|优秀个人博客
4Xmz胜于蓝|优秀个人博客
5Xmz胜于蓝|优秀个人博客
6Xmz胜于蓝|优秀个人博客
7Xmz胜于蓝|优秀个人博客
8Xmz胜于蓝|优秀个人博客
9Xmz胜于蓝|优秀个人博客
10Xmz胜于蓝|优秀个人博客
11Xmz胜于蓝|优秀个人博客
12Xmz胜于蓝|优秀个人博客
13Xmz胜于蓝|优秀个人博客
14Xmz胜于蓝|优秀个人博客
15Xmz胜于蓝|优秀个人博客
16Xmz胜于蓝|优秀个人博客
17Xmz胜于蓝|优秀个人博客
18Xmz胜于蓝|优秀个人博客
19Xmz胜于蓝|优秀个人博客
20Xmz胜于蓝|优秀个人博客
21Xmz胜于蓝|优秀个人博客
22Xmz胜于蓝|优秀个人博客
23Xmz胜于蓝|优秀个人博客
24Xmz胜于蓝|优秀个人博客
25Xmz胜于蓝|优秀个人博客
26Xmz胜于蓝|优秀个人博客
27Xmz胜于蓝|优秀个人博客
28Xmz胜于蓝|优秀个人博客
29Xmz胜于蓝|优秀个人博客
30Xmz胜于蓝|优秀个人博客
31Xmz胜于蓝|优秀个人博客
32Xmz胜于蓝|优秀个人博客
33Xmz胜于蓝|优秀个人博客
34Xmz胜于蓝|优秀个人博客
35Xmz胜于蓝|优秀个人博客
36Xmz胜于蓝|优秀个人博客
37Xmz胜于蓝|优秀个人博客
38Xmz胜于蓝|优秀个人博客
39Xmz胜于蓝|优秀个人博客
40Xmz胜于蓝|优秀个人博客
41Xmz胜于蓝|优秀个人博客
42Xmz胜于蓝|优秀个人博客
43Xmz胜于蓝|优秀个人博客
44Xmz胜于蓝|优秀个人博客
45Xmz胜于蓝|优秀个人博客
46Xmz胜于蓝|优秀个人博客
47Xmz胜于蓝|优秀个人博客
48Xmz胜于蓝|优秀个人博客
49Xmz胜于蓝|优秀个人博客
50Xmz胜于蓝|优秀个人博客
51Xmz胜于蓝|优秀个人博客
52Xmz胜于蓝|优秀个人博客
53Xmz胜于蓝|优秀个人博客
54Xmz胜于蓝|优秀个人博客
55Xmz胜于蓝|优秀个人博客
56Xmz胜于蓝|优秀个人博客
57Xmz胜于蓝|优秀个人博客
58Xmz胜于蓝|优秀个人博客
59Xmz胜于蓝|优秀个人博客
60Xmz胜于蓝|优秀个人博客
61Xmz胜于蓝|优秀个人博客
62
;( function( window ) {Xmz胜于蓝|优秀个人博客
     Xmz胜于蓝|优秀个人博客
    'use strict';Xmz胜于蓝|优秀个人博客
 Xmz胜于蓝|优秀个人博客
    function extend( a, b ) {Xmz胜于蓝|优秀个人博客
        forvar key in b ) {Xmz胜于蓝|优秀个人博客
            if( b.hasOwnProperty( key ) ) {Xmz胜于蓝|优秀个人博客
                a[key] = b[key];Xmz胜于蓝|优秀个人博客
            }Xmz胜于蓝|优秀个人博客
        }Xmz胜于蓝|优秀个人博客
        return a;Xmz胜于蓝|优秀个人博客
    }Xmz胜于蓝|优秀个人博客
 Xmz胜于蓝|优秀个人博客
    function CBPFWTabs( el, options ) {Xmz胜于蓝|优秀个人博客
        this.el = el;Xmz胜于蓝|优秀个人博客
        this.options = extend( {}, this.options );Xmz胜于蓝|优秀个人博客
        extend( this.options, options );Xmz胜于蓝|优秀个人博客
        this._init();Xmz胜于蓝|优秀个人博客
    }Xmz胜于蓝|优秀个人博客
 Xmz胜于蓝|优秀个人博客
    CBPFWTabs.prototype.options = {Xmz胜于蓝|优秀个人博客
        start : 0Xmz胜于蓝|优秀个人博客
    };Xmz胜于蓝|优秀个人博客
 Xmz胜于蓝|优秀个人博客
    CBPFWTabs.prototype._init = function() {Xmz胜于蓝|优秀个人博客
        // tabs elemesXmz胜于蓝|优秀个人博客
        this.tabs = [].slice.call( this.el.querySelectorAll( 'nav > ul > li' ) );Xmz胜于蓝|优秀个人博客
        // content itemsXmz胜于蓝|优秀个人博客
        this.items = [].slice.call( this.el.querySelectorAll( '.content > section' ) );Xmz胜于蓝|优秀个人博客
        // current indexXmz胜于蓝|优秀个人博客
        this.current = -1;Xmz胜于蓝|优秀个人博客
        // show current content itemXmz胜于蓝|优秀个人博客
        this._show();Xmz胜于蓝|优秀个人博客
        // init eventsXmz胜于蓝|优秀个人博客
        this._initEvents();Xmz胜于蓝|优秀个人博客
    };Xmz胜于蓝|优秀个人博客
 Xmz胜于蓝|优秀个人博客
    CBPFWTabs.prototype._initEvents = function() {Xmz胜于蓝|优秀个人博客
        var self = this;Xmz胜于蓝|优秀个人博客
        this.tabs.forEach( function( tab, idx ) {Xmz胜于蓝|优秀个人博客
            tab.addEventListener( 'click'function( ev ) {Xmz胜于蓝|优秀个人博客
                ev.preventDefault();Xmz胜于蓝|优秀个人博客
                self._show( idx );Xmz胜于蓝|优秀个人博客
            } );Xmz胜于蓝|优秀个人博客
        } );Xmz胜于蓝|优秀个人博客
    };Xmz胜于蓝|优秀个人博客
 Xmz胜于蓝|优秀个人博客
    CBPFWTabs.prototype._show = function( idx ) {Xmz胜于蓝|优秀个人博客
        ifthis.current >= 0 ) {Xmz胜于蓝|优秀个人博客
            this.tabs[ this.current ].className = '';Xmz胜于蓝|优秀个人博客
            this.items[ this.current ].className = '';Xmz胜于蓝|优秀个人博客
        }Xmz胜于蓝|优秀个人博客
        // change currentXmz胜于蓝|优秀个人博客
        this.current = idx != undefined ? idx : this.options.start >= 0 && this.options.start < this.items.length ? this.options.start : 0;Xmz胜于蓝|优秀个人博客
        this.tabs[ this.current ].className = 'tab-current';Xmz胜于蓝|优秀个人博客
        this.items[ this.current ].className = 'content-current';Xmz胜于蓝|优秀个人博客
    };Xmz胜于蓝|优秀个人博客
 Xmz胜于蓝|优秀个人博客
    // add to global namespaceXmz胜于蓝|优秀个人博客
    window.CBPFWTabs = CBPFWTabs;Xmz胜于蓝|优秀个人博客
 Xmz胜于蓝|优秀个人博客
})( window );

Tags:

很赞哦! ()

文章评论

当前时间

快速排名

  • 网站建设|万词霸屏,企业软文推广,刷下拉框
  • 快速排名:不用再等SEO三个月,只需3-7天即可把行业关键词覆盖百度搜索引擎首页,点击不收费,排名报表,真实访问量报表一目了然。

合作加盟

  • 扫码请注明来意,否则不会通过
  • 填写商户姓名不要带有“超市”,“便利店” ,“百货”等
  • 扫码成为快钱代理
  • 扫码加站长微信,为您推荐快钱总部负责人
  • 快钱POSS机(电签版)
  • 1,免押版:签约费率快捷交易0.38%,常规交易0.65%
  • 贷记卡单笔≥3000元视为激活
  • 2,,有押版:签约快捷交易0.38%,常规交易0.65%
  • 激活首刷≥99元,扣除99元系统服务费,多出部分shishi到账
  • 电签版ipos参与每月扶持奖励
  • 电签版ipos与Mpos单独考核台均
  • 30台以上有效激活奖励3000元扶持金
  • 当月交易额≥3000元的为活跃用户

站点信息

  • 建站时间:2018-10-24
  • 网站程序:帝国CMS7.5
  • 主题模板《今夕何夕》
  • 文章统计7074篇文章
  • 标签管理标签云
  • 统计数据百度统计
  • 扫描二维码:请注明来意,否则不会通过
  • 微信号:扫描二维码,关注我们
歌名 - 歌手
0:00