470,587 Members | 1,551 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,587 developers. It's quick & easy.

Changing image when mouseover on a text in VB.NET

hi all,
i'm having trouble with changing image when mouseover on a particular label.
Below is what i attempted to but it didn't seem to work at all.
I guess my concept is wrong ):
Please enlighten me....
thanks a million~

Dim imgImage As WebControls.Image
Dim lblLabel As Label

imgImage.ID = "Image"

lblLabel.Attributes.Add("onmouseover", "Image src='images/hover_icon.gif'")
lblLabel.Attributes.Add("onmouseout", "Image src='images/icon.gif'")
Panic Student
Nov 20 '05 #1
0 1314

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Kenny | last post: by
5 posts views Thread by Jim Buzbee | last post: by
3 posts views Thread by Geoff Soper | last post: by
31 posts views Thread by Greg Scharlemann | last post: by
2 posts views Thread by Amy | last post: by
1 post views Thread by JB | last post: by
1 post views Thread by =?Utf-8?B?Um9iZXJ0IFNtaXRo?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.