首页 > 兴趣百科 > 手工制作 > [全屏轮播海报在线制作]2014全屏轮播海报制作教程

[全屏轮播海报在线制作]2014全屏轮播海报制作教程

时间:2018-12-07   来源:手工制作   点击:

【www.gbppp.com--手工制作】

 每次进去些店铺看到人家的全屏轮播装修是不是觉得很高端大气上档次,其实所有卖家都可以这样装修的。

下面的全屏轮播代码可以兼容新旺铺(系统自带的三个模板,全部完美全屏居中)并且也支持老旺铺拓展版,拓展版都会全屏居中。

2014全屏轮播海报制作教程 烟花美文网

轮播左右的两个大箭头,这次直接使用<>符号,非图片形式,事实上写此全屏轮播,我第一个改的就是这两个大箭头,比如自己店铺的主色调是绿色,那箭头就改为绿色。

下方的五个图标,这次改为了五张小图,因为我们自定义没办法实现 点击箭头左右切换时,下方的图标也跟随左右切换,这是需要用到判断的,我没办法实现,所以改为五张小图,是为了让客户知道到底有几张图在轮播,方便客户查看,提高用户体验。同时,五张小图直接浮动于大图上方,底部采用半透明背景。

这里说下底部的半透明背景,这次编写,最难的、也最耗时的地方就是这个半透明,支持CSS3的主流浏览器,只要一个opacity即可实现半透明,但IE却是不支持这个属性的,所以在IE下你将看到一条实心的黑色矩形,而不是半透明效果,在IE下想要实现半透明,那就要用到滤镜,但请注意,淘宝不支持filter:alpha半透明滤镜。为了解决这个问题,我花费了一上午的时间在查阅相关文档,最后,我采用了一张PNG半透明图片替代,放弃了opacity属性和IE滤镜,这样除了IE6不支持半透明以处,其它浏览器都是正常半透明效果的。

五张小图的尺寸全部为:120px*39px,你不需要单独做这五张小图!把全屏大图上传图片空间后,直接使用图片空间提供的小图尺寸即可,或者你也可以直接在原图地址后面添加:_120x120.jpg

2014全屏轮播海报制作教程-简单易懂

此款全屏轮播,共写了三个尺寸,分别为1920px,1680px,1440px,高度统一为550px,三款尺寸可以同时使用,互不影响,但不建议这样做!这三个尺寸,没有说哪个好哪个不好,只是说尺寸越大,兼容性就越好一些,但请注意,尺寸大了,图片的容量也将会同时变大!图片的容量大了,将会直接影响店铺的载入速度。

如果你没有五张全屏大图那么多,或者你认为不需要五张,那直接删除代码中 图片所在的<li>标签即可。不管你使用几张轮播图,下面的小图都是居中的。

使用说明:

1.下载这张底部半透明图片(   )上传自己的图片空间,替换下面代码中的”http://demo.taobaoux.com/Carousel/Carousel_bg.png“

2.如何将代码中的大图改为自己的图片,找到下面这段代码:
                        <ul class="taobaoux-com" style="height:550px;width:1920px;padding:0px;margin:0px;">
                          <li style="width:1920px;height:550px;padding:0px;margin:0px;">
                            <a target="_blank"  href="店铺地址" style="padding:0px;margin:0px;">
                                <img src="图片地址" width="1920px" height="550px" border="0px"></a></li>
                          <li style="width:1920px;height:550px;padding:0px;margin:0px;">
                            <a target="_blank"  href="店铺地址" style="padding:0px;margin:0px;">
                                <img src="图片地址" width="1920px" height="550px" border="0px"></a></li>
                          <li style="width:1920px;height:550px;padding:0px;margin:0px;">
                            <a target="_blank"  href="店铺地址" style="padding:0px;margin:0px;">
                                <img src="图片地址" width="1920px" height="550px" border="0px"></a></li>
                          <li style="width:1920px;height:550px;padding:0px;margin:0px;">
                            <a target="_blank"  href="店铺地址" style="padding:0px;margin:0px;">
                                <img src="图片地址" width="1920px" height="550px" border="0px"></a></li>
                          <li style="width:1920px;height:550px;padding:0px;margin:0px;">
                            <a target="_blank"  href="店铺地址" style="padding:0px;margin:0px;">
                                <img src="图片地址" width="1920px" height="550px" border="0px"></a></li>
                        </ul>

代码中总共有五张大图,按顺序依次替换,src=""里面的就是图片地址,href="" 里面的就是对应的宝贝链接。

3.如何将代码中的小图改为自己的图片,找到下面这段代码:
                            <ul class="bbs-taobaoux-com" style="width:950px;height:50px;margin:0 auto;text-align: center;">
                                <li style="display: inline;margin: 0 5px;cursor:pointer;line-height: 50px;">
                                    <img src="图片地址" width="120px" height="39px" border="0px" style="vertical-align:middle;margin:5px 0;" /></li>
                                <li style="display: inline;margin: 0 5px;cursor:pointer;line-height: 50px;">
                                    <img src="图片地址" width="120px" height="39px" border="0px" style="vertical-align:middle;margin:5px 0;" /></li>
                                <li style="display: inline;margin: 0 5px;cursor:pointer;line-height: 50px;">
                                    <img src="图片地址" width="120px" height="39px" border="0px" style="vertical-align:middle;margin:5px 0;" /></li>
                                <li style="display: inline;margin: 0 5px;cursor:pointer;line-height: 50px;">
                                    <img src="图片地址" width="120px" height="39px" border="0px" style="vertical-align:middle;margin:5px 0;" /></li>
                                <li style="display: inline;margin: 0 5px;cursor:pointer;line-height: 50px;">
                                    <img src="图片地址" width="120px" height="39px" border="0px" style="vertical-align:middle;margin:5px 0;" /></li>
                            </ul>  


代码中总共有五张小图,按顺序依次替换,src=""里面的就是图片地址,href="" 里面的就是对应的宝贝链接。

注:为了方便大家使用,代码中的图片全部存放于本站,大家可以直接到自己的店铺中测试(成人类目除外),测试通过后,再修改其中的图片地址和链接地址即可。

1920px 全屏轮播代码:(点击下面的”“即可全部复制)
<div class="J_TWidget" data-widget-config="{"effect": "fade", "circular": true ,"contentCls":"taobaoux"}" data-widget-type="Tabs" style="height:545px;overflow:hidden;">
  <div class="taobaoux" style="height:550px;">
        <div class="footer-more-trigger" style="width:1920px;height:550px;top:auto;padding:0px;border:none;left:50%;">
            <div class="footer-more-trigger" style="width:1920px;height:550px;padding:0px;border:none;left:-960px;">
           
              <div data-widget-config="{"contentCls": "taobaoux-com","navCls": "bbs-taobaoux-com","effect": "scrollx","easing": "easeOutStrong","prevBtnCls":"prev1920","nextBtnCls":"next1920","autoplay": true,"viewSize":[1920],"circular": true}" data-widget-type="Carousel" class="J_TWidget">
                   
                    <div class="J_TWidget" data-widget-config="{"trigger":".ux1920","align":{"node":".ux1920","offset":[-500,0],"points":["cc","cc"]}}" data-widget-type="Popup" style="display:none;">
                        <div class="prev1920" style="font-size:100px;cursor:pointer;opacity:0.5;color:#f00;"><</div>
                    </div>
          <div class="J_TWidget" data-widget-config="{"trigger":".ux1920","align":{"node":".ux1920","offset":[500,0],"points":["cc","cc"]}}" data-widget-type="Popup" style="display:none;">
                        <div class="next1920" style="font-size:100px;cursor:pointer;opacity:0.5;color:#f00;">></div>
                    </div>
               
                    <div style="height:550px;width:1920px;overflow:hidden;padding:0px;margin:0px;" class="ux1920">
                        <ul class="taobaoux-com" style="height:550px;width:1920px;padding:0px;margin:0px;">
                          <li style="width:1920px;height:550px;padding:0px;margin:0px;">
                            <a target="_blank"  href="店铺地址" style="padding:0px;margin:0px;">
                                <img src="图片地址" width="1920px" height="550px" border="0px"></a></li>
                          <li style="width:1920px;height:550px;padding:0px;margin:0px;">
                            <a target="_blank"  href="店铺地址" style="padding:0px;margin:0px;">
                                <img src="图片地址" width="1920px" height="550px" border="0px"></a></li>
                          <li style="width:1920px;height:550px;padding:0px;margin:0px;">
                            <a target="_blank"  href="店铺地址" style="padding:0px;margin:0px;">
                                <img src="图片地址" width="1920px" height="550px" border="0px"></a></li>
                          <li style="width:1920px;height:550px;padding:0px;margin:0px;">
                            <a target="_blank"  href="店铺地址" style="padding:0px;margin:0px;">
                                <img src="图片地址" width="1920px" height="550px" border="0px"></a></li>
                          <li style="width:1920px;height:550px;padding:0px;margin:0px;">
                            <a target="_blank"  href="店铺地址" style="padding:0px;margin:0px;">
                                <img src="图片地址" width="1920px" height="550px" border="0px"></a></li>
                        </ul>
                    </div>
   
                    <div class="footer-more-trigger" style="padding:0px;border:none;left:50%;">
                        <div class="footer-more-trigger" style="width:1920px;height:50px;padding:0px;border:none;left:-960px;background: url(http://demo.taobaoux.com/Carousel/Carousel_bg.png) repeat;top:505px;">
                            <ul class="bbs-taobaoux-com" style="width:950px;height:50px;margin:0 auto;text-align: center;">
                                <li style="display: inline;margin: 0 5px;cursor:pointer;line-height: 50px;">
                                    <img src="图片地址" width="120px" height="39px" border="0px" style="vertical-align:middle;margin:5px 0;" /></li>
                                <li style="display: inline;margin: 0 5px;cursor:pointer;line-height: 50px;">
                                    <img src="图片地址" width="120px" height="39px" border="0px" style="vertical-align:middle;margin:5px 0;" /></li>
                                <li style="display: inline;margin: 0 5px;cursor:pointer;line-height: 50px;">
                                    <img src="图片地址" width="120px" height="39px" border="0px" style="vertical-align:middle;margin:5px 0;" /></li>
                                <li style="display: inline;margin: 0 5px;cursor:pointer;line-height: 50px;">
                                    <img src="图片地址" width="120px" height="39px" border="0px" style="vertical-align:middle;margin:5px 0;" /></li>
                                <li style="display: inline;margin: 0 5px;cursor:pointer;line-height: 50px;">
                                    <img src="图片地址" width="120px" height="39px" border="0px" style="vertical-align:middle;margin:5px 0;" /></li>
                            </ul>  
                        </div>   
                    </div> 
                   
                </div>
               
            </div>
        </div>
    </div>
   
  <ul class="ks-switchable-nav" style="display:none;"></ul>
   
</div>

1680px 全屏轮播代码:
<div class="J_TWidget" data-widget-config="{"effect": "fade", "circular": true ,"contentCls":"taobaoux"}" data-widget-type="Tabs" style="height:545px;overflow:hidden;">
  <div class="taobaoux" style="height:550px;">
      <div class="footer-more-trigger" style="width:1680px;height:550px;top:auto;padding:0px;border:none;left:50%;">
      <div class="footer-more-trigger" style="width:1680px;height:550px;padding:0px;border:none;left:-840px;">
   
            <div data-widget-config="{"contentCls": "taobaoux-com","navCls": "bbs-taobaoux-com","effect": "scrollx","easing": "easeOutStrong","prevBtnCls":"prev1680","nextBtnCls":"next1680","autoplay": true,"viewSize":[1680],"circular": true}" data-widget-type="Carousel" class="J_TWidget">
                   
                    <div class="J_TWidget" data-widget-config="{"trigger":".ux1680","align":{"node":".ux1680","offset":[-500,0],"points":["cc","cc"]}}" data-widget-type="Popup" style="display:none;">
                        <div class="prev1680" style="font-size:100px;cursor:pointer;opacity:0.5;color:#f00;"><</div>
                    </div>
          <div class="J_TWidget" data-widget-config="{"trigger":".ux1680","align":{"node":".ux1680","offset":[500,0],"points":["cc","cc"]}}" data-widget-type="Popup" style="display:none;">
                        <div class="next1680" style="font-size:100px;cursor:pointer;opacity:0.5;color:#f00;">></div>
                    </div>
           
                    <div style="height:550px;width:1680px;overflow:hidden;padding:0px;margin:0px;" class="ux1680">
                        <ul class="taobaoux-com" style="height:550px;width:1680px;padding:0px;margin:0px;">
                          <li style="width:1680px;height:550px;padding:0px;margin:0px;">
                            <a target="_blank"  href="店铺地址" style="padding:0px;margin:0px;">
                                <img src="图片地址" width="1680px" height="550px" border="0px"></a></li>
                          <li style="width:1680px;height:550px;padding:0px;margin:0px;">
                            <a target="_blank"  href="店铺地址" style="padding:0px;margin:0px;">
                                <img src="图片地址" width="1680px" height="550px" border="0px"></a></li>
                          <li style="width:1680px;height:550px;padding:0px;margin:0px;">
                            <a target="_blank"  href="店铺地址" style="padding:0px;margin:0px;">
                                <img src="图片地址" width="1680px" height="550px" border="0px"></a></li>
                          <li style="width:1680px;height:550px;padding:0px;margin:0px;">
                            <a target="_blank"  href="店铺地址" style="padding:0px;margin:0px;">
                                <img src="图片地址" width="1680px" height="550px" border="0px"></a></li>
                          <li style="width:1680px;height:550px;padding:0px;margin:0px;">
                            <a target="_blank"  href="店铺地址" style="padding:0px;margin:0px;">
                                <img src="图片地址" width="1680px" height="550px" border="0px"></a></li>
                        </ul>
                    </div>

                    <div class="footer-more-trigger" style="padding:0px;border:none;left:50%;">
                        <div class="footer-more-trigger" style="width:1680px;height:50px;padding:0px;border:none;left:-840px;background: url(http://demo.taobaoux.com/Carousel/Carousel_bg.png) repeat;top:505px;">
                            <ul class="bbs-taobaoux-com" style="width:950px;height:50px;margin:0 auto;text-align: center;">
                                <li style="display: inline;margin: 0 5px;cursor:pointer;line-height: 50px;">
                                    <img src="http://demo.taobaoux.com/Carousel/1680/1680*550_1.jpg" width="120px" height="39px" border="0px" style="vertical-align:middle;margin:5px 0;" /></li>
                                <li style="display: inline;margin: 0 5px;cursor:pointer;line-height: 50px;">
                                    <img src="http://demo.taobaoux.com/Carousel/1680/1680*550_2.jpg" width="120px" height="39px" border="0px" style="vertical-align:middle;margin:5px 0;" /></li>
                                <li style="display: inline;margin: 0 5px;cursor:pointer;line-height: 50px;">
                                    <img src="http://demo.taobaoux.com/Carousel/1680/1680*550_3.jpg" width="120px" height="39px" border="0px" style="vertical-align:middle;margin:5px 0;" /></li>
                                <li style="display: inline;margin: 0 5px;cursor:pointer;line-height: 50px;">
                                    <img src="http://demo.taobaoux.com/Carousel/1680/1680*550_4.jpg" width="120px" height="39px" border="0px" style="vertical-align:middle;margin:5px 0;" /></li>
                                <li style="display: inline;margin: 0 5px;cursor:pointer;line-height: 50px;">
                                    <img src="http://demo.taobaoux.com/Carousel/1680/1680*550_5.jpg" width="120px" height="39px" border="0px" style="vertical-align:middle;margin:5px 0;" /></li>
                            </ul>  
                        </div>   
                    </div> 
       
        </div>
               
          </div>
        </div>   
  </div>
   
    <ul class="ks-switchable-nav" style="display:none;"></ul>

</div>

1440px 全屏轮播代码:
<div class="J_TWidget" data-widget-config="{"effect": "fade", "circular": true ,"contentCls":"taobaoux"}" data-widget-type="Tabs" style="height:545px;overflow:hidden;">
  <div class="taobaoux" style="height:550px;">
        <div class="footer-more-trigger" style="width:1440px;height:550px;top:auto;padding:0px;border:none;left:50%;">
            <div class="footer-more-trigger" style="width:1440px;height:550px;padding:0px;border:none;left:-720px;">
           
              <div data-widget-config="{"contentCls": "taobaoux-com","navCls": "bbs-taobaoux-com","effect": "scrollx","easing": "easeOutStrong","prevBtnCls":"prev1440","nextBtnCls":"next1440","autoplay": true,"viewSize":[1440],"circular": true}" data-widget-type="Carousel" class="J_TWidget">
                   
                    <div class="J_TWidget" data-widget-config="{"trigger":".ux1440","align":{"node":".ux1440","offset":[-500,0],"points":["cc","cc"]}}" data-widget-type="Popup" style="display:none;">
                        <div class="prev1440" style="font-size:100px;cursor:pointer;opacity:0.5;color:#f00;"><</div>
                    </div>
          <div class="J_TWidget" data-widget-config="{"trigger":".ux1440","align":{"node":".ux1440","offset":[500,0],"points":["cc","cc"]}}" data-widget-type="Popup" style="display:none;">
                        <div class="next1440" style="font-size:100px;cursor:pointer;opacity:0.5;color:#f00;">></div>
                    </div>
               
                    <div style="height:550px;width:1440px;overflow:hidden;padding:0px;margin:0px;" class="ux1440">
                        <ul class="taobaoux-com" style="height:550px;width:1440px;padding:0px;margin:0px;">
                          <li style="width:1440px;height:550px;padding:0px;margin:0px;">
                            <a target="_blank"  href="店铺地址" style="padding:0px;margin:0px;">
                                <img src="http://demo.taobaoux.com/Carousel/1440/1440*550_1.jpg" width="1440px" height="550px" border="0px"></a></li>
                          <li style="width:1440px;height:550px;padding:0px;margin:0px;">
                            <a target="_blank"  href="店铺地址" style="padding:0px;margin:0px;">
                                <img src="http://demo.taobaoux.com/Carousel/1440/1440*550_2.jpg" width="1440px" height="550px" border="0px"></a></li>
                          <li style="width:1440px;height:550px;padding:0px;margin:0px;">
                            <a target="_blank"  href="店铺地址" style="padding:0px;margin:0px;">
                                <img src="http://demo.taobaoux.com/Carousel/1440/1440*550_3.jpg" width="1440px" height="550px" border="0px"></a></li>
                        </ul>
                    </div>
   
                    <div class="footer-more-trigger" style="padding:0px;border:none;left:50%;">
                        <div class="footer-more-trigger" style="width:1440px;height:50px;padding:0px;border:none;left:-720px;background: url(http://demo.taobaoux.com/Carousel/Carousel_bg.png) repeat;top:505px;">
                            <ul class="bbs-taobaoux-com" style="width:950px;height:50px;margin:0 auto;text-align: center;">
                                <li style="display: inline;margin: 0 5px;cursor:pointer;line-height: 50px;">
                                    <img src="http://demo.taobaoux.com/Carousel/1440/1440*550_1.jpg" width="120px" height="39px" border="0px" style="vertical-align:middle;margin:5px 0;" /></li>
                                <li style="display: inline;margin: 0 5px;cursor:pointer;line-height: 50px;">
                                    <img src="http://demo.taobaoux.com/Carousel/1440/1440*550_2.jpg" width="120px" height="39px" border="0px" style="vertical-align:middle;margin:5px 0;" /></li>
                                <li style="display: inline;margin: 0 5px;cursor:pointer;line-height: 50px;">
                                    <img src="http://demo.taobaoux.com/Carousel/1440/1440*550_3.jpg" width="120px" height="39px" border="0px" style="vertical-align:middle;margin:5px 0;" /></li>
                            </ul>  
                        </div>   
                    </div> 
                   
                </div>
               
            </div>
        </div>
    </div>
   
  <ul class="ks-switchable-nav" style="display:none;"></ul>
   
</div>


注:如果你想把此全屏轮播做的更加个性,那就请认真看完以下内容吧。

1.修改左箭头:

<div class="prev1920" style="font-size:100px;cursor:pointer;opacity:0.5;color:#f00;"><</div>

修改为:

<div class="prev1920" style="width:97px;height:97px;">
     <img src="左箭头图片地址" />
</div>

2.修改右箭头:

<div class="next1920" style="font-size:100px;cursor:pointer;opacity:0.5;color:#f00;">></div>

修改为:

<div class="next1920" style="width:97px;height:97px;">
     <img src="右箭头图片地址" />
</div>

这里箭头尺寸是97px*97px,如果你的图片不是这个尺寸,请自行修改。

3.箭头都放在左边:

<div class="J_TWidget" data-widget-config="{"trigger":".ux1920","align":{"node":".ux1920","offset":[-500,0],"points":["cc","cc"]}}" data-widget-type="Popup" style="display:none;">
    <div class="prev1920" style="font-size:100px;cursor:pointer;opacity:0.5;color:#f00;"><</div>
</div>
<div class="J_TWidget" data-widget-config="{"trigger":".ux1920","align":{"node":".ux1920","offset":[500,0],"points":["cc","cc"]}}" data-widget-type="Popup" style="display:none;">
    <div class="next1920" style="font-size:100px;cursor:pointer;opacity:0.5;color:#f00;">></div>
</div>

修改为:

<div class="J_TWidget" data-widget-config="{"trigger":".ux1920","align":{"node":".ux1920","offset":[-500,0],"points":["cc","cc"]}}" data-widget-type="Popup" style="display:none;">
    <div class="prev1920" style="width:97px;height:97px;margin-left: 97px;">
        <img src="左箭头图片地址" /></div>
    <div class="next1920" style="width:97px;height:97px;">
        <img src="右箭头图片地址" /></div>
</div>

4.下方的缩略图改为数字:
                        <div class="footer-more-trigger" style="width:1920px;height:50px;padding:0px;border:none;left:-960px;background: url(http://demo.taobaoux.com/Carousel/Carousel_bg.png) repeat;top:505px;">
                            <ul class="bbs-taobaoux-com" style="width:950px;height:50px;margin:0 auto;text-align: center;">
                                <li style="display: inline;margin: 0 5px;cursor:pointer;line-height: 50px;">
                                    <img src="http://demo.taobaoux.com/Carousel/1920/1920.jpg" width="120px" height="39px" border="0px" style="vertical-align:middle;margin:5px 0;" /></li>
                                <li style="display: inline;margin: 0 5px;cursor:pointer;line-height: 50px;">
                                    <img src="http://demo.taobaoux.com/Carousel/1920/1920_2.jpg" width="120px" height="39px" border="0px" style="vertical-align:middle;margin:5px 0;" /></li>
                                <li style="display: inline;margin: 0 5px;cursor:pointer;line-height: 50px;">
                                    <img src="http://demo.taobaoux.com/Carousel/1920/1920_3.jpg" width="120px" height="39px" border="0px" style="vertical-align:middle;margin:5px 0;" /></li>
                                <li style="display: inline;margin: 0 5px;cursor:pointer;line-height: 50px;">
                                    <img src="http://demo.taobaoux.com/Carousel/1920/1920_2.jpg" width="120px" height="39px" border="0px" style="vertical-align:middle;margin:5px 0;" /></li>
                                <li style="display: inline;margin: 0 5px;cursor:pointer;line-height: 50px;">
                                    <img src="http://demo.taobaoux.com/Carousel/1920/1920_3.jpg" width="120px" height="39px" border="0px" style="vertical-align:middle;margin:5px 0;" /></li>
                            </ul>  
                        </div>

修改为:
                        <div class="footer-more-trigger" style="width:1920px;height:30px;padding:0px;border:none;left:-960px;background: url(http://demo.taobaoux.com/Carousel/Carousel_bg.png) repeat;top:525px;">
                            <ul class="bbs-taobaoux-com" style="width:950px;height:30px;margin:0 auto;text-align: center;">
                                <li style="display: inline;margin: 0 5px;padding: 5px;opacity: 0.5;cursor:pointer;color:#000;background:#fff;line-height:30px;">1</li>
                                <li style="display: inline;margin: 0 5px;padding: 5px;opacity: 0.5;cursor:pointer;color:#000;background:#fff;line-height:30px;">2</li>
                                <li style="display: inline;margin: 0 5px;padding: 5px;opacity: 0.5;cursor:pointer;color:#000;background:#fff;line-height:30px;">3</li>
                                <li style="display: inline;margin: 0 5px;padding: 5px;opacity: 0.5;cursor:pointer;color:#000;background:#fff;line-height:30px;">4</li>
                                <li style="display: inline;margin: 0 5px;padding: 5px;opacity: 0.5;cursor:pointer;color:#000;background:#fff;line-height:30px;">5</li>
                            </ul>  
                        </div>

5.不喜欢底部的半透明图片?

找到下面这段代码:

<div class="footer-more-trigger" style="width:1920px;height:50px;padding:0px;border:none;left:-960px;background: url(http://demo.taobaoux.com/Carousel/Carousel_bg.png) repeat;top:505px;">

删除

background: url(http://demo.taobaoux.com/Carousel/Carousel_bg.png) repeat;

6.修改滚动动画效果:

找到"effect": "scrollx"  把scrollx改为scrolly就是垂直滚动,改为fade就是淡隐淡现。

7.修改滚动动画速度:

在"effect": "scrollx",后面添加一个属性 "duration":0.5,

默认值就是0.5,如果需要加快滚动速度,把0.5改为0.1;需要滚动速度慢一点,就把0.5加大,建议改为0.9以内。

本文来源:http://www.gbppp.com/xq/523271/

推荐访问:全屏轮播海报在线制作

热门文章