RT

解决方案 »

  1.   

    <img onmouseover='this.style.border = "solid 1px black"' onclick='this.style.color = "你想要的颜色"' onmouseout='e.style.border = "原始样式"' src="url" />
      

  2.   

    各位,是imagebutton,不是img,imagebutton里没有onmouseover,我刚入门,请多指教。
      

  3.   

    imagebutton 是后台控件吧。那样的话需要在后台追加js事件。
    PageLoad事件里边写imagebutton.attrbute.add("onclick","xx()"); //前面是事件名,后面是 自己写的js方法