allinone_bannerWithPlaylist.js 自带播放列表的幻灯片插件

allinone_bannerWithPlaylist.js 自带播放列表的幻灯片插件

allinone_bannerWithPlaylist.js 自带播放列表的幻灯片插件,自适应移动端

第一步引入bfwone

第二步执行插件代码

示例如下:

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8"><title>BFW NEW PAGE</title><script id="bfwone" data="dep=jquery.17|jquery-ui.min&err=0" type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/bfwone.js"></script>
    <script type="text/javascript">
        bready(function() {
            use(["allinone_bannerWithPlaylist", "allinone_bannerWithPlaylist"], function() {

                $('#allinone_bannerWithPlaylist_pureGallery').allinone_bannerWithPlaylist({

                    skin: 'pureGallery',

                    responsive: true,

                    width: 960,

                    height: 384,

                    borderWidth: 0,

                    borderColor: "#000000",

                    playlistWidth: 214,

                    origThumbImgW: 214,

                    origThumbImgH: 128

                });




            });
        });
    </script>
</head>
<body>


    <div id="containingDiv">

        <div id="allinone_bannerWithPlaylist_pureGallery" style="display:none;">

            <!-- 图片 -->

            <ul class="allinone_bannerWithPlaylist_list">

                <li data-bottom-thumb="//repo.bfw.wiki/bfwrepo/image/01_classic.jpg" data-text-id="#allinone_bannerWithPlaylist_photoText1"><img src="http://repo.bfw.wiki/bfwrepo/image/01_classic.jpg" alt="" /></li>

                <li data-bottom-thumb="//repo.bfw.wiki/bfwrepo/image/02_classic.jpg" data-text-id="#allinone_bannerWithPlaylist_photoText2"><img src="http://repo.bfw.wiki/bfwrepo/image/02_classic.jpg" alt="" /></li>
                <li data-bottom-thumb="//repo.bfw.wiki/bfwrepo/image/01_classic.jpg" data-text-id="#allinone_bannerWithPlaylist_photoText4"><img src="http://repo.bfw.wiki/bfwrepo/image/01_classic.jpg" alt="" /></li>

                <li data-bottom-thumb="//repo.bfw.wiki/bfwrepo/image/02_classic.jpg" data-text-id="#allinone_bannerWithPlaylist_photoText3"><img src="http://repo.bfw.wiki/bfwrepo/image/02_classic.jpg" alt="" /></li>

            </ul>



            <!-- 文字 -->

            <div id="allinone_bannerWithPlaylist_photoText1" class="allinone_bannerWithPlaylist_texts">

                <div class="allinone_bannerWithPlaylist_text_line textElement11_pureGallery" data-initial-left="0" data-initial-top="100" data-final-left="0" data-final-top="294" data-duration="0.5" data-fade-start="0" data-delay="0">
                    <span style="text-transform:uppercase; font-weight:bold; padding-left:5px;">Up to 5 types of sliders</span><br />

                    <span style="padding-left:5px;">Each with multiple SKINS</span>
                </div>

            </div>

            <div id="allinone_bannerWithPlaylist_photoText2" class="allinone_bannerWithPlaylist_texts">

                <div class="allinone_bannerWithPlaylist_text_line textElement21_pureGallery" data-initial-left="80" data-initial-top="30" data-final-left="30" data-final-top="30" data-duration="0.5" data-fade-start="0" data-delay="0">
                    16 transition effects<br />

                    for images
                </div>

                <div class="allinone_bannerWithPlaylist_text_line textElement22_pureGallery" data-initial-left="280" data-initial-top="100" data-final-left="30" data-final-top="100" data-duration="0.5" data-fade-start="0" data-delay="0.3">
                    optional can set the transition<br />

                    for each image
                </div>

            </div>

            <div id="allinone_bannerWithPlaylist_photoText3" class="allinone_bannerWithPlaylist_texts">

                <div class="allinone_bannerWithPlaylist_text_line textElement31_pureGallery" data-initial-left="0" data-initial-top="50" data-final-left="40" data-final-top="35" data-duration="0.5" data-fade-start="0" data-delay="0">
                    Animated text from any direction
                </div>

                <div class="allinone_bannerWithPlaylist_text_line textElement32_pureGallery" data-initial-left="0" data-initial-top="90" data-final-left="40" data-final-top="70" data-duration="0.5" data-fade-start="0" data-delay="0.3">
                    top, bottom, left and right
                </div>

                <div class="allinone_bannerWithPlaylist_text_line textElement33_pureGallery" data-initial-left="0" data-initial-top="200" data-final-left="40" data-final-top="105" data-duration="1" data-fade-start="0" data-delay="0.5">
                    Any color, CSS and HTML formated
                </div>

            </div>

            <div id="allinone_bannerWithPlaylist_photoText4" class="allinone_bannerWithPlaylist_texts">

                <div class="allinone_bannerWithPlaylist_text_line textElement41_pureGallery" data-initial-left="0" data-initial-top="100" data-final-left="0" data-final-top="293" data-duration="0.5" data-fade-start="0" data-delay="0">
                    <span style="padding-left:5px;">Lorem <a href="http://www.dowebok.com/html/2013/allinone.html" target="_blank">Ipsum</a> Dolor Sit Amet</span><br />

                    <span style="padding-left:5px;">Consectetur Adiscipit</span>
                </div>

            </div>

            <div id="allinone_bannerWithPlaylist_photoText5" class="allinone_bannerWithPlaylist_texts">

                <div class="allinone_bannerWithPlaylist_text_line textElement51_pureGallery" data-initial-left="30" data-initial-top="0" data-final-left="30" data-final-top="270" data-duration="0.5" data-fade-start="0" data-delay="0">
                    Line One is here
                </div>

                <div class="allinone_bannerWithPlaylist_text_line textElement52_pureGallery" data-initial-left="30" data-initial-top="384" data-final-left="30" data-final-top="250" data-duration="0.5" data-fade-start="0" data-delay="0.3">
                    Line Two over there
                </div>

            </div>

        </div>

    </div>





</body>
</html>


立即下载allinone_bannerWithPlaylist.js查看所有js插件

网友评论0

程序员在线工具箱