//flex table opened by JP

Click to See Complete Forum and Search --> : Changing Text color


qball
07-10-2000, 02:16 PM
This is pretty silly, as I have done this before, but does anyone have a code snippet of DHTML that simply changes the color of text.

Very simply, I had a demo with three colored circles (red, green, blue) and text (real text not an image of text) at the bottom. When the user moved their mouse over any of the dots, the text changed to whatever dot they are over. It reverts back on the mouse out event.

I can't find this html anywhere, but it was pretty easy.

howste
07-10-2000, 03:57 PM
Here's something similar I found today while searching for stuff for my other post (http://sysopt.earthweb.com/forum/Forum1/HTML/007427.html). Just paste this into the header and any link text on the page will change color when you mouse over it:
<STYLE TYPE="text/css">
<!--
A:link {color: #0000FF;}
A:active {color: #00FF00;}
A:visited {color: #0000FF;}
A:hover {color: #00FF00;}
-->
</STYLE>

Steve

[This message has been edited by howste (edited 07-10-2000).]