EasyUI多图片展示仿轮播功能

来源:互联网 发布:自适应八叉树分解算法 编辑:程序博客网 时间:2024/06/10 02:10
function showImg(_filePath){var times = 0;var arrs = _filePath.substring(_filePath.indexOf(",")+1).split(",");$('#yuwendiv').dialog({title : '档案行政执法“双随机抽查”抽取记录库',collapsible : false,maximizable : false,resizable : false,closed : true,fit : true,modal : true,buttons : [ {text : "关闭",handler : function() {$('#yuwendiv').dialog('close');}},{text : "下一张",handler : function() {times ++;if(times == arrs.length){times = 0;}$("#yuweniframe1").attr("src",_path + "noticeAction/showContent?uploadpath="+ arrs[times]);}}]});$("#yuweniframe1").attr("src",_path + "noticeAction/showContent?uploadpath="+ arrs[0]);$('#yuwendiv').dialog("open");}

原创粉丝点击