使用ImageButton怎样实现鼠标移上去和移开更换图片的效果
使用ImageButton怎样实现鼠标移上去和移开更换图片的效果 解决方法: 在Page_Load事件中添加: ImageButton1.Attributes.Add("onmouseover","this.src=02.jpg");//鼠标移上去更换新的图片 ImageButton1.Attributes.Add("onmouseout","this.src=01.jpg")
原创
2009-09-10 14:50:00 ·
966 阅读 ·
1 评论