dedecms 页面上的轮播图片增加,不知到在哪儿改
//这是页面代码<divclass="banner"></div><scripttype="text/javascript">varatmdateA=[{"is_url"...
//这是页面代码
<div class="banner"></div>
<script type="text/javascript">
var atmdateA = [{"is_url":"0","url_controller":"","url_action":"","url_para":"","pic_path":"images\/banner.jpg","title":"banner1","href":"","url":"\/skin\/images\/banner1.jpg"},{"is_url":"0","url_controller":"Product","url_action":"index","url_para":"id=3&cd=4&md=5","pic_path":"images\/banner.jpg","title":"banner","href":"","url":"\/skin\/images\/banner.jpg"}];
$(document).ready(function(){
var bannerShow = new Atm();
bannerShow.slide(atmdateA,".banner","1920","450");
});
</script> 展开
<div class="banner"></div>
<script type="text/javascript">
var atmdateA = [{"is_url":"0","url_controller":"","url_action":"","url_para":"","pic_path":"images\/banner.jpg","title":"banner1","href":"","url":"\/skin\/images\/banner1.jpg"},{"is_url":"0","url_controller":"Product","url_action":"index","url_para":"id=3&cd=4&md=5","pic_path":"images\/banner.jpg","title":"banner","href":"","url":"\/skin\/images\/banner.jpg"}];
$(document).ready(function(){
var bannerShow = new Atm();
bannerShow.slide(atmdateA,".banner","1920","450");
});
</script> 展开
1个回答
展开全部
var atmdateA = [{"is_url":"0","url_controller":"","url_action":"","url_para":"","pic_path":"images\/banner.jpg","title":"banner1","href":"","url":"\/skin\/images\/banner1.jpg"},{"is_url":"0","url_controller":"Product","url_action":"index","url_para":"id=3&cd=4&md=5","pic_path":"images\/banner.jpg","title":"banner","href":"","url":"\/skin\/images\/banner.jpg"}];
$(document).ready(function(){
var bannerShow = new Atm();
bannerShow.slide(atmdateA,".banner","1920","450");
});
复制这个,改变大小路径就好了
更多追问追答
追问
能详细说明一下吗?谢谢
追答
就是那段代码
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询