function _render(){ var todoArray = new Array(0); var len = todoArray.length; for(var i=0;i<this.sysChkArray.length;i++){ if(this.sysChkArray[i]==1){ for(var j=0;j<this.sysArray[i].length;j++){ todoArray[len]=this.sysArray[i][j]; len++; } } } todoArray.sort(function(x, y){ return parseInt(y[5]) - parseInt(x[5]) }); var htmlStr = ""; var n = 10; if (todoArray.length < this.listcount) { n = todoArray.length; } for (var m = 0; m < n; m++) { htmlStr = htmlStr + "<tr><td width='85%' nowrap='nowrap'><a onclick='exec(\"" + todoArray[m][3] + "\")' style='cursor:hand' title='" + todoArray[m][4] + "'>" + todoArray[m][1] + "</a></td><td width='15%' nowrap='nowrap' style='align:right;'>" + todoArray[m][2] + "</td></tr>";
<!--在这里添加,点击链接弹出来的窗口一直在当前显示--> } todolist.innerHTML = "<table width='100%' style='font-size:10pt;'>" + htmlStr + "</table>"; window.clearInterval(this.timer); }
<!--在这里添加,点击链接弹出来的窗口一直在当前显示--> } todolist.innerHTML = "<table width='100%' style='font-size:10pt;'>" + htmlStr + "</table>"; window.clearInterval(this.timer); }
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货