Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    Jul 2005
    Posts
    352
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Exclamation On hover on text link

    On my website i have a hyperlink and on that hyperlink when the mouse is hovered over it i want it to change text and then when the mouse is off the hyplerlink i want te text to return normally. If possible I would like it to work in IE, Mozilla, Opera and Netscape.

  • #2
    Senior Coder
    Join Date
    Feb 2003
    Posts
    1,665
    Thanks
    0
    Thanked 27 Times in 25 Posts
    Code:
    <a href="blah.html" onmouseover="this.innerHTML='My other text';" onmouseout="this.innerHTML='My default text';">My default text</a>

  • #3
    Senior Coder JamieR's Avatar
    Join Date
    Oct 2004
    Location
    United Kingdom
    Posts
    3,161
    Thanks
    0
    Thanked 5 Times in 5 Posts
    Edit: Bill got there before me...


    (although I didn't post any code )

  • #4
    Regular Coder
    Join Date
    Jul 2005
    Posts
    352
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Thumbs up

    Thankyou all for your help and replys


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •