最新文章专题视频专题问答1问答10问答100问答1000问答2000关键字专题1关键字专题50关键字专题500关键字专题1500TAG最新视频文章推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37视频文章20视频文章30视频文章40视频文章50视频文章60 视频文章70视频文章80视频文章90视频文章100视频文章120视频文章140 视频2关键字专题关键字专题tag2tag3文章专题文章专题2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章专题3
当前位置: 首页 - 科技 - 知识百科 - 正文

淘宝网店轮播图片html代码整理及局部调整

来源:动视网 责编:小采 时间:2020-11-27 15:28:41
文档

淘宝网店轮播图片html代码整理及局部调整

淘宝网店轮播图片html代码整理及局部调整:本文由Gxl网提供,介绍淘宝网店轮播图片html代码整理及局部调整。 1.主代码<p class="J_TWidget" data-widget-config="{'effect': 'fade', 'circular': true ,'
推荐度:
导读淘宝网店轮播图片html代码整理及局部调整:本文由Gxl网提供,介绍淘宝网店轮播图片html代码整理及局部调整。 1.主代码<p class="J_TWidget" data-widget-config="{'effect': 'fade', 'circular': true ,'


本文由Gxl网提供,介绍淘宝网店轮播图片html代码整理及局部调整。

1.主代码

<p class="J_TWidget" data-widget-config="{'effect': 'fade', 'circular': true ,'contentCls':'taobaoux'}" data-widget-type="Tabs" style="height:545px;overflow:hidden;">
 <p class="taobaoux" style="height:550px;">
 <p class="footer-more-trigger" style="width:1920px;height:550px;top:auto;padding:0px;border:none;left:50%;">
 <p class="footer-more-trigger" style="width:1920px;height:550px;padding:0px;border:none;left:-960px;">
 
 <p 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">
 
 <p class="J_TWidget" data-widget-config="{'trigger':'.ux1920','align':{'node':'.ux1920','offset':[-500,0],'points':['cc','cc']}}" data-widget-type="Popup" style="display:none;">
 <p class="prev1920" style="font-size:100px;cursor:pointer;opacity:0.5;color:#f00;"><</p>
 </p>
 <p class="J_TWidget" data-widget-config="{'trigger':'.ux1920','align':{'node':'.ux1920','offset':[500,0],'points':['cc','cc']}}" data-widget-type="Popup" style="display:none;">
 <p class="next1920" style="font-size:100px;cursor:pointer;opacity:0.5;color:#f00;">></p>
 </p>
 
 <p 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="http://tbux.taobao.com/" style="padding:0px;margin:0px;">
 <img src="http://demo.taobaoux.com/Carousel/1920/1920.jpg" width="1920px" height="550px" border="0px"></a></li>
 <li style="width:1920px;height:550px;padding:0px;margin:0px;">
 <a target="_blank" href="http://tbux.taobao.com/" style="padding:0px;margin:0px;">
 <img src="http://demo.taobaoux.com/Carousel/1920/1920_2.jpg" width="1920px" height="550px" border="0px"></a></li>
 <li style="width:1920px;height:550px;padding:0px;margin:0px;">
 <a target="_blank" href="http://tbux.taobao.com/" style="padding:0px;margin:0px;">
 <img src="http://demo.taobaoux.com/Carousel/1920/1920_3.jpg" width="1920px" height="550px" border="0px"></a></li>
 <li style="width:1920px;height:550px;padding:0px;margin:0px;">
 <a target="_blank" href="http://tbux.taobao.com/" style="padding:0px;margin:0px;">
 <img src="http://demo.taobaoux.com/Carousel/1920/1920_2.jpg" width="1920px" height="550px" border="0px"></a></li>
 <li style="width:1920px;height:550px;padding:0px;margin:0px;">
 <a target="_blank" href="http://tbux.taobao.com/" style="padding:0px;margin:0px;">
 <img src="http://demo.taobaoux.com/Carousel/1920/1920_3.jpg" width="1920px" height="550px" border="0px"></a></li>
 </ul>
 </p>
 
 <p class="footer-more-trigger" style="padding:0px;border:none;left:50%;">
 <p 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> 
 </p> 
 </p> 
 
 </p>
 
 </p>
 </p>
 </p>
 
 <ul class="ks-switchable-nav" style="display:none;"></ul>
 
 </p>


1.修改左箭头

<p class="prev1920" style="font-size:100px;cursor:pointer;opacity:0.5;color:#f00;"><</p> 
<p class="prev1920" style="width:97px;height:97px;"><img src="左箭头图片地址" /> </p>

2.修改右箭头:

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

改为:

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

3.箭头都放在左边:

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

修改为:

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

4.下方的缩略图改为数字:

 <p 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> 
</p>

改为:

 <p 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> 
 </p>

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

<p 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.gxlcms.com/div-tutorial-377487.html

学编程就来PHP中文网 www.gxlcms.com

文档

淘宝网店轮播图片html代码整理及局部调整

淘宝网店轮播图片html代码整理及局部调整:本文由Gxl网提供,介绍淘宝网店轮播图片html代码整理及局部调整。 1.主代码<p class="J_TWidget" data-widget-config="{'effect': 'fade', 'circular': true ,'
推荐度:
标签: 图片 淘宝 店铺
  • 热门焦点

最新推荐

猜你喜欢

热门推荐

专题
Top