PC Review


Reply
Thread Tools Rate Thread

Changing image when mouseover on a text in VB.NET

 
 
Panic Student
Guest
Posts: n/a
 
      13th May 2004
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'")


Regards,
Panic Student
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Image popup when mouseover text John Microsoft Excel Misc 5 24th Dec 2007 01:17 AM
Mouseover Image A to Change Image B! =?Utf-8?B?V29vZGxleQ==?= Microsoft Frontpage 3 18th May 2006 11:49 AM
image mouseover Progman Microsoft ASP .NET 2 6th Mar 2006 05:13 AM
VS 2005 Beta 2: Changing an ImageButton image on MouseOver when using Skin IDs Chris Microsoft ASP .NET 0 3rd Aug 2005 04:15 PM
Image with mouseover text Matt Jensen Microsoft Excel Programming 4 4th Jan 2005 04:19 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:54 PM.