var imgs=new Image();
var step=0
function moveleft(x){
if(document.all){
for(i=0;i<imgs.length;i++){
if(x>i){
x+=step;
}
if(x<=imgs.length){
x-=step;
}
step++;
}
setTimeout(moveleft(),100)
}
}
function maskdiv(obj){
var widthdiv=document.div1.width
if (navigator.appName=="Netscape") window_width = window.innerWidth;
else window_width = document.body.offsetWidth;
document.getElementById("div").style.display="";
obj=document.getElementById("img");
widthimg=obj.with
widthoffset1=widow.width-widthimg
widthoffset2=widow.width-(widthimg+widthdiv)
if(widthoffset1||widthoffset2){obj.style.visibility=hidden}
if(widthimg<=widthdiv ){
obj.style.visibility=visible;
}
else{
obj.style.visibility=hidden;
}
}
</script>
<div id=div1 width=200 height=100>
<img id=img2 src="图片.gif" width=100 height=100 style="position:absolute; top:80px;left:50px" border=0 >
</div>
各位大虾,帮我看看,怎么没有显示的?