<img src="*.jpg" style="cursor:hand;" onclick="window.open(this.src,'','')" />

解决方案 »

  1.   

    clarass(挂狗头卖羊肉):
    你的不行,不能打开,因为选择的是动态的,this.src取不出。办我想办法呀
      

  2.   

    <a href="="*.jpg" target="_blank">
    <img src="*.jpg" style="cursor:hand;" border="0"/>
    </a>
      

  3.   

    to:xinyunyishui(心云意水) (
    请看:<INPUT type="file" size="28" NAME="File" onpropertychange="document.all.imgID.src='file:///'+this.value">
    现在想在<img id="imgID"> 上点一下来打开此文件
      

  4.   

    <INPUT type="file" size="28" NAME="File" onpropertychange="document.all.imgID.src='file:///'+this.value">
    <img id="imgID" onclick="window.open(this.src)">以上代码没有问题,window2003+IE6.0.3790.0下通过