View Full Version : In Ur Face expanding Text animation

10-20-2012, 07:21 AM
1) Script Title: In Ur Face

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex10/expandtext.htm

3) Describe problem: I want the effect to repeat and display a different line of text each time.
I have tried to write a for loop and a couple of other things including creating a new var message which with my as yet limited knowledge of JavaScript only created errors.
I also have a thought there might be a solution using something in the DOM reference but don't know enough about that yet either.
Is there something as simple as 'repeat but this time display this text.'
Thanks in advance.

10-21-2012, 04:40 AM
I want the effect to repeat and display a different line of text each time.
Each time you refresh the page or one after another for a set amount of times?
Also, just curious, what browser are you using to test?

10-21-2012, 06:53 AM
Hi Fricken Trevor.
Thanks for responding to my post.
I would like to do it one after the other.
I am testing on Chrome, IE and Firefox. The script as it is works on all and I am using HTMLKit as my text editor so I am certain it is down to my ignorance. All the JavaScript I have been learning deals with websites or commercial/business needs. Nothing seems to cover this. I even checked out the similar threads listed below but none seem applicable.
Many thanks.

10-21-2012, 07:01 AM
Hi FrickenTrevor,
I did just reply but it doesn't appear, then just thought maybe these go through the moderator too? Will find out shortly.