allinone_thumbnailsBanner.js带缩略图的幻灯片,移动端自适应,支持多皮肤

allinone_thumbnailsBanner.js带缩略图的幻灯片,移动端自适应,支持多皮肤

allinone_thumbnailsBanner.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_thumbnailsBanner", "allinone_thumbnailsBanner"], function() {

                $('#allinone_thumbnailsBanner_cool').allinone_thumbnailsBanner({

                    skin: 'cool',

                    numberOfThumbsPerScreen: 7,

                    width: 960,

                    height: 384,

                    thumbsReflection: 0,

                    responsive: true,

                    origthumbsHolderWrapperH: 121,

                    thumbsWrapperMarginTop: 0

                });



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

    <div id="containingDiv">

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

            <ul class="allinone_thumbnailsBanner_list">

                <!-- 图片 -->

                <li data-bottom-thumb="//repo.bfw.wiki/bfwrepo/image/01_classic.jpg" data-text-id="#allinone_thumbnailsBanner_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_thumbnailsBanner_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_thumbnailsBanner_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_thumbnailsBanner_photoText2"><img src="http://repo.bfw.wiki/bfwrepo/image/02_classic.jpg" alt="" /></li>

            </ul>



            <!-- 文字 -->

            <div id="allinone_thumbnailsBanner_photoText1" class="allinone_thumbnailsBanner_texts">

                <div class="allinone_thumbnailsBanner_text_line textElement11_cool_responsive" data-initial-left="50" data-initial-top="10" data-final-left="50" data-final-top="40" data-duration="0.5" data-fade-start="0" data-delay="0">
                    Up to 5 types of banners
                </div>

                <div class="allinone_thumbnailsBanner_text_line textElement12_cool_responsive" data-initial-left="50" data-initial-top="10" data-final-left="50" data-final-top="70" data-duration="0.5" data-fade-start="0" data-delay="0.3">
                    Each with <a href="http://codecanyon.net/user/LambertGroup?ref=LambertGroup" target="_blank">multiple</a> SKINS
                </div>

            </div>

            <div id="allinone_thumbnailsBanner_photoText2" class="allinone_thumbnailsBanner_texts">

                <div class="allinone_thumbnailsBanner_text_line textElement21_cool_responsive" data-initial-left="460" data-initial-top="60" data-final-left="460" data-final-top="60" data-duration="0.5" data-fade-start="0" data-delay="0">
                    16 transition effects<br />

                    for images
                </div>

                <div class="allinone_thumbnailsBanner_text_line textElement22_cool_responsive" data-initial-left="460" data-initial-top="145" data-final-left="460" data-final-top="145" 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_thumbnailsBanner_photoText3" class="allinone_thumbnailsBanner_texts">

                <div class="allinone_thumbnailsBanner_text_line textElement31_cool_responsive" data-initial-left="480" data-initial-top="60" data-final-left="50" data-final-top="60" data-duration="0.5" data-fade-start="0" data-delay="0">
                    Animated text from any direction
                </div>

                <div class="allinone_thumbnailsBanner_text_line textElement32_cool_responsive" data-initial-left="0" data-initial-top="85" data-final-left="50" data-final-top="85" data-duration="0.5" data-fade-start="0" data-delay="0.3">
                    top, bottom, left and right
                </div>

                <div class="allinone_thumbnailsBanner_text_line textElement33_cool_responsive" data-initial-left="50" data-initial-top="250" data-final-left="50" data-final-top="123" data-duration="1" data-fade-start="0" data-delay="0.5">
                    Any color, CSS and HTML formated
                </div>

            </div>

            <div id="allinone_thumbnailsBanner_photoText4" class="allinone_thumbnailsBanner_texts">

                <div class="allinone_thumbnailsBanner_text_line textElement41_cool_responsive" data-initial-left="50" data-initial-top="0" data-final-left="50" data-final-top="260" data-duration="0.5" data-fade-start="0" data-delay="0">
                    Line One is here
                </div>

                <div class="allinone_thumbnailsBanner_text_line textElement42_cool_responsive" data-initial-left="53" data-initial-top="384" data-final-left="53" data-final-top="240" data-duration="0.5" data-fade-start="0" data-delay="0.3">
                    Line Two over there
                </div>

            </div>

            <div id="allinone_thumbnailsBanner_photoText5" class="allinone_thumbnailsBanner_texts">

                <div class="allinone_thumbnailsBanner_text_line textElement51_cool_responsive" data-initial-left="130" data-initial-top="52" data-final-left="430" data-final-top="52" data-duration="0.5" data-fade-start="0" data-delay="0">
                    <a href="http://codecanyon.net/user/LambertGroup?ref=LambertGroup" target="_blank">Cool Title Right Here</a>
                </div>

                <div class="allinone_thumbnailsBanner_text_line textElement52_cool_responsive" data-initial-left="430" data-initial-top="300" data-final-left="430" data-final-top="95" data-duration="0.5" data-fade-start="0" data-delay="0.3">
                    Lorem ipsum dolor sit amet, <a href="http://codecanyon.net/user/LambertGroup?ref=LambertGroup" target="_blank">consectetur</a> adipisicing elit, sed do eiusmod tempor incididunt.
                </div>

            </div>

        </div>

    </div>




</body>
</html>


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

网友评论0

程序员在线工具箱