Re: Text fading with PHP?

From: Date: Sun, 25 Mar 2001 06:44:37 +0000
Subject: Re: Text fading with PHP?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-45471@lists.php.net to get a copy of this message
Here's what you wrote, 01.03.24:
Hi Is it possible to do text fading with PHP. For instance, I want to one line of text fade in, have another line fade in later, and a third line after that. Then all three lines will fade out at the same time and start over with three different lines. Is this possible with php? Thanks Jamie
No, due to some browsers waiting for all a complete document object before outputting text. Even with browsers that will parse and display a partial feed, you really can't achieve a smooth effect due to network latency. The best thing to do is to work with JavaScript and CSS. Look into the setTimeout() function in JavaScript and use it to step through different color values for your text using CSS. Or, just use an animated gif. K -- ______________________________________ Kristofer Widholm Web Pharmacy webpharmacy@brokenhill.net 191 Grand Street, Brooklyn NY 11211 718.599.4893 ______________________________________

« previous php.general (#45471) next »