Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

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?

irt.org | Knowledge Base | DHTML | Q789 [ previous next ]

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?

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?'


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.