<SCRIPT LANGUAGE="JScript">
<!--
{
document.body.onmouseover=makeCool;
document.body.onmouseout=makeNormal;
}
function makeCool() {
src = event.toElement;
if (src.tagName == "A")
{
src.oldcol = src.style.color;
src.style.color = "White";
}
}
function makeNormal() {
src=event.fromElement;
if (src.tagName == "A")
{
src.style.color = src.oldcol;
}
}
//-->
</SCRIPT>
Now every time you use <a href, you will get a mouseOver text effect.
WmWallace! wrote:
Does anyone know how to add code that changes the color of a hyperlink's font when someone mouses over the hyperlink? Any help would be appreciated. My email address is: calv...@hotmail.com
--
Greg Fyans, Phaser2FunkFunk
Phunky's Place:
http://freespace.virgin.net/s.fyans/index.htm