Hi,
I'm completely new to any kind of html/web design-ness, so forgive me if this has been asked a million times, or is in the wrong place... i really haven't got a clue what i'm doing.
I was wondering if it's possible to change the text on a link when the mouse hovers over it? I swear i've seen it before, but... as i said: clueless. I've been searching the web for three hours and have come up empty. Any help would be so appreciated.
Thanks,
CatTry this:
<a href=http://www.webdeveloper.com/forum/archive/index.php/"page.html" onmouseover="this.innerHTML ='Hover Text'" onmouseout="this.innerHTML = 'Normal Text'">Normal Text</a>
AdamAdam,
Code worked beautifully; thank you so much!
Cat"Element.innerHTML" is a Microsoft corruption of JavaScript. For the standard version of that use:
<a href=http://www.webdeveloper.com/forum/archive/index.php/"#" onmouseover="this.firstChild.data ='Over'" onmouseout="this.firstChild.data = 'Out'">Out</a>
I'm completely new to any kind of html/web design-ness, so forgive me if this has been asked a million times, or is in the wrong place... i really haven't got a clue what i'm doing.
I was wondering if it's possible to change the text on a link when the mouse hovers over it? I swear i've seen it before, but... as i said: clueless. I've been searching the web for three hours and have come up empty. Any help would be so appreciated.
Thanks,
CatTry this:
<a href=http://www.webdeveloper.com/forum/archive/index.php/"page.html" onmouseover="this.innerHTML ='Hover Text'" onmouseout="this.innerHTML = 'Normal Text'">Normal Text</a>
AdamAdam,
Code worked beautifully; thank you so much!
Cat"Element.innerHTML" is a Microsoft corruption of JavaScript. For the standard version of that use:
<a href=http://www.webdeveloper.com/forum/archive/index.php/"#" onmouseover="this.firstChild.data ='Over'" onmouseout="this.firstChild.data = 'Out'">Out</a>