如何能让特价区滚动速度慢下来?
2016-07-07 16:02 来源:www.chinab4c.com 作者:ecshop专家
我用的国美模板,查看 Index.dwt 文件里面的特价区代码如下: <div class="clearfix" style=" display: none"> <div class="w780" > <!--{if $promotion_goods} promotion start--> <h1 class="mod2tit" style="background:url(images/tejiaTitle.gif); position:relative;"> <div class="more clearfix"> <div id="more"><a href="../search.php?intro=promotion">更多</a></div> </div> </h1> <div class="mod1 mod2" style="border-top:none; padding-top:8px;"> <span class="lb"></span><span class="rb"></span> <div class="clearfix"> <!-- picrotate_left start --> <DIV class=blk_18> <A onmouseup=ISL_StopUp_1() class=LeftBotton onmousedown=ISL_GoUp_1() onmouseout=ISL_StopUp_1() href="javascript:void(0);" target=_self></A> <DIV class=pcont id=ISL_Cont_1> <DIV class=ScrCont> <DIV id=List1_1> <!--{foreach from=$promotion_goods item=goods name="promotion_foreach"}--> <div class="roll_goodsbox"> <div class="roll_imgbox"> <a href="{$goods.url}"><img src="{$goods.thumb}" alt="{$goods.name|escape:html}" /></a> </div> <a href="{$goods.url}" title="{$goods.name|escape:html}">{$goods.short_style_name}</a><br /> <font class="goodspice market">{$goods.market_price}</font> <!-- {if $goods.promote_price neq ""} --> <b class="f1">{$goods.promote_price}</b><br /> <!-- {else}--> <b class="f1">{$goods.shop_price}</b><br /> <!--{/if}--> </div> <!--{/foreach}--> </DIV> <DIV id=List2_1> </DIV> </DIV> </DIV> <A onmouseup=ISL_StopDown_1() class=RightBotton onmousedown=ISL_GoDown_1() onmouseout=ISL_StopDown_1() href="javascript:void(0);" target=_self></A> </DIV> <SCRIPT type=text/javascript> <!-- picrun_ini() //--> </SCRIPT> <!-- picrotate_left end --> </div> </div> <scripttype="text/javascript"> var itemLi = $("scrollCont").getElementsByTagName("li").length; if(itemLi>4){ $("more").style.display= "none"; var scrollPic = new ScrollPic(); scrollPic.scrollContId= "scrollCont"; scrollPic.arrLeftId= "scrollArrLeft"; scrollPic.arrRightId= "scrollArrRight"; scrollPic.dotListId= "scrollDotList"; scrollPic.dotClassName= "dotItem"; scrollPic.dotOnClassName= "dotItemOn"; scrollPic.frameWidth= 428; scrollPic.pageWidth= 428; scrollPic.speed = 10; scrollPic.space = 10; scrollPic.autoPlay = false; scrollPic.autoPlayTime= 5; scrollPic.initialize(); }else{ $("more").style.display= "block"; $("scrollArrLeft").style.display= "none"; $("scrollArrRight").style.display= "none"; } </script> <!--{/if} promotion end--> </div> </div> 查看了一下代码,好像要让滚动速度慢下来,需要调整这两个: scrollPic.speed = 10; scrollPic.space = 10; 我现在都把上面一个调成 36000 了,即 scrollPic.speed = 36000,请问速度为什么还是没有慢下来呢?参照网站 www.xinyijiamall.com ,求高人或者管理员指点. |
回答:
顶起来,坐等大神! |
顶起来,坐等大神! |
顶起来,坐等大神! |
顶起来,坐等大神! |
js缓存了吧 ECSHOP学习资料:http://www.phpally.com |
刷新下看看 |
我也来给你顶顶吧 |
清除缓存了,效果不变啊 |
F5 按烂了 |
顶起来,坐等大神! |
调节js啊 在这里没法调吧 |
额 我再仔细看看 |
我来回复是为赚积分的 |
最近更新
常用插件
- ecshop没登陆情况下订单查
ecshop没登陆情况下订单查询插件,主要是针对ecshop在没有登陆的情况下...
- ecshop注册审核插件
ecshop插件介绍:ecshop会员注册审核插件,主要是在前台提供给注册的时候...
- ecshop的oss插件
ecshop的oss插件免费共享了,oss,ecshoposs...
- ecshop订单聚合插件
ecshop订单聚合插件,主要是为了方便ecshop中订单产品到货情况的分析和...
- ecshop虚拟发货插件
ecshop虚拟发货插件介绍: ecshop虚拟发货插件,主要为了通过后台手动录...
ecshop热门问答
ecshop热门资料
ecshop降价
ecshopGBK与UTF-8
ecshop详细资料
ecshop兼职
ecshop日文
ecshop商品图片
ecshop水平线
ecshopu4idc
ecshop在线QQ咨询
ecshopnote
ajax调用
ecshop三星空调
ecshop激活码
文章问题
ecshop俱乐部
ecshop报导
ecshop初中生
ecshop申请表
ecshop什么样
ecshop静态
ecshop对象
ecshopjpg
ecshop宽度调节
ecshop问号
ecshop无损
ecshop营销
ecshop2.7.1
ecshop学生宿舍
ecshop期待
ecshopIntel