Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q789 How can I fade text, like some pages fade the background, so that it initially matches the background color and gradually fades into visiblity?

You are here: irt.org | FAQ | DHTML | Q789 [ previous next ]

Only in Microsoft Internet Explorer is this possible. You could adapt the background fade script in Keith Drakard's article Fancy Background Fader, by altering the line:

document.bgColor= getHex(red,green,blue);

to:

document.fgColor= getHex(red,green,blue);

In Netscape Navigator, the fgColor is writeable, but it does not effect the existing foreground color.

Feedback on 'Q789 How can I fade text, like some pages fade the background, so that it initially matches the background color and gradually fades into visiblity?'

©2018 Martin Webb