如果你是gif动画,在.net显示的时候应该还是动画,这个我试过了.
要想让你的图片具有事件,很简单,你只需要添加imagebutton就可以了,而不是image,这样这个imagebutton就具有普通button的所有事件.

解决方案 »

  1.   

    我的"登陆"是两个图片,一个图片是正常情况下的,另一个是鼠标划过时显示的,如果要用imagebutton的话,把它的imageurl设成其中的一张图片,那另一张图片怎莫办呀,怎样才能让鼠标划过时,图片还能改变呢?
      

  2.   

    用ImageButton,在Page_Load里加上这么两句
    ImageButton1.Attributes.Add("onmouseover","this.src='1.gif';");
    ImageButton1.Attributes.Add("onmouseout","this.src='2.gif';");
      

  3.   


    ImageButton1.Attributes.Add("onmouseover","this.src='1.gif';");
    ImageButton1.Attributes.Add("onmouseout","this.src='2.gif';");
    应该可以