现有名为image1图片,如何通
<style>。divstyle{width="0";height:"0"}</style><script><!--functionshowimg(form){adres= age_ lue;index= dexOf("。 gif");index=index+ dexOf("。jpg");index=index+ dexOf("。bmp");if( age_ lue==""){alert("错误,未发现任何图片!");}else{if(index==-3){alert("错误的图片格式"); lue=0; lue=0;}else{varimg_o...全部
<style>。divstyle{width="0";height:"0"}</style><script><!--functionshowimg(form){adres= age_ lue;index= dexOf("。
gif");index=index+ dexOf("。jpg");index=index+ dexOf("。bmp");if( age_ lue==""){alert("错误,未发现任何图片!");}else{if(index==-3){alert("错误的图片格式"); lue=0; lue=0;}else{varimg_obj=newImage();img_obj= age_ lue; c=img_obj; c=img_obj; anging。
width=docum anging2。width; anging。height= anging2。height;set();}}}fast=0;change=0;functionupw(){ lue=parseInt( lue)+2;//可以修改+2的数值,以提高速度resize();}functionover_upw(){upw();change=1;changetime=setTimeout("fast_upw()","600");}functionfast_upw(){clearTimeout(changetime);upw();fast=setTimeout("fast_upw()","100");}functionclt(){if(change==1){clearTimeout(changetime);}clearTimeout(fast);change=0;}functionresize(){ anging。
height=document。 lue; anging。width= lue;}functiondownw(){ lue=parseInt( lue)-2;//可以修改-2的数值,以提高速度resize();}functionover_downw(){downw();change=1;changetime=setTimeout("fast_downw()","600");}functionfast_downw(){clearTimeout(changetime);downw();fast=setTimeout("fast_downw()","100");}functionuph(){ lue=parseInt( lue)+2;//可以修改+2的数值,以提高速度resize();}functionover_downh(){downh();change=1;changetime=setTimeout("fast_downh()","600");}functionfast_downh(){clearTimeout(changetime);downh();fast=setTimeout("fast_downh()","100");}functionover_uph(){uph();change=1;changetime=setTimeout("fast_uph()","600");}functionfast_uph(){clearTimeout(changetime);uph();fast=setTimeout("fast_uph()","100");}functiondownh(){ lue=parseInt( lue)-2;//可以修改-2的数值,以提高速度resize();}functionset(){ lue= anging。
width; age。hei lue= anging。
height;}--></script><body><center><formname="image"><inputtype="file"name="image_file"size="20"><inputtype="button"name="show"value="Showimage"onclick="showimg( rm)"><br><br>宽:<inputtype="text"name="width"size="4"readonlyvalue="300"><inputtype="button"value="升"name="B1"onmousedown="over_upw()"onmouseup="clt()"><inputtype="button"value="降"name="B4"onmousedown="over_downw()"onmouseup="clt()"><p>高:<inputtype="text"name="height"size="4"readonlyvalue="401"><inputtype="button"value="升"name="B2"onmousedown="over_uph()"onmouseup="clt()"><inputtype="button"value="降"name="B3"onmousedown="over_downh()"onmouseup="clt()"></p><tableborder="1"cellspacing="0"cellpadding="6"style="border- "bordercolor="#111111"><tr><td><imgsrc=" g"name="changing"width="300"height="401"></td></tr></table></form><divSTYLE="px;"class="divstyle"><P><imgsrc=" g"name="changing2"width="300"height="401"></p></div></center>。收起