I have a few labels that I would like to add these attributes to... They are being placed in an AJAX accordion so I want them to appear as links when someone mousesover them.
I am thinking there is a better way to do this in CSS but not sure how.
Code:lblRep1.Attributes.Add("onmouseover", "document.getElementById('" & lblRep1.ClientID & "').style.color = 'red';document.body.style.cursor='pointer'") lblRep1.Attributes.Add("onmouseout", "document.getElementById('" & lblRep1.ClientID & "').style.color = 'black';document.body.style.cursor='default'")


Reply With Quote
