在别人的网站里复制的自动播放图片的代码,为什么放到自己的网站里不自动播放呢?
<scripttype="text/javascript"src="../Web/Tpl/new/Public/js/koala.min.1.5.js"<divid="B...
<script type="text/javascript" src="../Web/Tpl/new/Public/js/koala.min.1.5.js" <div id="Box">
<div id="fsD1" class="focus">
<div id="D1pic1" class="fPic">
</div><div class="fcon" style="display: none;">
<img src="../Public/Uploads/20150405092347.jpg" style="opacity: 1; " />
<span class="shadow"></span>
</div><div class="fcon" style="display: none;">
<img src="../Public/Uploads/20150405092405.jpg" style="opacity: 1; " />
<span class="shadow"></span>
</div>
</div>
<div class="fbg">
<div class="D1fBt" id="D1fBt">
<a href="javascript:void(0)" hidefocus="true" target="_self" class=""><i></i></a><a href="javascript:void(0)" hidefocus="true" target="_self" class=""><i></i></a><a href="javascript:void(0)" hidefocus="true" target="_self" class=""><i></i></a><a href="javascript:void(0)" hidefocus="true" target="_self" class=""><i></i></a><a href="javascript:void(0)" hidefocus="true" target="_self" class=""><i></i></a><a href="javascript:void(0)" hidefocus="true" target="_self" class=""><i></i></a><a href="javascript:void(0)" hidefocus="true" target="_self" class=""><i></i></a> </div>
</div>
<span class="prev"></span>
<span class="next"></span>
</div>
<script type="text/javascript">
Qfast.add('widgets', { path: "../Web/Tpl/new/Public/js/terminator2.2.min.js"/*tpa=http://www.sz4a.cn/Web/Tpl/new/Public/js/terminator2.2.min.js*/, type: "js", requires: ['fx'] });
Qfast(false, 'widgets', function () {
K.tabs({
id: 'fsD1', //焦点图包裹id
conId: "D1pic1", //** 大图域包裹id
tabId:"D1fBt",
tabTn:"a",
conCn: '.fcon', //** 大图域配置class
auto: 1, //自动播放 1或0
effect: 'fade', //效果配置
eType: 'click', //** 鼠标事件
pageBt:true,//是否有按钮切换页码
bns: ['.prev', '.next'],//** 前后按钮配置class
interval: 3000 //** 停顿时间
})
})
</script> 展开
<div id="fsD1" class="focus">
<div id="D1pic1" class="fPic">
</div><div class="fcon" style="display: none;">
<img src="../Public/Uploads/20150405092347.jpg" style="opacity: 1; " />
<span class="shadow"></span>
</div><div class="fcon" style="display: none;">
<img src="../Public/Uploads/20150405092405.jpg" style="opacity: 1; " />
<span class="shadow"></span>
</div>
</div>
<div class="fbg">
<div class="D1fBt" id="D1fBt">
<a href="javascript:void(0)" hidefocus="true" target="_self" class=""><i></i></a><a href="javascript:void(0)" hidefocus="true" target="_self" class=""><i></i></a><a href="javascript:void(0)" hidefocus="true" target="_self" class=""><i></i></a><a href="javascript:void(0)" hidefocus="true" target="_self" class=""><i></i></a><a href="javascript:void(0)" hidefocus="true" target="_self" class=""><i></i></a><a href="javascript:void(0)" hidefocus="true" target="_self" class=""><i></i></a><a href="javascript:void(0)" hidefocus="true" target="_self" class=""><i></i></a> </div>
</div>
<span class="prev"></span>
<span class="next"></span>
</div>
<script type="text/javascript">
Qfast.add('widgets', { path: "../Web/Tpl/new/Public/js/terminator2.2.min.js"/*tpa=http://www.sz4a.cn/Web/Tpl/new/Public/js/terminator2.2.min.js*/, type: "js", requires: ['fx'] });
Qfast(false, 'widgets', function () {
K.tabs({
id: 'fsD1', //焦点图包裹id
conId: "D1pic1", //** 大图域包裹id
tabId:"D1fBt",
tabTn:"a",
conCn: '.fcon', //** 大图域配置class
auto: 1, //自动播放 1或0
effect: 'fade', //效果配置
eType: 'click', //** 鼠标事件
pageBt:true,//是否有按钮切换页码
bns: ['.prev', '.next'],//** 前后按钮配置class
interval: 3000 //** 停顿时间
})
})
</script> 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询