for(
var i=1;i<77;i++
)
{
(function (oNewImg){
var oImg=
new Image();
oImg.onload=
function ()
{
oNewImg.src=
this.src;
};
oImg.src='img/miaov ('+i+').jpg'
;
oNewImg.style.display='none'
;
document.body.appendChild(oNewImg);
})(document.createElement('img'
));
}
转载于:https://www.cnblogs.com/ggbd-lie/archive/2012/12/13/2816599.html
转载请注明原文地址: https://win8.8miu.com/read-1499999.html