Page 1 of 1

Overwriting text on screen

Posted: Tue Oct 25, 2005 3:41 am
by Longlands
Is there a way to print (or echo) to the screen in such a way as to overwrite text that has previously been echo'd?

For example, I am trying to sequentially highlight each word in a sentence.

I hope I've explained that sufficiently! :)

Thanks.

Martin

Posted: Tue Oct 25, 2005 3:47 am
by Jenk
Not with PHP. :)

Posted: Tue Oct 25, 2005 4:02 am
by Longlands
That was what I feared.

What would you suggest would be the best way to achieve it?

Martin

Posted: Tue Oct 25, 2005 4:04 am
by Jenk
JavaScript :)