| ★ wanayoo — archive 1999 http://www.devshed.com/Talk/Forums/Forum3/HTML/000513.html | Nouvelle recherche | Portail wanayoo |
|
|
DevShed Discussion Forums
![]() JavaScript
![]() Changing Text Color on Event
|
| next newest topic | next oldest topic |
| Author | Topic: Changing Text Color on Event |
|
ursus Junior Member |
Is there a way to change the color of text on event? I tried doing it with document.write() and refreshing the page but it looks ugly when the page flashes to be refreshed .. :confused: |
|
BillyPeterson Junior Member |
Yep, but only in IE 4+. Just access the style.color property of the element. Ie: <b onMouseover="this.style.color='red'">Move your mouse over</b> |
|
ursus Junior Member |
Unfortunately, it has to work on all browsers. In fact I was aware of the style.color property in IE. I guess if I could refresh the page without making it flash I'd have it resolved.
quote: |
|
BillyPeterson Junior Member |
Hmmm, I guess you could try and use layers in NS to accomplish the color change effect. The following tutorial online might help: http://www.wsabstract.com/javatutors/crossmenu.shtml |
All times are MST (US) | next newest topic | next oldest topic |
![]() |
|
Copyright © 1997-2000 ngenuity. All rights reserved.
Powered by: Ultimate Bulletin Board, Version 5.41a
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 1999.