Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fading Cells

Status
Not open for further replies.

rushworld

Programmer
Aug 13, 2002
6
0
0
AU
Does anyone know of a script where I can fade the background of a cell (<td>)? I have tried many normal Link faders, but they only work for <A> tags.
Any help will be greatly appreicated. Thanks.
 
<td style=&quot;background-color:grey;&quot;>This is the td's text.</td>

If you want it to change dynamically, like on a link click, do this:
<td id=&quot;td1&quot;>This is the td's text.</td>
<a href=&quot;javascript:td1.style.background='grey';&quot;>Fade it!</a>

Rick if(($question==&quot;has been bugging me&quot;
AND $answer==&quot;fixed the problem&quot;) OR $answer==&quot;really good post&quot;){
print(&quot;Star&quot;);
}else{
print(&quot;Thanks.&quot;);
}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top