跟你上面的那种实现方面一样吧.
function refreshImg(){
documnet.iframeid.src="img.html";
setTimeout("refreshImg()",1000);}
function refreshImg(){
documnet.iframeid.src="img.html";
setTimeout("refreshImg()",1000);}
documnet.all.iframeid.src="img.html";
frames.message.document.body.innerHTML = "img.html";
setTimeout("refreshImg()",1000);}
document.iframeid.src="img.html";
在IFRAME里面显示不出来img.html