zhangjingyu
8号文件js/upload.js
“jumpphoto : function(toaid) {
var maindiv= elementBind('div','','','width:300px;height:100%');
var title = elementBind('div','','popTop');
title.innerHTML = '上传成功!';
maindiv.appendChild(title);
var innerdiv = addChild(maindiv,'div','','p15');
var ul = addChild(innerdiv,'ul','');
var li = addChild(ul,'li');
li.innerHTML = '照片上传成功,是否继续上传?注:附件超过大小或超过相册数将上传不成功!';
var footer= addChild(maindiv,'div','','popBottom','');
var tar= addChild(footer,'div','','');
var ok= elementBind('span','','btn2','');
ok.innerHTML = '继续';
ok.onclick= function () {
window.location.href = photoflashAtt.baseurl + 'a=upload&job=flash&aid=' + toaid;
}
var toview= elementBind('span','','bt2','');
toview.innerHTML = '浏览';
toview.onclick= function () {
window.location.href = photoflashAtt.baseurl + 'a=album&aid=' + toaid;
}
tar.appendChild(ok);
tar.appendChild(toview);
return maindiv;
},”(引用内容)这是和跳转有关的js文件。细看之下,似乎和批量上传有关。经本地测试,是批量上传成功后的跳转页面。该文件不用修改。