Change the MouseOver for a LinkButton

C

Craig G

is it possible to set the mouse over for it?

i tried to do an attributes add but this wouldnt work
hypPainSite.Attributes.Add("Onmouseover", "window.status='Pain Site';")
 
K

Karl Seguin

Craig:
I typically like giving an explanation along with the answer, but I don't
have one:
hypPainSite.Attributes.Add("onmouseover", "window.status='Pain Site';return
true;")

note the return true


also note that in firefox window.status is turned off by default and must be
turned on by the user in his/her browser...nothing you can really do about
that..

Karl
 
C

Craig G

hmmm i might need an explanation!! still not working with your changes

im using IE6 so window.status is fine

Cheers,
Craig
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top