HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 6th, 2000, 08:18 PM
ursus ursus is offline
unemployed dev junkie :(
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Posts: 32 ursus User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
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 ..

Reply With Quote
  #2  
Old August 7th, 2000, 12:02 AM
BillyPeterson BillyPeterson is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Posts: 14 BillyPeterson User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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>

Reply With Quote
  #3  
Old August 7th, 2000, 01:32 PM
ursus ursus is offline
unemployed dev junkie :(
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Posts: 32 ursus User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
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.


<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by BillyPeterson:
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>
[/quote]


Reply With Quote
  #4  
Old August 9th, 2000, 03:45 AM
BillyPeterson BillyPeterson is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Posts: 14 BillyPeterson User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > Changing Text Color on Event


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway