Template:New

 网页特效观止|www.jscode.cn| --- 鼠标放到图片上慢慢变大，移开后图片又慢慢变小

 var i=0 //变大 function max{ MImg=MainImg.style.pixelWidth+=i++ MainImg.style.pixelHeight=MImg*aaa if(i<20)setTimeout('max',100) }

//变小 function min{ MImg=MainImg.style.pixelWidth-=i-- MainImg.style.pixelHeight=MImg*aaa if(i>0)setTimeout('min',100) }

function init{ aaa=MainImg.height/MainImg.width MainImg.style.pixelWidth=85 MainImg.style.pixelHeight=55 }

onload=init

Template:new