您所在的位置:小祥子 » 编程 » JavaScript » 正文

基于HTML5全屏图文左右滑动切换特效

时间:2015-07-23 编辑:拎壶充 来源:Cnblogs

基于HTML5全屏图文左右滑动切换特效。这是一款基于jQuery+HTML5实现的全屏图文切换特效代码。效果图如下:

在线预览    源码下载

实现的代码。

html代码:

 <main>
        <div class="cd-image-block">
            <ul class="cd-images-list">
                <li class="is-selected">
                    <a href="#0">
                        <h2>站长素材</h2>
                    </a>
                </li>

                <li>
                    <a href="#0">
                        <h2>站长素材2</h2>
                    </a>
                </li>

                <li>
                    <a href="#0">
                        <h2>站长素材3</h2>
                    </a>
                </li>

                <li>
                    <a href="#0">
                        <h2>站长素材4</h2>
                    </a>
                </li>
            </ul>
        </div>

        <div class="cd-content-block">
            <ul>
                <li class="is-selected">
                    <div>
                        <h2>站长素材</h2>

                        <p>
                            <script src="/scripts/2bc/_gg_980_90.JS" type="text/javascript"></script>
                        </p>

                        <p>
                            站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材
                        </p>

                        <p>
                            站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材
                        </p>
                    </div>
                </li>

                <li>
                    <div>
                        <h2>站长素材</h2>

                        <p>
                            站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材
                        </p>

                        <p>
                            站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材
                        </p>

                        <p>
                            站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材
                        </p>
                    </div>
                </li>

                <li>
                    <div>
                        <h2>站长素材</h2>

                        <p>
                            站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材
                        </p>

                        <p>
                            站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材
                        </p>

                        <p>
                            站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材
                        </p>
                    </div>
                </li>

                <li>
                    <div>
                        <h2>站长素材</h2>

                        <p>
                            站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材
                        </p>

                        <p>
                            站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材
                        </p>

                        <p>
                            站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材站长素材
                        </p>
                    </div>
                </li>
            </ul>

            <button class="cd-close">关闭</button>
        </div>

        <ul class="block-navigation">
            <li><button class="cd-prev inactive">上一页</button></li>
            <li><button class="cd-next">下一页</button></li>
        </ul>
    </main>

    <script src="js/jquery-2.1.4.js"></script>
    <script src="js/main.js"></script>
    <script src="adv-banners/ads.js"></script>

via:http://www.w2bc.com/article/50674

关键词:HTML 全屏 特效