Newbie here. Trying to get the imageurl of a link to change on mouseover.
I'm using the following code :
-----------------------------------------------
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArg s)
Handles Me.Load
Me.lnk_introduc tion.Attributes .Add("onmouseov er",
"lnk_introducti on.imageurl =
'~/Images/Buttons/button_introduc tion_over.gif'; ")
End Sub
-------------------------------------------------
This isn't working. The image does not change. What am I doing wrong?
I'm using the following code :
-----------------------------------------------
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArg s)
Handles Me.Load
Me.lnk_introduc tion.Attributes .Add("onmouseov er",
"lnk_introducti on.imageurl =
'~/Images/Buttons/button_introduc tion_over.gif'; ")
End Sub
-------------------------------------------------
This isn't working. The image does not change. What am I doing wrong?
Comment